httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnab Ganguly" <agangul...@gmail.com>
Subject Re: [users@httpd] mmap cache can't open foo.php - Too many open files
Date Fri, 28 Mar 2008 04:13:53 GMT
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@gmail.com>
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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message