[syslog-ng]problem with syslog-ng

niraj syslog-ng@lists.balabit.hu
08 Apr 2005 16:27:56 +0530




But what parameter I SHOULD GIVE IT RUN TO foreground .I want to run
syslog-ng of the forked pid not on the background






plz help me
Niraj







On Thu, 2005-04-07 at 23:20, Balazs Scheidler wrote:
> On Thu, 2005-04-07 at 10:38 +0530, niraj wrote:
> > 
> > I m facing problem with this code . 
> > When I execute this program it forks 2 process 
> >  A zombie syslog-ng process on the forked ID
> >  syslog-ng on the next pid 
> > 
> > but without while loop every thing is working properly
> 
> syslog-ng goes into background automatically, unless you specify the
> --foreground  parameter. syslog-ng becomes a zombie as you don't wait()
> for it.