Bug #12291: Apparent memory leak, possibly in session code

From: Date: Fri, 20 Jul 2001 19:27:12 +0000
Subject: Bug #12291: Apparent memory leak, possibly in session code
Groups: php.dev 
Request: Send a blank email to php-dev+get-60446@lists.php.net to get a copy of this message
From:             ted@wiz.plymouth.edu
Operating system: FreeBSD 3.x,4.x
PHP version:      4.0.6
PHP Bug Type:     Session related
Bug description:  Apparent memory leak, possibly in session code

In http error log:

	httpd in free(): warning: page is already free.

Displayed to browser:

	Fatal error: Allowed memory size of 9437184 bytes exhausted (tried to
allocate 1144 bytes)

One or more apache server processes become unstable and unable
to handle more requests.  Result is a page that "contains no data" being
sent to the client.  The problem seems to appear on machines that
serve w/session usage.  Not repeatable in a predictable manner.

I am certain it is a problem with PHP because If I change the max-memory
value in PHP.INI the value produced in the error (above) increases.

Apache version .1.3.20, with mysql support, imap support and ldap
support.   Both compiled statically and as a dynamic module.

We are actively using Mysql and sessions on both affected machines.
-- 
Edit bug report at: http://bugs.php.net/?id=12291&edit=1



Thread (3 messages)

« previous php.dev (#60446) next »