httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Wigg <p...@philipwigg.co.uk>
Subject Re: [users@httpd] Apache Performance Question
Date Thu, 23 Jul 2015 12:14:03 GMT
Hi,

There is a limit on the number of concurrent connections that Apache will serve.

See if you can find the 'LogLevel' directive in your configuration and
then set it to 'info'. Apache will then print warnings in your error
log if you're reaching those limits.

http://httpd.apache.org/docs/2.2/mod/core.html#loglevel

You can also use the /server-status page to check this:-

http://httpd.apache.org/docs/2.2/mod/mod_status.html

or for a rough point-in-time estimate you can simply use 'netstat' to
see how many established connections you have to your HTTP port
(probably port 80).

The command:-

netstat -tan | grep ':80' | grep EST | wc -l

is quite possibly what you need depending on your OS and Apache
version which will count the established connections to port 80 on
Linux.

If you do need to increase the number of concurrent connections, you
will probably need to raise MaxClients and ServerLimit.

See - http://httpd.apache.org/docs/2.2/mod/mpm_common.html#maxclients

Hope that helps.

Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message