Re: Apache growing (memory)

2001-04-25 Thread Remco Schaar
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

Re: Apache growing (memory)

2001-04-25 Thread G.W. Haywood
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 u

Re: [OT] writing code (was: Apache growing (memory))

2001-04-25 Thread Remco Schaar
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

Re: [OT] Apache growing (memory)

2001-04-25 Thread G.W. Haywood
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.

Re: Apache growing (memory)

2001-04-25 Thread Matt Sergeant
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)

Re: Apache growing (memory)

2001-04-25 Thread Joe Schaefer
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 rai

Re: Apache growing (memory)

2001-04-25 Thread newsreader
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 keep

RE: Apache growing (memory)

2001-04-25 Thread Brendan McAdams
urt George Gjerde [mailto:[EMAIL 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 Wi

Apache growing (memory)

2001-04-25 Thread Kurt George Gjerde
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 dow

Re: Apache growing.

2001-04-16 Thread Michael Bacarella
On Mon, Apr 16, 2001 at 11:25:47AM +0100, Dave Hodgkinson wrote: > > (I'm not sure this is even a code problem. Maybe perl is just bad at keeping > > a single consistent working set and the copy-on write from the parent Apache > > kicks in and keeps increasing unique per process memory consumption

Re: Apache growing.

2001-04-16 Thread Dave Hodgkinson
Michael Bacarella <[EMAIL PROTECTED]> writes: > (I'm not sure this is even a code problem. Maybe perl is just bad at keeping > a single consistent working set and the copy-on write from the parent Apache > kicks in and keeps increasing unique per process memory consumption). There's lots of good

Re: Apache growing.

2001-04-15 Thread Michael Bacarella
On Mon, Apr 16, 2001 at 04:44:23AM +0530, [Aquitaine] wrote: > Have a slight problem with my mod_perl script, > Every time i run it i notice that apache grows in size. The increase in size > is about > 10 kb per 100 executions, but if this carries on i cant put the script on in > a production

Apache growing.

2001-04-15 Thread [Aquitaine]
Hey all, Have a slight problem with my mod_perl script, Every time i run it i notice that apache grows in size. The increase in size is about 10 kb per 100 executions, but if this carries on i cant put the script on in a production environment. Can someone help me figure why this is happening