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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to