syslogd causes hangs

Sjoerd Mullender sjoerd at acm.org
Wed Oct 8 08:30:19 UTC 2003


Terry R Linhardt wrote:
> Okay...I can be dumb about this. :)
> 
> If I do: strace /sbin/syslogd -m 0 ...
> 
> the strace exits after a second or so, although syslogd continues to
> run. Following is what strace captures before it exits.
> Does this help?:

look at line 32 of the trace:

>      32 clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCH        LD,
> child_tidptr=0xbf58c7a8) = 2922

syslogd forks and the child continues while the parent exits.
Try giving the -d flag to syslogd to have it not fork.

-- 
Sjoerd Mullender <sjoerd at acm.org>





More information about the fedora-test-list mailing list