我在MediaTemple(dv)服务器上运行带有mpm_prefork的Apache2.最近我的服务器配置没有发生重大变化. httpd.conf当前设置为以下内容:
MaxKeepAliveRequests 200 KeepAliveTimeout 15 <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 10 MaxClients 200 MaxRequestsPerChild 4000 </IfModule>
但是我在完全打开apache崩溃之前收到以下错误:
[Thu Jun 04 18:30:24 2009] [warn-PHPd] mmap cache can't open /var/www/vhosts/mydomain.com/httpdocs/filename.PHP - Too many open files in system (pid 19873)
当Apache崩溃时,我很生气地照看这台服务器重新启动它.救命?