Re: Apache Performance Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux