Page 1 of 1

Increasing system limits

Posted: Tue Sep 26, 2023 3:37 pm
by myVesta
By default, a Debian system comes with some predefined system limits. Also, the services are preset to be able to open a certain number of files.
This does not cause any problems on smaller servers, but on large shared servers, you can easily hit these limits, which can result in services rejecting requests or being blocked altogether.

With this command, you can increase any limits we've noticed can cause problems:

Code: Select all

wget -nv https://dl.myvestacp.com/vesta/increase-system-limits.sh -O /root/increase-system-limits.sh
bash /root/increase-system-limits.sh

Re: Increasing system limits

Posted: Sat Nov 09, 2024 7:51 pm
by lgreen
I have an error too many open files on NGINX, and this script help me to resolve the problem but I edited for my needs.
My website using proxy_pass to another domain since I need to get some value of currency, and proxy_pass to docker for some app.

I amaze with MyVestaCP, I don't need any software to connect my docker to port 80 and 443, it's easy to configure, and easy to customize!
Just need to learn more about NGINX. Also, maybe when my project getting bigger, paid support will be great.

Re: Increasing system limits

Posted: Mon Nov 25, 2024 7:09 am
by spoidyjan
You can increase system limits easily with the script provided by myVesta. Just download and execute it to resolve issues like "too many open files" on NGINX.

Re: Increasing system limits

Posted: Wed Nov 27, 2024 3:25 pm
by lgreen
spoidyjan wrote: Mon Nov 25, 2024 7:09 am You can increase system limits easily with the script provided by myVesta. Just download and execute it to resolve issues like "too many open files" on NGINX.
I did, and I modified for my needs just like my post.

Re: Increasing system limits

Posted: Fri Nov 29, 2024 6:32 am
by spoidyjan
That's Great, Customizing it for your needs is a smart approach.