Re: Apache newbie help - Multiple /usr/sbin/httpd2-preforks ...

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

 



On Fri, Feb 26, 2010 at 7:01 PM, Richard Peacock <richard.peacock@xxxxxxxxxxxxxxx> wrote:

Hi guys,

I am sorry if this is such a newbie question!

 

I was diagnosing an un-related issue on my web-server and had to list processes to see which PID needed to be killed.  I noticed that there were several entries for the “http2-prefork” process …

 

[start]

wwwrun    8786  0.0  0.5  88452  6052 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8787  0.0  0.5  88452  6052 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8788  0.0  0.5  88452  6052 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8790  0.0  0.5  88452  6040 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8791  0.0  0.5  88452  6040 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8793  0.0  0.5  88452  6040 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8813  0.0  0.5  88452  6036 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8814  0.0  0.5  88452  6036 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

wwwrun    8815  0.0  0.5  88452  6040 ?        S    10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

[end]

 

I mean, it’s not a huge problem or anything the webserver seems to be running OK - but is it right there should be multiple processes running like this?  I am sorry but I do not know if you need to view any configs or if there is a setting somewhere that controls the number of processes, I installed it through Yast and left it as default (as I am a newbie and this is for a home website!).

 

I really would appreciate any replies that will help me to understand better.

Thank you

 

Richard


**********************************************************************
Privileged/Confidential Information may be contained in this
message. If you are not the addressee indicated in this
message (or responsible for delivery of the message to such
person), you must not copy, distribute or take any action in
reliance to it.
In such case, you should destroy this message and kindly
notify the sender by reply email. Please advise immediately
if you or your employer do not consent to Internet email for
messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of Minorplanet Systems plc shall be understood as
neither given nor endorsed by it.
Minorplanet Systems plc, Registration no: 3372097
Minorplanet Limited, Registration no: 4072786
Greenwich House, 223 North Street, Leeds, LS7 2AA
VAT #: 698 1438 86
**********************************************************************

 

Prefork is always like that. It will spawn a process for each request.

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com


[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