Bug #8889 Updated: Memory is not being freed.
| From: | andi@php.net | Date: | Tue, 01 May 2001 07:01:29 +0000 |
| Subject: | Bug #8889 Updated: Memory is not being freed. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53163@lists.php.net to get a copy of this message | ||
ID: 8889
Updated by: andi
Reported By: brian@phorum.org
Old-Status: Open
Status: Closed
Bug Type: Performance problem
PHP Version: 4.0.4
Assigned To:
Comments:
The main problem is that once the system's standard C library allocates heap space (with the
sbrk() system call) it will never return that memory to the system.
PHP can't solve this problem. If you do find certain things in the future which take up much
more memory than they should please open a new bug report and we will check into it.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-30 14:31:27] brian@phorum.org
I am talking about nearly endless amounts. I saw Apache processes with as much as 14MB of memory in
use.
Brian.
---------------------------------------------------------------------------
[2001-04-29 19:59:56] zeev@php.net
What kind of sizes are we talking about here? the Zend memory manager holds a memory cache, but
we're talking at around 1MB per process max.
---------------------------------------------------------------------------
[2001-01-26 18:45:45] brian@phorum.org
Ok, this is just like what is described in http://marc.theaimsgroup.com/?l=php-dev&m=97923602322593&w=2
which contains a hacked up solution. It looks like it should be able to turn into a usable end
solution.
---------------------------------------------------------------------------
[2001-01-24 13:21:13] brian@phorum.org
Hi guys,
I do not have much information. I know that my Apache processes memory is growing by the minute.
If I start a separate server on another port and serve only static pages and files through it, those
process do not grow.
I have tried what I remembered of gdb but have not come up with anything. I know I need to attach
to a process and it seems I can
gdb {pid} but that gives me nothing. How can I get
some info for you guys? I do have --enable-debug.
thanks,
Brian.
Phorum.org
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8889&edit=2