php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6805 re-open bug : zombie processes
Submitted: 2000-09-18 21:20 UTC Modified: 2000-09-20 23:37 UTC
From: ronan dot salmon at ittralee dot ie Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.2 OS: RedHat 6.x
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ronan dot salmon at ittralee dot ie
New email:
PHP Version: OS:

 

 [2000-09-18 21:20 UTC] ronan dot salmon at ittralee dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-20 23:37 UTC] sniper@php.net
Use --enable-sigchild. (Not --with-sigchild, please try ./configure --help)

Reopen this report if it doesn't help.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 09:01:26 2025 UTC