Re: too many open files - apache- ulimit - init script
Stefan Bauer schrieb:
> Alle unnötigen Module deaktivieren. Mpm-prefork oder mpm_worker
> passend tunen. Als Beispiel in der apache2.conf
>
> MaxSpareServers
> StartServers
>
Ich habe den worker im Einsatz bei 600 vhosts auf einer nagelneuen Kiste
und folgende Einstellungen:
KeepAlive On
KeepAliveTimeout 3
MaxKeepAliveRequests 100
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 500
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 125
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 500
</IfModule>
Hilft eigentlich auch ein
ulimit -n 2048
Als Module sind enabled:
actions alias auth_basic authn_file authz_default authz_groupfile
authz_host authz_user autoindex cgi cgid deflate dir env fcgid headers
include mime mod-security negotiation perl python rewrite setenvif ssl
status suexec suphp unique_id
Ich wüsste jetzt erstmal nicht was da unsinnig ist
setup:
lenny php 5.2.10 fcgid
Holm
Reply to: