You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/01/29 19:46:16 UTC
DO NOT REPLY [Bug 46629] New: Apache hanging on system calls for php
and perl
https://issues.apache.org/bugzilla/show_bug.cgi?id=46629
Summary: Apache hanging on system calls for php and perl
Product: Apache httpd-2
Version: 2.2.6
Platform: PC
URL: Internal application development
OS/Version: Windows Server 2003
Status: NEW
Severity: major
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: rolinger1@hotmail.com
While researching my problem using Perl 5.10, I came across another thread on
the php.net site related to this issue as well.
http://bugs.php.net/bug.php?id=44942
Using perl's backtick (ie: @files = `dir ../config /O:D /A:-D`;) command to do
a system call hangs Apache's CGI. Once it hangs any other Perl script that
uses a system call will hang leaving both 'cmd' and 'perl' process hung in
memory. And any other Perl script that doesn't have a system call will
execute, return the data, but the 'perl' process will stay resident in memory.
Eventually if enough cmd and/or perl processes remain in memory the system CPU
pegs at 100% or Apache completely locks up requiring a system reboot.
A: No log or error messages are created
B: Sometimes it goes 10 days without a hang or just two days, and sometimes
scripts with system/exec calls will run fine 100 times, and then just 5 times,
before hanging.
C: After a hang, a sevice restart usually works to get everything working
again. But occassionally a full system reboot is required.
The above link to the PHP article refers to a similar problem with PHPs 'exec'
system calls causing Apache to hang.
PS: My apologies if this is already a documented issue, I searched bugzilla and
found nothing similar in nature to what I (and the PHP users) are experiencing.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org