php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12291 Apparent memory leak, possibly in session code
Submitted: 2001-07-20 15:27 UTC Modified: 2001-12-15 08:29 UTC
From: ted at wiz dot plymouth dot edu Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.6 OS: FreeBSD 3.x,4.x
Private report: No CVE-ID: None
 [2001-07-20 15:27 UTC] ted at wiz dot plymouth dot edu
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-24 19:42 UTC] sniper@php.net
Does this happen with PHP 4.1.0RC3:

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
 [2001-12-15 08:29 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC