httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: 2.0.34 - apr_lock_create fails on daedalus
Date Mon, 01 Apr 2002 18:41:53 GMT
Greg Ames wrote:

> > 2) validate that SysV sem is the proper mutex mechanism we should be
> >    using by default on FreeBSD
> 
> Probably not.  apache-1.3's ap_config.h defines HAVE_FLOCK_SERIALIZED_ACCEPT for
> FreeBSD, but apr_hint.m4 doesn't have similar logic in 2.0.  I'll patch that,
> and give it a shot.

With apr_hints.m4 patched to use FLOCK on FreeBSD, apr.h looks right.  But when
I start it, I get:

[Mon Apr 01 10:10:02 2002] [emerg] (9)Bad file descriptor: Couldn't initialize
cross-process lock in child
[Mon Apr 01 10:10:02 2002] [emerg] (9)Bad file descriptor: Couldn't initialize
cross-process lock in child
[Mon Apr 01 10:10:02 2002] [notice] Apache/2.0.34 (Unix) configured -- resuming
normal operations
[Mon Apr 01 10:10:02 2002] [alert] Child 74540 returned a Fatal error...
Apache is exiting!

...and the parent bails, leaving the children orphaned.  I'll try FCNTL next.  

Greg

Mime
View raw message