• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

NGINX does not start up -> Too Many Open Files

ehrenwert

Basic Pleskian
Hello,

at the moment NGINX is not willing to start:

The error:
Jan 09 17:39:01 lichtenberg.ehrenwert-webhosting.de nginx[5200]: nginx: [emerg] open() "/var/www/vhosts/system/example.com/logs/proxy_access_log" failed (24: Too many open files)

I tried to follow https://kb.odin.com/de/115139 to solve this but the error still appears:
ulimit -n
1000000

in NGINX.conf:

worker_rlimit_nofile 65536;

System is Debian 8 on Systemd.
 
I also mention a lot of errors in php5-fpm.log:

[09-Jan-2016 23:37:17] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:17] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:17] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:20] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:20] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:22] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:22] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:48] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:50] ERROR: failed to prepare the stderr pipe: Too many open files (24)

[09-Jan-2016 23:37:51] ERROR: failed to prepare the stderr pipe: Too many open files (24)
 
@ehrenwert,

I am pretty sure that you should remove the worker_rlimit_nofile directive.

In fact, this directive is overriding your limits configuration, for which the settings should be correct, in the sense that the value is high enough.

The Nginx override is resulting in a lower limit of open files (i.e. lower than the limit configuration allows).

Removing the Nginx override should do the trick, so it is worth the attempt.

Please change the Nginx settings and reload the Nginx reconfiguration.

Can you report back? I am rather curious whether the above solution helps.

Regards.....
 
Back
Top