[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Intermittent error running hooks: No child processes

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 12 Dec 2008 23:31:06 +0000

Dennis McRitchie <dmcr_at_Princeton.EDU> writes:

> Note that apr_proc_wait() only ignores the EINTR error, and so will
> return ECHILD if the specified process has completed execution before
> waitpid() is called. Since this was a race condition, the error
> sometimes happened, and sometimes did not.

It's not normally a race because the child should become a zombie
until waitpid is called. A race could occur if some other apache
module was setting SIGCHLD to SIG_IGN or calling waitpid(-1), but
either of those would make that module a bit unfriendly. Are you
using any other apache modules?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=983587
Received on 2008-12-13 00:31:30 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.