Posts

Showing posts with the label apache

max simultaneous connections on apache

To know how much max simultaneous connection that can be handled by apache, try to look at apache parameter : # /usr/sbin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c That means apache using prefork.c module for Multi Processing Modules purpose. Prefork process multiple child with any of child handle 1 connection at one time. Try to look at httpd.conf # more /etc/httpd/conf/httpd.conf ---------------------------------------------- # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 8 MinSpareServers 5 MaxSpareServers 20 MaxClients 150 MaxRequestsPerChild 1000 ----------------------------------...