On Mon, Dec 7, 2009 at 7:01 AM, Bill Moseley \
>
>
> So, it would be more convenient if a graceful restart could be done on just
> Apache and that would trigger closing the connections on the next response
> freeing up the process to exit. That's the part I'm trying to
x27;t work because the connections keeps the process alive.
One way is to pull the server from the balancer pool, wait for existing
requests to finish (only a few seconds) and then stop the server. Problem
there is that it's not always the same people running the web servers and
balancers.
So,
Bill Moseley wrote:
Again, I've got keep alives set for a long time.
Well, isn't that your problem then ?
KeepAlive connections were introduced at a time when establishing and
tearing down TCP connections were relatively expensive things to do.
With modern servers however, this is less impor
On Sun, Dec 6, 2009 at 9:51 AM, André Warnier wrote:
>
> I am not the ultimate authority here, but I think you are going to have
> several problems with this idea.
> - the first one is that under Windows (where Apache also runs) there are no
> such signals.
> - the second one is that the signal,
Bill Moseley wrote:
I'm running mod_perl/2.0.4 with a very large keep-alive set in my
httpd.conf.
Is there a way to detect when a graceful stop or restart has been requested
in the child apache processes?
I tried $SIG{USR1} and $SIG{WINCH} but I'm not seeing them catch the signal.
I'd like to b
I'm running mod_perl/2.0.4 with a very large keep-alive set in my
httpd.conf.
Is there a way to detect when a graceful stop or restart has been requested
in the child apache processes?
I tried $SIG{USR1} and $SIG{WINCH} but I'm not seeing them catch the signal.
I'd like to be able to detect when
On Tue, Apr 1, 2008 at 5:59 PM, xyon <[EMAIL PROTECTED]> wrote:
> When you mean by hand, you mean something like:
>
> `/usr/sbin/httpd -k $action`
>
> Where $action could be "stop" and then "start"? I don't think this is
> possible, I get permission denied on the socket:
>
> (13)Permission deni
On Tue, Apr 1, 2008 at 5:48 PM, xyon <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I've got a modperl app that changes some apache configs (via text
> files), but need to tell Apache to re-read its configuration files for
> the changes to take effect. What might be the best way of going about
> s
When you mean by hand, you mean something like:
`/usr/sbin/httpd -k $action`
Where $action could be "stop" and then "start"? I don't think this is
possible, I get permission denied on the socket:
(13)Permission denied: make_sock: could not bind to address [::]:443
no listening sockets available,
Hello all,
I've got a modperl app that changes some apache configs (via text
files), but need to tell Apache to re-read its configuration files for
the changes to take effect. What might be the best way of going about
such an operation?
Here is some info about my install:
# cat /etc/redhat-rele
pradeep kumar wrote:
Hi,
If Apache is gracefully rastarted multiplae times it dumps core. To
reproduce this problem there is a script that can be run which sends a
kill -HUP to httpd every 20 secs.
pradeep, your report is incomplete. Please read:
http://perl.apache.org/bugs/ and try again.
The s
Hi,
If Apache is gracefully rastarted multiplae times it dumps core. To
reproduce this problem there is a script that can be run which sends a
kill -HUP to httpd every 20 secs. The scpirt is
#!/usr/bin/sh
COUNT=1
while true
do
kill -HUP `cat "path_to_httpd.pid/httpd.pid"`
date "+DATE: %m/%d/%y
I've always used a full start & stop (ie. apachectl stop; apachectl
start ) with my mod_perl servers when I need it to pick up new code
because I read (many years ago) that graceful restarts could leak
memory or cause some sort of problem. It's been long enough that I
don't even remember the proble
13 matches
Mail list logo