I just upgraded a small web server to php 5.2.2 and apache to 2.2.4 on
a Win2K Pro box with MySQL 5. The only customization is loading MySQL
and MySQLi modules in PHP. Things had been working well enough under
PHP 4 and Apache 2.0, but I was wanting to upgrade to the latest and
greatest to toy with things and experiment.
However, I have noticed something that I think may be PHP's fault, but
i'm not sure. I'm seeing a memory leak in Apache. I was wondering if
there was something different about how PHP handled MySQLi result sets
or anything? I don't free_result() on all of my select statements
(this is very much an experimental site, though I'm trying to fix it
up). I'm seeing considerably more memory usage under this setup than
before I did the upgrade.
Regards,
Jeff Vandenberg
Memory Issue
Moderator: General Moderators
-
Jeff_Vandenberg
- Forum Newbie
- Posts: 3
- Joined: Mon Jul 02, 2007 10:02 pm
Re: Memory Issue
define "small".Jeff_Vandenberg wrote:I just upgraded a small web server to php 5.2.2 and apache to 2.2.4 on
a Win2K Pro box with MySQL 5.
On my private winxp computer apache is running since yesterday (~40 hours) and according to the logs there were about three dozens webdav requests, some php requests (mostly testing scripts for the board here
A very small serverServer Version: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color mod_python/3.3.1 Python/2.5.1 PHP/5.2.3 mod_perl/2.0.3 Perl/v5.8.8
There are two apache.exe processes using a total of 48MB.
-
Jeff_Vandenberg
- Forum Newbie
- Posts: 3
- Joined: Mon Jul 02, 2007 10:02 pm