The following reply was made to PR os-linux/2723; it has been noted by GNATS.
From: "Jeffrey W. Baker" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Brad Cox <[EMAIL PROTECTED]> Subject: Re: os-linux/2723: HTTPD dies complaining "error getting accept lock" Date: Tue, 15 Dec 1998 09:37:14 -0800 According To Brad Cox <[EMAIL PROTECTED]>, recompiling Apache to use ioctl corrects this bug on linux. Performance implications of this have not been quantified. --Jeffrey Brad Cox wrote: > > Lincoln was right. Recompiling apache to use ioctl locking made this > problem go away. > > Everybody beware. This one bites hard once it decides to act up. > > The fix is to simply modify src/include ap_config.h (LINUX section) as > follows; eg use USE_FCNTL_SERIALIZED_ACCEPT instead of > USE_FLOCK_SERIALIZED_ACCEPT > > /* flock is faster ... but hasn't been tested on 1.x systems */ > /* bjc: #define USE_FLOCK_SERIALIZED_ACCEPT */ > #define USE_FCNTL_SERIALIZED_ACCEPT
