• 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!
  • 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.

mmap cache can't open - Too many open files

P

PixyPumpkin

Guest
I have Plesk (psa v8.0.1 RedHat el3) server running and get the following errors () in the Apache logs (/etc/httpd/logs/error_log)

[warn-phpd] mmap cache can't open /bla/bla/*.php - Too many open files (pid xx)

This error comes back for all PHP files

My customers receive al kind of PHP errors, and after a F5 it works again, 2 sec later it doesn’t

Is this because I have 519 (x2 = > 1024) Domains on the Plesk server? so the Apache limits should be raised? How can I do this? Are the Kernels which are ready to go? Are there other solutions by building one combined log for all 519 customers in stead of 519 x 2?

Thx in advance for helping out… :)
 
Similar problem, found some good solutions using Google here:

http://www.webhostingtalk.com/showthread.php?t=703147
http://support.theplanet.com/kb/ope...e-server-my-linux-server-and-seeing-error-mes
http://www.linuxquestions.org/quest...cant-open-foo.php-too-many-open-files-631033/

Bottom line:
In console, type ulimit -n to see current open file limit.

Edit the apache startup script, /etc/init.d/httpd and add this before anything else:

#Raise the ulimit
ulimit -n 20480

But if your server is already opening so many files you might want to consider the load on it ;-)
 
Back
Top