php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9154 HTTPD Memory Utilization Spike
Submitted: 2001-02-07 11:55 UTC Modified: 2001-07-22 12:47 UTC
From: cbenedict at synhrgy dot com Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0.4pl1 OS: RH Linux 6.2, Kernel 2.2.14
Private report: No CVE-ID: None
 [2001-02-07 11:55 UTC] cbenedict at synhrgy dot com
Using ezxmlrpc 1.0 library from ez systems to write web services.  Ezxmlrpc uses the qtdom option to process XML.  Web services are reading from and writing to Postgres 7.0.3 database.  Web services are working properly, but when they are called repeatedly (anywhere from 6 to 25 times in a row), one of the httpd processes eats all of the CPU and memory utilization spikes to over 100MB.  PHP interpreter eventually stops because max execution time of 30 secs is exceeded.  Then, memory utilization for that process drops back down to around 3MB.

I am using apache 1.3.14 and have php built as a DSO.  I do not seem to get a core dump, so I can not include a backtrace.

My configure line follows:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-magic_quotes --with-dom --with-qtdom --with-pgsql --enable-debug

I am classifying this as a performance problem, even though I know it is not.  Don't know how else to clasify it.  I know this is not enough info to begin debugging this problem.  Can someone give me some tips on how I can narrow this down?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-08 19:25 UTC] zeev@php.net
Is this fairly reproducible?
If it is, any chance you could build Apache with debug information (--enable-debug in configure), attach to an offending process (gdb /path/to/httpd <PID>), and run a backtrace ('bt')?

 [2001-06-21 09:51 UTC] zeev@php.net
Reassign status
 [2001-07-22 12:47 UTC] andy@php.net
no feedback and I think this has been fixed anyway...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 21:01:28 2024 UTC