reality check please...

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: John (EBo) David
Date:  
Subject: reality check please...
Brian Cluff wrote:
>
> > Actually rename the log and hup the apache server and it will make and start
> > using the new log
>
> actually send httpd a USR1 rather than a hup. There is a slight
> difference. A HUP will tell the server to immedialty stop and reload its
> config and reopen its log files while dropping the connection that anyone
> might have to your web server. A USR1 on the otherhand will do the same
> thing, but let any server processes with an open connection finish what
> they are doing before those processes do that same thing.


Good point!

I took a look at the command:

/usr/sbin/rcapache restart

and found that it calls:

...
killproc -USR1 $HTTPD_BIN || return=$rc_failed
...??

which I read to be equivelent.

Thanks again for the reality check.

EBo --