#18523 [Com]: httpd Memory consumption with new PHP
| From: | msopacua at idg dot nl | Date: | Tue, 30 Jul 2002 09:40:32 +0000 |
| Subject: | #18523 [Com]: httpd Memory consumption with new PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15553@lists.php.net to get a copy of this message | ||
ID: 18523
Comment by: msopacua@idg.nl
Reported By: tomki@alink.net
Status: Open
Bug Type: Apache related
Operating System: BSDI 4.1
PHP Version: 4.2.2
New Comment:
verified, with update gcc (2.95.3) up-to-date autotools and (g)make,
against HEAD cvs.
I'm working on a libtoolized version of the imap c-client. Maybe we
should fork that one as well? Especially since it will be quite some
time, before Apache 2 has static module support.
tomki: if you need imap, there's no other way then compiling php as a
static module.
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 21:06:40] tomki@alink.net
It does not happen with that snapshot. However, libphp4.so is not
built.. and the 'make install' fails because that isn't found. :)
------------------------------------------------------------------------
[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..
------------------------------------------------------------------------
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