From owner-freebsd-apache@FreeBSD.ORG Mon Dec 19 18:59:50 2011 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3112106566C for ; Mon, 19 Dec 2011 18:59:50 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from fallback8.mail.ru (fallback8.mail.ru [94.100.176.136]) by mx1.freebsd.org (Postfix) with ESMTP id A5EA88FC1C for ; Mon, 19 Dec 2011 18:59:50 +0000 (UTC) Received: from smtp27.mail.ru (smtp27.mail.ru [94.100.176.180]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id 545A234E499E for ; Mon, 19 Dec 2011 22:37:17 +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=xVuUe5hWeXa/hgv+xr47JitE8HRZEGr08tY11XOeEMPfiNLrpBlRTh9oUSKo4jbv9nMOYE1jDDFV6ZO4wJ5K5QVb7exA4Xqm+elph/Bczq5AuIFhB9o07/1NwYyOZoZD; Received: from [217.25.27.27] (port=60608) by smtp27.mail.ru with esmtpa (envelope-from ) id 1Rci5L-0000vm-Ti for apache@FreeBSD.org; Mon, 19 Dec 2011 22:37:16 +0400 Message-ID: <4EEF845A.7050009@mail.ru> Date: Mon, 19 Dec 2011 22:37:14 +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: 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 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, 19 Dec 2011 18:59:51 -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.