ServerLimit e Apache2 Worker no Debian Etch
Caros,
Tenho um servidor Apache2 em um Debian Etch com alta demanda de acesso. Pesquisando na Internet, achei um artigo interessante sobre como configurar um apache de alto desempenho:
http://www.howtoforge.org/configuring_apache_for_maximum_performance
Aumentei os valores das diretivas do módulo worker do apache, com os valores:
<IfModule mpm_worker_module>
StartServers 25
MaxClients 1000
MinSpareThreads 25
MaxSpareThreads 40
ThreadsPerChild 40
MaxRequestsPerChild 0
ServerLimit 25
</IfModule>
Porém, quando reinicio o apache, aparecem os seguintes erros:
/etc/init.d/apache2 restart
Forcing reload of web server (apache2)...WARNING: MaxClients of 1000 would require 25 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 640. To increase,
please see the ServerLimit directive.
WARNING: MaxClients of 1000 would require 25 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 640. To increase,
please see the ServerLimit directive.
A minha dúvida é porque ele está dizendo que ServerLimit tem o valor de 16! Eu configurei como 25. Por que está dando essa mensagem? É algo particular do Debian?
Versão instalada do apache2:
# dpkg -l | grep apache2
ii apache2 2.2.3-4 Next generation, scalable, extendable web se
ii apache2-mpm-worker 2.2.3-4 High speed threaded model for Apache HTTPD 2
ii apache2-utils
2.2.3-4 utility programs for webservers
ii apache2.2-common 2.2.3-4 Next generation, scalable, extendable web se
Desde já agradeço a atenção.
Carla
Reply to: