#32838 [Opn->Csd]: child processes opened with proc_open freeze the script
| From: | tony2001@php.net | Date: | Wed, 11 May 2005 09:09:30 +0000 |
| Subject: | #32838 [Opn->Csd]: child processes opened with proc_open freeze the script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78890@lists.php.net to get a copy of this message | ||
ID: 32838
Updated by: tony2001@php.net
Reported By: mjpph at stardust dot fi
-Status: Open
+Status: Closed
Bug Type: Program Execution
Operating System: Linux
PHP Version: 5.0.4
New Comment:
Ok, marking as closed.
Previous Comments:
------------------------------------------------------------------------
[2005-05-11 10:08:18] mjpph at stardust dot fi
It seems the snapshot sniper posted has solved the bug. I usually was
able to freeze atleast one script in say 48 hours with almost 100%
propability. Usually more than one script. This time around, with the
sniper's snapshot, the scripts have been running for over 120 hours
without a single failure.
I think it's safe to say this bug has been solved. Thanks a lot, I
wrestled with this bug for a long time.
------------------------------------------------------------------------
[2005-05-11 10:02:21] tony2001@php.net
Are you still able to reproduce it?
------------------------------------------------------------------------
[2005-05-08 16:34:06] mjpph at stardust dot fi
It looks like the newest snapshot has fixed the issue. I've been now
running the scripts for 55 hours without one single failure. Before
this atleast one, most likely half of the scripts would have freezed
already. I'll send some more feedback after few more days of testing.
------------------------------------------------------------------------
[2005-05-06 09:07:54] mjpph at stardust dot fi
Ok I'll try that snapshot. One thing I notice too, all version seem to
have PTY support of the proc_open disabled. It can be easily seen by
checking ext/standard/proc_open.c which has two pty-related defines
which start by "0 &&". I changed these and got fully working proc_open
PTY support on my system. This didn't have any effect on the freezing
problem though. Maybe the PTY support is still buggy or someone has
tested something and forgot to enable it? Just as a sidenote.
------------------------------------------------------------------------
[2005-05-06 03:21:59] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32838
--
Edit this bug report at http://bugs.php.net/?id=32838&edit=1