Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2008 10:23:52 +0100
From:      Nicolas Letellier <nicolas@nicoelro.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Process in lockf with apache/php
Message-ID:  <47E37EA8.40801@nicoelro.net>

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



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