FastNetMon

Saturday 3 April 2010

Руководство по поиску узких мест в производительности web-серверов

Самое первое, что стоит смотреть - это не уперся ли Апач в лимит коннектов.
tail -f /var/log/httpd/error_log
[Sat Apr 03 14:35:05 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 03 14:35:05 2010] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 03 14:35:05 2010] [notice] Digest: done
[Sat Apr 03 14:35:06 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sat Apr 03 14:42:02 2010] [error] server reached MaxClients setting, consider raising the MaxClients setting


Вы не поверите, но это решает 50% проблем с работой веб-серверов :)

No comments :

Post a Comment

Note: only a member of this blog may post a comment.