php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #375 Repeated access to oracle database causes normal cgi scripts to hang
Submitted: 1998-05-14 12:08 UTC Modified: 1998-05-16 02:25 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: jase at sensis dot com Assigned: rasmus (profile)
Status: Closed Package: Oracle related
PHP Version: 3.0 Release Candidate 4 OS: Solaris 2.5.1
Private report: No CVE-ID: None
 [1998-05-14 12:08 UTC] jase at sensis dot com
We're using an Oracle 7.3.(2.2.0) database and Apache.
Configured PHP with --with-apache=<path to apache> --with-oracle=<path to oracle> --enable-track-vars --with-system-regex

How to reproduce the problem:
View a php page that talks to the oracle database, and refresh it many times ( > 10).  Then run a normal cgi script (you may need to refresh this several times).  Eventually, the script will not load.  The httpd process serving it will increase it's utilization, making the host very sluggish.  The process' utilization never comes down.

I've tried apache 1.3b6 and 1.2.6 with the same results.  I've also tried compiling apache with
EXTRA_CFLAGS=-DNO_SLACK=1 -DUSE_FCNTL_SERIALIZED_ACCEPT=1
(as per problem id 1), but it still did not help.

All cgi scripts are affected by this.  The one I use to test is test-cgi, which comes with Apache.

When I look at the Apache server status, the process which is out of controll has a status of W, which is "Sending Reply".  The cgi script itself does not show up in the list of processes using ps.

Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-16 02:25 UTC] rasmus
This is most likely fixed, and it wasn't related to the Oracle support specifically.  Try the latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 09:01:30 2024 UTC