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

------_=_NextPart_001_01CAB6E8.0EA3B0B7
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

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 n=
o: 3372097
Minorplanet Limited, Registration no: 4072786
Greenwich House, 223 North Street, Leeds, LS7 2AA
VAT #: 698 1438 86
************************************************************ **********

------_=_NextPart_001_01CAB6E8.0EA3B0B7
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
[at] page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-GB link=3Dblue vlink=3Dpurple><P>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>Hi guys, <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>I am sorry if this is such a newbie question!<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>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 notic=
ed
that there were several entries for the “http2-prefork” proce=
ss …<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>[start]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8786  0.0  0.5  88452  6052
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8787  0.0  0.5  88452  6052
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8788  0.0  0.5  88452  6052
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8790  0.0  0.5  88452  6040
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8791  0.0  0.5  88452  6040
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8793  0.0  0.5  88452  6040
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8813  0.0  0.5  88452  6036 ?    =
   S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8814  0.0  0.5  88452  6036
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dgreen face=3D"Courier New"><s=
pan
style=3D'font-size:6.0pt;font-family:"Courier New";color:green'>wwwrun&nb=
sp;  
8815  0.0  0.5  88452  6040
?        S   
10:54   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con=
f<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>[end]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>I mean, it’s not a huge problem or anything the
webserver seems to be running OK - but is it right there should be multip=
le
processes running like this?  I am sorry but I do not know if you ne=
ed to
view any configs or if there is a setting somewhere that controls the num=
ber of
processes, I installed it through Yast and left it as default (as I am a =
newbie
and this is for a home website!).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>I really would appreciate any replies that will help m=
e to
understand better.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>Thank you<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>Richard<o:p></o:p></span></font></p>

</div>

</P>
<DIV><BR> ************************************************************ ****=
******<BR>Privileged/Confidential
Information may be contained in this <BR>message. If you are not the addr=
essee
indicated in this <BR>message (or responsible for delivery of the message=
to
such <BR>person), you must not copy, distribute or take any action in
<BR>reliance to it.<BR>In such case, you should destroy this message and =
kindly
<BR>notify the sender by reply email. Please advise immediately <BR>if yo=
u or
your employer do not consent to Internet email for <BR>messages of this k=
ind.
Opinions, conclusions and other <BR>information in this message that do n=
ot
relate to the official <BR>business of Minorplanet Systems plc shall be
understood as <BR>neither given nor endorsed by it.</DIV>
<DIV>Minorplanet Systems plc, Registration no: 3372097<BR>Minorplanet Lim=
ited,
Registration no: 4072786<BR>Greenwich House, 223 North Street, Leeds, LS7=

2AA<BR>VAT #: 698 1438
86<BR> ************************************************************ *******=
***</DIV>
<DIV><BR> </DIV></body>

</html>


------_=_NextPart_001_01CAB6E8.0EA3B0B7--
Richard Peacock [ Fr, 26 Februar 2010 14:31 ] [ ID #2033518 ]

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

On Fri, Feb 26, 2010 at 8:31 AM, Richard Peacock
<richard.peacock [at] minorplanet.com> 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.=A0 I noticed that there w=
ere
> several entries for the =93http2-prefork=94 process =85
>

That's normal:

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


--
Eric Covener
covener [at] gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Fr, 26 Februar 2010 14:34 ] [ ID #2033519 ]

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

--001485e8edde7420db048080f938
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 26, 2010 at 7:01 PM, Richard Peacock <
richard.peacock [at] minorplanet.com> 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 wer=
e
> several entries for the =93http2-prefork=94 process =85
>
>
>
> [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=92s not a huge problem or anything the webserver seems to be
> running OK - but is it right there should be multiple processes running l=
ike
> 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 th=
is
> 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

--001485e8edde7420db048080f938
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Fri, Feb 26, 2010 at 7:01 PM, Richard Peacock=
<span dir=3D"ltr"><<a href=3D"mailto:richard.peacock [at] minorplanet.com">r=
ichard.peacock [at] minorplanet.com</a>></span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid=
rgb(204, 204, 204); padding-left: 1ex;">










<div link=3D"blue" vlink=3D"purple" lang=3D"EN-GB"><p>

</p><div>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">Hi guys, </span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">I am sorry if this is such a newbie questi=
on!</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">=A0</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">I was diagnosing an un-related issue on my=
web-server and
had to list processes to see which PID needed to be killed.=A0 I noticed
that there were several entries for the =93http2-prefork=94 process =85</sp=
an></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">=A0</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">[start]</span></font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8786=A0 0.0=A0 0.5=A0 88452=A0 6052
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8787=A0 0.0=A0 0.5=A0 88452=A0 6052
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8788=A0 0.0=A0 0.5=A0 88452=A0 6052
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8790=A0 0.0=A0 0.5=A0 88452=A0 6040
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8791=A0 0.0=A0 0.5=A0 88452=A0 6040
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8793=A0 0.0=A0 0.5=A0 88452=A0 6040
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8813=A0 0.0=A0 0.5=A0 88452=A0 6036 ?=A0=A0=A0=A0 =A0=A0=A0S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8814=A0 0.0=A0 0.5=A0 88452=A0 6036
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"1" face=3D"Courier New" color=3D"green=
"><span style=3D"font-size: 6pt; font-family: "Courier New"; colo=
r: green;">wwwrun=A0=A0=A0
8815=A0 0.0=A0 0.5=A0 88452=A0 6040
?=A0=A0=A0=A0=A0=A0=A0 S=A0=A0=A0
10:54=A0=A0 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf</span>=
</font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">[end]</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">=A0</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">I mean, it=92s not a huge problem or anyth=
ing the
webserver seems to be running OK - but is it right there should be multiple
processes running like this?=A0 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 numbe=
r of
processes, I installed it through Yast and left it as default (as I am a ne=
wbie
and this is for a home website!).</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">=A0</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">I really would appreciate any replies that=
will help me to
understand better.</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">Thank you</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">=A0</span></font></p>

<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size: 10pt; font-family: Arial;">Richard</span></font></p>

</div>


<div><br> ************************************************************ ******=
****<br>Privileged/Confidential
Information may be contained in this <br>message. If you are not the addres=
see
indicated in this <br>message (or responsible for delivery of the message t=
o
such <br>person), you must not copy, distribute or take any action in
<br>reliance to it.<br>In such case, you should destroy this message and ki=
ndly
<br>notify the sender by reply email. Please advise immediately <br>if you =
or
your employer do not consent to Internet email for <br>messages of this kin=
d.
Opinions, conclusions and other <br>information in this message that do not=

relate to the official <br>business of Minorplanet Systems plc shall be
understood as <br>neither given nor endorsed by it.</div>
<div>Minorplanet Systems plc, Registration no: 3372097<br>Minorplanet Limit=
ed,
Registration no: 4072786<br>Greenwich House, 223 North Street, Leeds, LS7=

2AA<br>VAT #: 698 1438
86<br> ************************************************************ *********=
*</div>
<div><br>=A0</div></div>



</blockquote></div><br>Prefork is always like that. It will spawn a process=
for each request.<br clear=3D"all"><br>-- <br>Nilesh Govindarajan<br>Site =
& Server Administrator<br><a href=3D"http://www.itech7.com">www.itech7.=
com</a><br>

<br>

--001485e8edde7420db048080f938--
Nilesh Govindrajan [ Fr, 26 Februar 2010 14:35 ] [ ID #2033520 ]

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

--Apple-Mail-1--1026148743
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252


On Feb 26, 2010, at 8:31 AM, Richard Peacock wrote:

> 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 =93http2-prefork=94 process =85
>
> I mean, it=92s 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!).
>

Yes, this is how it works. There's one parent process, and it pre-forks =
(creates multiple copies) in order for each one of those copies to =
handle incoming requests. It's normal and expected. Each child process =
can handle an inbound request, and the parent is responsible for =
delegating the requests to the child processes, and making sure that =
there are enough to handle the load.

--Rich=

--Apple-Mail-1--1026148743
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Feb 26, 2010, at 8:31 AM, Richard Peacock =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-size: medium; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; ">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 =93http2-prefork=94 process =
=85<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: 'Times New Roman'; "><span class=3D"Apple-style-span" =
style=3D"font-family: Arial; font-size: 13px; "> </span></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; =
font-family: Arial; ">I mean, it=92s 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!).<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; =
"><o:p> </o:p></span></font></div></span></blockquote></div><br><div>=
Yes, this is how it works. There's one parent process, and it pre-forks =
(creates multiple copies) in order for each one of those copies to =
handle incoming requests. It's normal and expected. Each child process =
can handle an inbound request, and the parent is responsible for =
delegating the requests to the child processes, and making sure that =
there are enough to handle the =
load.</div><div><br></div><div>--Rich</div></body></html>=

--Apple-Mail-1--1026148743--
Rich Bowen [ Fr, 26 Februar 2010 14:35 ] [ ID #2033521 ]

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

On Feb 26, 2010, at 8:35 AM, Nilesh Govindarajan wrote:

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

Not exactly. It spawns processes ahead of time, and then manages the =
process pool within specified parameters. Saying that it spawns a =
process for each request somewhat misses the "pre" nature of "prefork", =
and also suggests that it will create processes forever, and destroy =
them once the request is over.

--Rich=

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Rich Bowen [ Fr, 26 Februar 2010 14:41 ] [ ID #2033522 ]
Webserver » gmane.comp.apache.user » Apache newbie help - Multiple /usr/sbin/httpd2-preforks ...

Vorheriges Thema: two applications on the same box
Nächstes Thema: Windows Server 2003 - Apache crash