Results 1 to 6 of 6
Does the number of apache processes that run on startup differ depending upon the apache version and the operating system that is present.
For example...apache1.3 on redhat8 shows total 8 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-04-2004 #1Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
apache process query.
Does the number of apache processes that run on startup differ depending upon the apache version and the operating system that is present.
For example...apache1.3 on redhat8 shows total 8 processes
apache2 on redhat9 shows 10 processes running.
any idea why the no of processes change?Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 03-04-2004 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
you can specify the number of apache processes in the httpd.conf config file, i dont believe it has anything at all to do with the distro/version you are using.
Jason
- 03-05-2004 #3Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
which parameter do I have to modify to do that?
Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 03-07-2004 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
There are in fact lots of parameters. Here is the relevant excerpt of the config file, with the original comments that explain the parameters (from Apache 2):
Code:## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # 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 <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 MaxClients 150 MaxRequestsPerChild 100 </IfModule> # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule worker.c> StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> # perchild MPM # NumServers: constant number of server processes # StartThreads: initial number of worker threads in each server process # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # MaxThreadsPerChild: maximum number of worker threads in each server process # MaxRequestsPerChild: maximum number of connections per server process <IfModule perchild.c> NumServers 5 StartThreads 5 MinSpareThreads 5 MaxSpareThreads 10 MaxThreadsPerChild 20 MaxRequestsPerChild 0 </IfModule>
- 03-08-2004 #5Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
yeah I saw that part of the file...but what i dont get is that the numbers mentioned in that part is not equal to the actual no of processes that i see running....for example i have 9 processes running when i start apache but i do not see the number 9 in any of those paras...so i was wondering if there is any particular parameter that needs to be modified or maybe thats not the way apache works!!!!
Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 03-09-2004 #6Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
can anyone throw some light on this issue? any idea which parameter has to be modified for manipulating the no of processes that startup at boot time?
Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html


Reply With Quote
