php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41473 PHP locks prefork apache2 childs
Submitted: 2007-05-23 12:07 UTC Modified: 2007-06-06 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: borja dot pacheco at juntadeandalucia dot es Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.4.7 OS: Debian Sarge
Private report: No CVE-ID: None
 [2007-05-23 12:07 UTC] borja dot pacheco at juntadeandalucia dot es
Description:
------------
Dear all,

we have a webmail platform based on Reverse Proxies + Apache + Squirrelmail. 

Lately we updated Apache's from 1.3.x to 2.0.54 (using standard Sarge Debian packages), since this update, we are watching that Apache childs get locaked because calls made by PHP.

Could you help us?

(Apache Support has already analyzed this issue, please check for further details:
http://issues.apache.org/bugzilla/show_bug.cgi?id=42473)

The software installed is based on standard Debian Sarge....
ii  php4           4.3.10-19      server-side, HTML-embedded scripting languag
ii  php4-cli       4.3.10-19      command-line interpreter for the php4 script
ii  php4-common    4.3.10-19      Common files for packages built from the php
ii  php4-dev       4.3.10-19      Files for PHP4 module development
ii  php4-ldap      4.3.10-19      LDAP module for php4
ii  php4-pear      4.3.10-19      PEAR - PHP Extension and Application Reposit

Reproduce code:
---------------
Not applied

Expected result:
----------------
Apache2's childs shouldn't be locked

Actual result:
--------------
Apache2's childs are locked

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-27 16:54 UTC] sniper@php.net
Well, did you check all the stuck processes if they're doing the same?

 [2007-05-27 17:28 UTC] borja dot pacheco at juntadeandalucia dot es
What do you mean with doing the same? We have 20 servers just executing webmail, and all their process are doing the same, it means, serving PHP pages.

If for the same, do you mean if all they are locked because the same issue. It seems to. Executing lsof I can see every process locked, locks are based on a PHP temporal file which been deleted.
 [2007-05-27 17:36 UTC] sniper@php.net
So the lock hangs because the file which was locked has been deleted?
(why is it deleted?)
 [2007-05-27 17:45 UTC] borja dot pacheco at juntadeandalucia dot es
I don't know, but I can assure you that it hasn't been deleted by any other process (nor cron or whatever) or human operator.
 [2007-06-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC