Hi,
I recently discovered the following on an Apache/mod_perl server.
I have Apache for win32, ActiveState's Perl and the mod_perl PPM installed
(on a Windows 2000 Pro OS, but read on anyway ;). All were downloaded and
installed last week so they are the latest versions.
Each time a page is
PROTECTED]]
Sent: Wednesday, April 25, 2001 08:13
To: [EMAIL PROTECTED]
Subject: Apache growing (memory)
Hi,
I recently discovered the following on an Apache/mod_perl server.
I have Apache for win32, ActiveState's Perl and the mod_perl PPM
installed
(on a Windows 2000 Pro OS, but read on anyway
On Wed, Apr 25, 2001 at 10:02:06AM -0400, Brendan McAdams wrote:
Our application performance actually
improved across the board when we implements MaxRequests... (This
Do you have numbers to back this up? How does reading in a new
script every now and then IMPROVE anything compared to
Kurt George Gjerde [EMAIL PROTECTED] writes:
Each time a page is downloaded the Apache service process claims more
memory. Well, not each time but like for every 20th download the task
manager shows Apache using 20-30K more...
A test showed that reloading the same page 2000 times raised
On Wed, 25 Apr 2001, G.W. Haywood wrote:
Hi all,
On Wed, 25 Apr 2001, Remco Schaar wrote:
It is very hard to write perfect code,
True, but it's not hard to write code that doesn't leak memory.
void *p = NULL;
...
...
if( p ) { exit(POINTER_ERROR); }
void *p = malloc(n);
...
...
Hi Matt,
On Wed, 25 Apr 2001, Matt Sergeant wrote:
Easier still, just use boehm gc. ;-)
Can you get that for MS-DOS?
73,
Ged.
On Wed, 25 Apr 2001, G.W. Haywood wrote:
Hi all,
Hi again,
On Wed, 25 Apr 2001, Remco Schaar wrote:
It is very hard to write perfect code,
True, but it's not hard to write code that doesn't leak memory.
void *p = NULL;
...
...
if( p ) { exit(POINTER_ERROR); }
void *p =
Hi all,
On Wed, 25 Apr 2001, Remco Schaar wrote:
It is very hard to write perfect code,
True, but it's not hard to write code that doesn't leak memory.
void *p = NULL;
...
...
if( p ) { exit(POINTER_ERROR); }
void *p = malloc(n);
...
...
free( p );
p = NULL;
...
...
By which I mean that I
On 25 Apr 2001, Joe Schaefer wrote:
Kurt George Gjerde [EMAIL PROTECTED] writes:
Hi,
Even if your script were coded perfectly, it is still possible for this
to happen in modperl.
Personally, I would consider an average growth rate of only .5kB/hit
absolutely wonderful :)
As far I ever