From owner-freebsd-apache@FreeBSD.ORG Mon Jan 2 15:29:32 2012 Return-Path: Delivered-To: freebsd-apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0913106566B for ; Mon, 2 Jan 2012 15:29:32 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from fallback7.mail.ru (fallback7.mail.ru [94.100.176.135]) by mx1.freebsd.org (Postfix) with ESMTP id A3C428FC15 for ; Mon, 2 Jan 2012 15:29:32 +0000 (UTC) Received: from smtp24.mail.ru (smtp24.mail.ru [94.100.176.177]) by fallback7.mail.ru (mPOP.Fallback_MX) with ESMTP id 60D2E7C17245 for ; Mon, 2 Jan 2012 19:14:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=TbBKZ+HVnMlIVGGq+1yiBlKkNap0gHQC7O9UMqwWjw8=; b=bCK01v0CsJNwtces3nTc+uyfe0+zFXK1SN3TLmecAoVrAcphAxMIMahp85XMmZt3/aSSmn9Ll0mhS75eLJP5Q+xj8ScPJAB4w7eC9Gr4mi+Fx/4Ns8STLN0hLL5EHP/b; Received: from [217.25.27.27] (port=21268) by smtp24.mail.ru with esmtpa (envelope-from ) id 1RhjaE-00056t-WE for freebsd-apache@FreeBSD.org; Mon, 02 Jan 2012 19:13:55 +0400 Message-ID: <4F01C9B0.7060909@mail.ru> Date: Mon, 02 Jan 2012 19:13:52 +0400 From: rihad User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-apache@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mru-NR: 1 X-Mru-UID: 1496693 X-Spam: Not detected X-Mras: Ok X-Mru-Karma: 0 Cc: Subject: LockFile in Apache 2.2 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 15:29:33 -0000 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"). Thanks.