Can't you just install an iptables rule to block connections to 8080?
And then remove it when you're done. (assuming you're running unix)

Block: iptables -A INPUT -p tcp -s 0/0 --dport 8080 -j DROP
Pass:  iptables -D INPUT -p tcp -s 0/0 --dport 8080 -j DROP

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
[email protected]
http://www.formatdynamics.com


-----Original Message-----
From: Frank Gingras [mailto:[email protected]] 
Sent: Monday, March 09, 2009 4:22 PM
To: [email protected]
Subject: Re: [us...@httpd] Ask apache to stop listening on only one
socket?

Mohit,

With a graceful restart, any workers will stay alive until the KeepAlive

timeout is reached, at which point the process will be terminated. If 
you want them to die faster, lower the KeepAlive value.

Frank.

Mohit Anchlia wrote:
> graceful stop doesn't work ..I've tried multiple times. sometimes it
> leaves a defunct process and other times it just hangs even though all
> the existing requests have been processed.
>
> On Mon, Mar 9, 2009 at 12:07 PM, Brian Mearns <[email protected]>
wrote:
>   
>> On Mon, Mar 9, 2009 at 3:05 PM, Eric Covener <[email protected]>
wrote:
>>     
>>> graceful stop?
>>>
>>> --
>>> Eric Covener
>>> [email protected]
>>>
>>>       
>> Dammit, Eric. You beat me by 1 minute.
>>
>> =J
>>
>> -Brian
>> --
>> Feel free to contact me using PGP Encryption:
>> Key Id: 0x3AA70848
>> Available from: http://pgp.mit.edu/
>>
>> ---------------------------------------------------------------------
>> 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: [email protected]
>>   "   from the digest: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>     
>
> ---------------------------------------------------------------------
> 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: [email protected]
>    "   from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>
>   


---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to