Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2012 14:28:01 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        rihad <rihad@mail.ru>
Cc:        freebsd-apache@FreeBSD.org
Subject:   Re: LockFile in Apache 2.2
Message-ID:  <20120102222801.GA98803@icarus.home.lan>
In-Reply-To: <4F01C9B0.7060909@mail.ru>
References:  <4F01C9B0.7060909@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120102222801.GA98803>