httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milind Vaidya <kava...@gmail.com>
Subject Re: [users@httpd] Piping logs to a java process : creates multiple processes
Date Tue, 14 Mar 2017 01:16:01 GMT
I had implemented handling of EOF in the code and it was working fine so
far, until one day I see the java process which is supposed to start every
hour is not doing so. It continues to run. There is no  setting change.
Does that mean somehow logrotate is not sending EOF ?

Does httpd has some error as it hangs on to program or copytruncate is not
sending EOF any more ?

Any idea ?

On Mon, Jan 23, 2017 at 4:41 PM, Eric Covener <covener@gmail.com> wrote:

> On Mon, Jan 23, 2017 at 7:36 PM, Milind Vaidya <kavadsa@gmail.com> wrote:
> > When httpd is started it spawns 2 processes and adds one every one hour,
> > keeping all alive
>
>
> Your java program needs to exit when stdin returns EOF.
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message