I am having apache crash approximately every few weeks with the
following
error message. The box is rebooted every week on Saturday, so it was
only actually up for a few days.
I am getting the following error message in the Apache logs...
[Tue Jan 28 09:50:38 2003] [emerg] (9)Bad file number: 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 Jan 28 09:50:39 2003] [alert] Child 4493 returned a Fatal
error...
Apache is exiting!
Apache then crashes approximately 10 minutes later, I am assuming
because the child processors eventually are killed off.
I have read pretty much all I can about this error. And the following
is what they say to check for.
1) The LockFile is on a local drive, and not on an NFS mounted file
system.
2) We have changed the MaxRequestsPerChild to 10000. Now not sure if
this is still applicable to Solaris 9, but we did it anyway to be on
the safe side.
Version Information :
Apache - 1.3.12 (Unix)
Solaris - 9
ApacheJServ 1.1
mod_perl 1.24
Thank you in advance for everyone's help, greatly appreciated.
Cheers
Jace