From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 09:24:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42C2D106566B for ; Fri, 21 Mar 2008 09:24:09 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from mail.nicoelro.net (helm.nicoelro.net [87.98.216.147]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7D88FC20 for ; Fri, 21 Mar 2008 09:24:08 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: by mail.nicoelro.net (Postfix, from userid 58) id F14D678E44; Fri, 21 Mar 2008 10:24:06 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on helm.nicoelro.net X-Spam-Level: X-Spam-Status: No, score=-3.4 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.4 Received: from [192.168.1.2] (ALyon-253-1-113-247.w83-205.abo.wanadoo.fr [83.205.48.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@nicoelro.net) by mail.nicoelro.net (Postfix) with ESMTP id 9AB5778DF6 for ; Fri, 21 Mar 2008 10:23:52 +0100 (CET) Message-ID: <47E37EA8.40801@nicoelro.net> Date: Fri, 21 Mar 2008 10:23:52 +0100 From: Nicolas Letellier User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Process in lockf with apache/php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nicolas@nicoelro.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 09:24:09 -0000 Hi. I use Apache 1.3 and PHP5 in module. I have a timeout of 30 seconds for my PHP scripts. When a process is out of this timeout, I have this message in my error.log: Maximum execution time of 30 seconds exceeded in /var/www/data/test.php on line 10 Ok, this is normal. In a "top", I see the process is in lockf state. The process is not killed. But when I do a "ps aux", I don't see the lockf state. How show lockf states in "ps" command? I don't find it in ps manpage. What's a lockf state precisely? Why Apache/PHP does not kill this process? I must kill them manually? Is a bug number of lockf processes is important? Thanks. - Nicolas.