#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
| From: | tomki at alink dot net | Date: | Tue, 30 Jul 2002 01:06:41 +0000 |
| Subject: | #18523 [Fbk->Opn]: httpd Memory consumption with new PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15536@lists.php.net to get a copy of this message | ||
ID: 18523
User updated by: tomki@alink.net
Reported By: tomki@alink.net
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: BSDI 4.1
PHP Version: 4.2.2
New Comment:
It does not happen with that snapshot. However, libphp4.so is not
built.. and the 'make install' fails because that isn't found. :)
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 20:22:39] sniper@php.net
Did this happen with this snapshot:
http://snaps.php.net/php4-latest.tar.gz
???
------------------------------------------------------------------------
[2002-07-29 20:17:46] tomki@alink.net
Hunh, ok. Here's why I thought differently:
*** Warning: This library needs some functionality provided by
-lc-client.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
Making all in pear
------------------------------------------------------------------------
[2002-07-29 19:50:29] sniper@php.net
You're actually NOT supposed to compile with shared c-client. Just let
us know WHAT the error is when you try
to compile with the static c-client.
------------------------------------------------------------------------
[2002-07-29 14:59:40] tomki@alink.net
msopacua:
It's actually not GD. It's IMAP.
Initially I attempted to use the latest RC2, and began seeign this
problem.. I've tried the 2000c and 2001a since, but no dice. I've
tried it with nothing but IMAP + mysql + apxs.. within a minute there
are btwn 3 and 5 httpd processes consuming 98% of the CPU.
A problem I'm having that may be related??
The UW imapd compilation does not generate .so libraries.. and php
complains after the MAKE if the dynamic libraries are not present. I
can make them manually in the c-client directory, with 'gcc -shared -o
c-client.so *.o'..
At that point the PHP compile does not complain..
------------------------------------------------------------------------
[2002-07-27 20:44:33] msopacua@idg.nl
I'm pretty sure this is a dupe of:
http://bugs.php.net/bug.php?id=14870
tomki: Can you strip the GD stuff?
Instead of SIGUSR1 use SIGHUP and tail the error log, looking for
"child [pid] still didn't exit" errors.
It's SOME dl issue with BSDi, but I still haven't figure it out
either.
As a side note: all this goes away when you compile as a static module.
If you're tight on memory, be sure to strip httpd manually after
install, saves a meg or so, depending on the modules of course.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18523
--
Edit this bug report at http://bugs.php.net/?id=18523&edit=1