Re: mmap cache can't open foo.php - Too many open files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Increase your soft limit to the hard limit value allowed to max open files.You can use the apachectl script which internally does the same or issue the following command from the command prompt ulimit -S -n `ulimit -H -n` and then start the Apache, hopefully it will resolve the issue :)
Thanks
-A

On Thu, Mar 27, 2008 at 2:38 PM, thomas Armstrong <tarmstrong@xxxxxxxxx> wrote:
Hi.

Using Apache version 2.2.3 on 'Linux CentOS', my webpages are very
slow and I get this error messages on my 'error_log' file:
-------
[Wed Mar 26 13:05:39 2008] [warn-phpd] mmap cache can't open
/var/www/classes/Threads.php - Too many open files (pid 17650)
[Wed Mar 26 13:05:42 2008] [warn-phpd] mmap cache can't open
/var/www/classes/User.php - Too many open files (pid 17650)
[Wed Mar 26 13:05:46 2008] [warn-phpd] mmap cache can't open
/var/www/lib/Functions.php - Too many open files (pid 17650)
-------

I've got PHP 5.2.5 and APC (a Cache System) 3.0.17. Does it something
to do with Apache?

Thank you very much.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux