Re: Ask apache to stop listening on only one socket?

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

 



iptables change seems too invasive and also access to root is
required. I'll be nervous running those commands in our installer
scripts.

On Mon, Mar 9, 2009 at 3:28 PM, Anthony J. Biacco
<abiacco@xxxxxxxxxxxxxxxxxx> wrote:
> 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
> abiacco@xxxxxxxxxxxxxxxxxx
> http://www.formatdynamics.com
>
>
> -----Original Message-----
> From: Frank Gingras [mailto:francois.gingras@xxxxxxxxx]
> Sent: Monday, March 09, 2009 4:22 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  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 <mearns.b@xxxxxxxxx>
> wrote:
>>
>>> On Mon, Mar 9, 2009 at 3:05 PM, Eric Covener <covener@xxxxxxxxx>
> wrote:
>>>
>>>> graceful stop?
>>>>
>>>> --
>>>> Eric Covener
>>>> covener@xxxxxxxxx
>>>>
>>>>
>>> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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@xxxxxxxxxxxxxxxx
>>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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