httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herbert G. Fischer" <herb...@trama.com>
Subject Re: [users@httpd] rotatelogs and cronolog don't die!
Date Tue, 18 Nov 2003 23:54:22 GMT
New information

Correction:

After stoping Apache, the pipe log programs stops too, but Apache forks
another set of them
before stoping itself.

# apachectl start
# ps axuww

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root     18785  1.0  0.7 22832 7732 ?        S    21:52   0:00
/usr/local/httpd-2.0.48/bin/httpd -k start
apache   18788  0.0  0.7 22856 7772 ?        S    21:52   0:00
/usr/local/httpd-2.0.48/bin/httpd -k start
apache   18789  0.0  0.7 22856 7772 ?        S    21:52   0:00
/usr/local/httpd-2.0.48/bin/httpd -k start
apache   18790  0.0  0.7 22856 7772 ?        S    21:52   0:00
/usr/local/httpd-2.0.48/bin/httpd -k start
apache   18791  0.0  0.7 22856 7772 ?        S    21:52   0:00
/usr/local/httpd-2.0.48/bin/httpd -k start
apache   18792  0.0  0.7 22856 7772 ?        S    21:52   0:00
/usr/local/httpd-2.0.48/bin/httpd -k start
root     18786  0.0  0.0  1480  268 ?        S    21:52   0:00
/usr/local/sbin/cronolog /usr/local/sites/portal/logs/access.%Y-%m-%d.log
root     18787  0.0  0.0  1480  268 ?        S    21:52   0:00
/usr/local/sbin/cronolog /usr/local/sites/default/logs/access.%Y-%m-%d.log

# apachectl stop
# ps axuww

root     18819  0.0  0.0  1480  268 ?        S    21:54   0:00
/usr/local/sbin/cronolog /usr/local/sites/default/logs/access.%Y-%m-%d.log
root     18820  0.0  0.0  1480  268 ?        S    21:54   0:00
/usr/local/sbin/cronolog /usr/local/sites/portal/logs/access.%Y-%m-%d.log

----- Original Message ----- 
From: "Jez Hancock" <jez.hancock@munk.nu>
To: <users@httpd.apache.org>; "Herbert G. Fischer" <herbert@trama.com>
Sent: Tuesday, November 18, 2003 8:37 PM
Subject: Re: [users@httpd] rotatelogs and cronolog don't die!


> On Tue, Nov 18, 2003 at 08:32:35PM -0200, Herbert G. Fischer wrote:
> > Just a new information...
> >
> > The problem is generalized to any "piped log program".
> > I tested with a simple grep command as a piped log program and it
remains
> > running after Apache is stoped.
> Perhaps it is a genuine bug then - certainly works very well in my
> experience (cronolog and a custom perl loggging daemon via a pipe) on
1.3.x.
> Would be useful to hear from other 2.0 users who use piped logging eh?
>
> -- 
> Jez Hancock
>  - System Administrator / PHP Developer
>
> http://munk.nu/
>


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


Mime
View raw message