PHP 4.0 Bug #6805 Updated: re-open bug : zombie processes
| From: | Bug Database | Date: | Thu, 21 Sep 2000 03:37:18 +0000 |
| Subject: | PHP 4.0 Bug #6805 Updated: re-open bug : zombie processes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33578@lists.php.net to get a copy of this message | ||
ID: 6805
Updated by: sniper
Reported By: ronan.salmon@ittralee.ie
Status: Closed
Bug Type: OCI8 related
Assigned To:
Comments:
Use --enable-sigchild. (Not --with-sigchild, please try ./configure --help)
Reopen this report if it doesn't help.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-18 21:20:56] ronan.salmon@ittralee.ie
Hi,
The bug is not fixed yet. I saw that all bug reports have been closed, but oracle, apache or php
still creates oracle zombie processes with the sample code below. php3.ini or php.ini is the default
one.
2 servers, same problem
A :
- oracle 8.1.5.0.2
- kernel 2.2.16
- apache 1.3.6-7
B:
- oracle 8.1.6.1
- kernel 2.2.16
- apache 1.3.12-2
on both machine, php has been built the same way :
./configure --with-apxs=/usr/sbin/apxs --prefix=/usr --enable-safe-mode --with-exec-dir=/usr/bin
--with-zlib --with-dbase --with-filepro --with-config-file-path=/etc/php3/apache --disable-debug
--enable-magic-quotes --enable-debugger --enable-bcmath --enable-track-vars --with-system-regex
--with-yp --with-oci8=path_to_oracle --with-sigchild --with-mysql
sample code :
<?
putenv("ORACLE_HOME=/home/oracle/Oracle-8.1.6.1");
putenv("ORACLE_SID=CAO");
$user = "xxx";
$password = "xxx";
$conn = ocilogon($user, $password);
ocilogoff($conn);
?>
result (ps ax --forest):
3779 ? S 0:10 httpd
7360 ? S 0:00 _ httpd
7361 ? S 0:00 _ httpd
11596 ? S 0:00 _ httpd
11597 ? S 0:00 _ httpd
11598 ? S 0:00 _ httpd
18786 ? Z 0:00 | _ [oracle <defunct>]
11742 ? S 0:00 _ httpd
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6805