Received: (qmail 24391 invoked by uid 2012); 20 Dec 1999 22:35:23 -0000 Message-Id: <19991220223523.24390.qmail@hyperreal.org> Date: 20 Dec 1999 22:35:23 -0000 From: Jerome Tillotson Reply-To: jerome@vignette.co.uk To: apbugs@hyperreal.org Subject: fcntl: F_SETLKW: Error getting accept lock, exiting! --> Kills httpd X-Send-Pr-Version: 3.2 >Number: 5499 >Category: general >Synopsis: fcntl: F_SETLKW: Error getting accept lock, exiting! --> Kills httpd >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Dec 20 14:40:01 PST 1999 >Closed-Date: >Last-Modified: Wed Dec 19 05:30:00 PST 2001 >Originator: jerome@vignette.co.uk >Release: 1.3.3 >Organization: apache >Environment: uname -a: SunOS www.foo.com 5.7 Generic_106541-05 sun4u sparc SUNW,Ultra-250 compiler: Sun's SPARCompiler C++ 4.2 >Description: logs/ directory is not on NFS mounted file system and is on a local disk. LockFile is set to logs/accept.lock (however no file is ever created there). Full error messages: [Thu Dec 16 00:45:16 1999] [emerg] (45)Deadlock situation detected/avoided: fcntl: F_SETLKW: Error getting accept lock, exiting! Perhaps you need to use the LockFile directive to place your lock file on a local disk! [Thu Dec 16 00:45:16 1999] [alert] Child 18355 returned a Fatal error... Apache is exiting! >How-To-Repeat: >Fix: Not yet. Just reporting for now... >Release-Note: >Audit-Trail: From: "Jerome Tillotson" To: Cc: Subject: general/5499 Date: Wed, 19 Dec 2001 14:20:17 +0100 Update: [Tue Sep 4 03:56:07 2001] [emerg] (45)Deadlock situation detected/avoided: fcntl: F_SETLKW: Error getting accept lock, exiting! Perhaps you need to use the LockFile directive to place your lock file on a local disk! [Tue Sep 4 03:56:08 2001] [alert] Child 6886 returned a Fatal error... Apache is exiting! If you have more than one application running on the server that can cause time delays, in one case it was Netegrity Web Agent, Vignette V5 5.6.2, Apache can get confused. The fix is to compile apache with CFLAGS -DUSE_SYSVSEM_SERIALIZED_ACCEPT Modify the configure file to include this flag. It goes away. (Thank you Sermet Yucel) Otherwise, don't be proud, rebuild from the OS up. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]