Apache graceful-stop

Apache graceful-stop

am 12.08.2009 16:22:37 von mohitanchlia

I installed Apache 2.2.11 and tested graceful-stop. When I run
graceful-stop I still see all the httpd processes even though there is
nothing listening on port 80. Those httpd processes stay there even
though there are no incoming or existing sessions. Is there a bug
someone knows about or am I doing something wrong?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache graceful-stop

am 20.08.2009 12:09:49 von Apache Admin

--00032557475eb0312f04718ff332
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,

when u run graceful-stop ,,,,, it will work in different manner

Let see .... first it kill parent process .... if any child process serve
request...... it continue to server, but not accept new request ......new
request handle by new child process ....... mean it will take a little bit
time to kill all running httpd process .........

hope got an idea now !!!!!

Amit
http://new-innovation.blogspot.com/




On Wed, Aug 12, 2009 at 7:52 PM, Mohit Anchlia wrote:

> I installed Apache 2.2.11 and tested graceful-stop. When I run
> graceful-stop I still see all the httpd processes even though there is
> nothing listening on port 80. Those httpd processes stay there even
> though there are no incoming or existing sessions. Is there a bug
> someone knows about or am I doing something wrong?
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--00032557475eb0312f04718ff332
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

when u run graceful-stop ,,,,, it will work in different manner=


Let see .... first it kill parent process .... if any child process=
serve request...... it continue to server, but not accept new request ....=
...new request handle by new child process ....... mean it will take a littl=
e bit time to kill all running=A0 httpd process .........


hope got an idea now !!!!!

Amit
ion.blogspot.com/">http=
://new-innovation.blogspot.com/





quote">
On Wed, Aug 12, 2009 at 7:52 PM, Mohit Anchlia < f=3D"mailto:mohitanchlia@gmail.com">mohitanchlia@gmail.com> w=
rote:
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I installed Apache 2.2.11 and tested graceful-stop. When I run

graceful-stop I still see all the httpd processes even though there is

nothing listening on port 80. Those httpd processes stay there even

though there are no incoming or existing sessions. Is there a bug

someone knows about or am I doing something wrong?



------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--00032557475eb0312f04718ff332--

Re: Apache graceful-stop

am 20.08.2009 16:24:07 von mohitanchlia

I think I knew that. Question is even though there were no outstanding
requests the httpd servers stayed there until I finally killed them

On Thu, Aug 20, 2009 at 3:09 AM, Apache Admin wrote=
:
> Hi,
>
> when u run graceful-stop ,,,,, it will work in different manner
>
> Let see .... first it kill parent process .... if any child process serve
> request...... it continue to server, but not accept new request ......new
> request handle by new child process ....... mean it will take a little bi=
t
> time to kill all running=A0 httpd process .........
>
> hope got an idea now !!!!!
>
> Amit
> http://new-innovation.blogspot.com/
>
>
>
>
> On Wed, Aug 12, 2009 at 7:52 PM, Mohit Anchlia
> wrote:
>>
>> I installed Apache 2.2.11 and tested graceful-stop. When I run
>> graceful-stop I still see all the httpd processes even though there is
>> nothing listening on port 80. Those httpd processes stay there even
>> though there are no incoming or existing sessions. Is there a bug
>> someone knows about or am I doing something wrong?
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Projec=
t.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache graceful-stop

am 20.08.2009 16:43:00 von Eric Covener

On Thu, Aug 20, 2009 at 10:24 AM, Mohit Anchlia wrote:
> I think I knew that. Question is even though there were no outstanding
> requests the httpd servers stayed there until I finally killed them

How did you ensure that there were no outstanding requests?

--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache graceful-stop

am 20.08.2009 16:50:44 von mohitanchlia

I stopped load and waited for thrice as long as our application timeout.

On Thu, Aug 20, 2009 at 7:43 AM, Eric Covener wrote:
> On Thu, Aug 20, 2009 at 10:24 AM, Mohit Anchlia w=
rote:
>> I think I knew that. Question is even though there were no outstanding
>> requests the httpd servers stayed there until I finally killed them
>
> How did you ensure that there were no outstanding requests?
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache graceful-stop

am 20.08.2009 22:25:27 von Paul Silevitch

--001485ea0ff461f6010471988db1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I am seeing this behavior too.

If I do a graceful-stop followed by a start on a system that I know is
getting no traffic, the old parent process sometimes hangs around for a bit
(I think for GracefulShutdownTimeout secs).

On a related note - If I do a graceful-stop followed by a start on
a heavily loaded system, the start sometimes doesn't successfully complete
and returns a "httpd (pid xxx) already running". Has anyone else seen this?
Any ideas on why this happens?

Thanks,

Paul

>I stopped load and waited for thrice as long as our application timeout.
>
>On Thu, Aug 20, 2009 at 7:43 AM, Eric Covener wrote:
> On Thu, Aug 20, 2009 at 10:24 AM, Mohit Anchlia
wrote:
>> I think I knew that. Question is even though there were no outstanding
>> requests the httpd servers stayed there until I finally killed them
>
> How did you ensure that there were no outstanding requests?
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

--001485ea0ff461f6010471988db1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am seeing this behavior too.

If I do a grac=
eful-stop followed by a start on a system that I know is getting no traffic=
, the old parent process sometimes hangs around for a bit (I think for=A0Gr=
acefulShutdownTimeout secs).


On a related note - If I do a graceful-stop followed by=
a start on a=A0heavily=A0loaded system, the start sometimes doesn't su=
ccessfully complete and returns a "httpd (pid xxx) already running&quo=
t;. =A0Has anyone else seen this? =A0Any ideas on why this happens?


Thanks,

Paul

>=
;I stopped load and waited for thrice as long as our application timeout. div>
>
>On Thu, Aug 20, 2009 at 7:43 AM, Eric Covener&l=
t;> wrote: v>
> On Thu, Aug 20, 2009 at 10:24 AM, Mohit Anchlia< lto:mohitanchlia@gmail.com">mohitanchlia@gmail.com> wrote:
>>> I think I knew that. Question is even though there were no outsta=
nding

>> requests the httpd servers stayed there until I finally kille=
d them
>
> How did you ensure that there were no =
outstanding requests?
>
> --
> Eric =
Covener

>
<=
div>>
> ---------------------------------------------------=
------------------
> The official User-To-User support forum o=
f the Apache HTTP Server Project.

> See <URL:ht=
tp://httpd.apache.org/userslist.html
> for more info.
> =
To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

> =A0 " =A0 from the digest: subscribe@httpd.apache.org">users-digest-unsubscribe@httpd.a pache.org div>
> For additional commands, e-mail: @httpd.apache.org">users-help@httpd.apache.org

>
>

-------------------------=
--------------------------------------------
The official User-To=
-User support forum of the Apache HTTP Server Project.
See <UR=
L:http://httpd.apache.or=
g/userslist.html
> for more info.

To unsubscribe, e-mail: he.org">users-unsubscribe@httpd.apache.org
   " =A0 =
from the digest: g">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: ache.org">users-help@httpd.apache.org



--001485ea0ff461f6010471988db1--