|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5445 Defunct Apache processes when ora_logon fails
Submitted: 2000-07-07 22:06 UTC Modified: 2000-07-09 13:04 UTC
From: Brandon_Bell at bcit dot ca Assigned:
Status: Closed Package: Oracle related
PHP Version: 3.0.15 OS: AIX 4.1.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: Brandon_Bell at bcit dot ca
New email:
PHP Version: OS:


 [2000-07-07 22:06 UTC] Brandon_Bell at bcit dot ca
When ora_logon fails to establish a connection because the Oracle 7.1.3 database is unavailable,
I get defunct Apache (1.3.12) processes stacking up for every logon attempt:

     web  7730 23752   1                  0:00 <defunct>
     web  9386  8762   2                  0:00 <defunct>
     web  9556  8762   1                  0:00 <defunct>
     web 13638 40776   1                  0:00 <defunct>
     web 15614 33948   1                  0:00 <defunct>

This keeps happening until I run out of available processes or I catch it and shutdown Apache.

I'm testing to see if a connection was established before proceeding with other Oracle function calls.

   $conn = ora_logon($oracleAccount, $oraclePassword); 
   if ($conn != false) {
    // do oracle stuff here
   } else {
    // display error messsage

I don't have this problem as long as the Oracle db is available.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-09 13:04 UTC] thies at cvs dot php dot net
please upgrade to the latest snapshot of PHP 3 or use PHP >= 4.0.0. then use the new configure-option --enable-sigchild

 [2011-07-29 10:39 UTC]
Automatic comment from SVN on behalf of mgf
Log: Typofix from Anon#5445, improved.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jul 29 09:01:23 2021 UTC