----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

On Mon, Jan 24, 2000 at 04:15:48PM -0800, "Gregory A. Krasnow" 
<[EMAIL PROTECTED]> wrote:
> In most RedHat installations, logrotate is set up to rotate the Apache logs.
> When the logs are rotated, it sends a SIGHUP to the apache process so that
> apache opens new log files and closes the old ones.  This seems to cause the
> JVM process to no longer be owned by the apache process, but instead owned
> by init (PPID 1). 

I've noticed that it does sometimes take a small amount of time, especially on
a busy server, for the old java process to die off and the new one to start.
During this period of time the parent pid for the old java process would
be 1.  I've never seen it take more than about 15 seconds though.

If for some reason your old java process isn't dying off at all, perhaps try
putting in a full 'apachectl stop; sleep 5; apachectl start' (with
appropriate paths).  Obviously it'd be better to get it to not hang, but
this might be a workaround.

Bryan

-- 
Bryan Fullerton                http://bryanfullerton.com/
Core Competency
Samurai Consulting
Can you feel the Ohmu call?


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to