LockFile in Apache 2.2

Jeremy Chadwick freebsd at jdc.parodius.com
Mon Jan 2 22:28:04 UTC 2012


On Mon, Jan 02, 2012 at 07:13:52PM +0400, rihad wrote:
> Hi there. I think that in extra/httpd-mpm.conf
> 
>   LockFile "/var/log/accept.lock"
> 
> should be changed to:
> 
>   LockFile "/var/run/accept.lock"
> 
> 
> Why? Because after a FreeBSD machine has crashed and rebooted, the
> server may not start if /var/log/accept.lock.$PID already existed.
> It's safe to put in under /var/run/* however, because stale files
> get cleaned up by /etc/rc.d/cleanvar (which runs before apache22
> does thanks to "REQUIRE: cleanvar").

This is the 2nd time you've sent this mail to the list:

 464     12/19 22:37  rihad               (0.7K) LockFile in Apache 2.2
 478     01/02 19:13  rihad               (0.7K) LockFile in Apache 2.2

Please file a PR for this change request so it can be tracked/discussed
there.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, US |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-apache mailing list