Bug #8889 Updated: Memory is not being freed.
| From: | brianlmoon@php.net | Date: | Thu, 21 Jun 2001 20:30:07 +0000 |
| Subject: | Bug #8889 Updated: Memory is not being freed. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57588@lists.php.net to get a copy of this message | ||
ID: 8889
Updated by: brianlmoon
Reported By: brian@phorum.org
Status: Closed
Bug Type: Performance problem
Operating system:
PHP Version: 4.0.4
Assigned To:
Comments:
This is all fixed in 4.0.6.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-01 03:01:29] andi@php.net
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.
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8889&edit=2