|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #693 Apache process runs out of control
Submitted: 1998-08-25 09:44 UTC Modified: 1999-05-29 11:24 UTC
From: jase at sensis dot com Assigned:
Status: Closed Package: Oracle related
PHP Version: 3.0.3 OS: Solaris 2.6.1
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: jase at sensis dot com
New email:
PHP Version: OS:


 [1998-08-25 09:44 UTC] jase at sensis dot com

It seems that after I access a page with using oracle
access several times, the next time I run a cgi script,
the server process goes out of control, using all the
cpu.  (See bugs 375 and 450).

I think it is Oracle related.  It only happens after I have
accessed a page which talked to our oracle database.

I finally had some time to look into this last week, and I
have a hack which seems to have fixed the problem.

Doing a truss on the process, it seems that there are lots
of SIGCHLDs going to it.  (I can give send the output of
this if you like.)  So, in the file main.c, at the ttop of the
function php3_parse (about line 1427), I added the following line:

signal (SIGCHLD, SIG_DFL);

I'm not much of a unix programmer, but I have played
around with it before.  After adding the line above, it
fixed my problems.

I don't know where the problem really is, though.  Is it
a problem with php?  apache?  the oracle libraries?

Will my fix above break anything else? (it hasn't so far).

I'm running apache 1.3.1 and php 3.0.3.

My configure script for php is below:




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-29 11:24 UTC] thies at cvs dot php dot net
please retry witb latest version

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 18:03:39 2021 UTC