Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase limits #73

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

adammakowskidev
Copy link

@adammakowskidev adammakowskidev commented Dec 17, 2024

increase of the limits to prevent the error ‘to many open files’

@vicanso
Copy link
Owner

vicanso commented Dec 26, 2024

Is it necessary to adjust it in the service configuration?

@adammakowskidev
Copy link
Author

I think yes, or it can be done per server.
In the case of nginx, when the limit is reached, it drops new connections

https://serverfault.com/questions/1003364/nginx-500-24-too-many-open-files
"Your nginx server is not keeping up with the number of requests arriving. More precisely it lacks available file descriptors to open connections to the upstream."

With Pingap it is the same when testing the server under heavy load, I have had this error before.

@vicanso
Copy link
Owner

vicanso commented Dec 28, 2024

It is not recommended to set it directly in the pingap.service provided by pingap.

@adammakowskidev
Copy link
Author

Any reason for this? I have this set up and Pingap works without problems

@vicanso
Copy link
Owner

vicanso commented Dec 28, 2024

Most people use the default configuration,LimitNOFILE=1048576 is too large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants