Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
t; > >>-Original Message- >>From: Jean-Jacques Clar [mailto:[EMAIL PROTECTED]] >>Sent: Thursday, September 12, 2002 10:38 AM >>To: [EMAIL PROTECTED] >>Subject: Re: memory leak in apr_buck_alloc... >> >> >>I am using WebBench to run my

Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Paul J. Reder
> Bill > > >>-Original Message- >>From: Jean-Jacques Clar [mailto:[EMAIL PROTECTED]] >>Sent: Thursday, September 12, 2002 10:38 AM >>To: [EMAIL PROTECTED] >>Subject: Re: memory leak in apr_buck_alloc... >> >> >>I am using WebB

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
operators are not implemented properly on Netware, then all kinds of bad things might happen... Bill > -Original Message- > From: Jean-Jacques Clar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 10:38 AM > To: [EMAIL PROTECTED] > Subject: Re: memory leak in a

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
Yes, and No: Test #1- 1 client, 1 small file (GIF 223 b.), the rate is around 60 req/sec tested for about half an hour and APR memory stay stable. Test #2- 1 client, 1 big file (EX, 541Kb), the rate is around 20 req/sec tested for about 20 min and APR increase by around 8 MB/min. I think I wil

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Bill Stoddard
kinds of bad things might happen... Bill > -Original Message- > From: Jean-Jacques Clar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 10:38 AM > To: [EMAIL PROTECTED] > Subject: Re: memory leak in apr_buck_alloc... > > > I am using WebBench to run my

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Bill Stoddard
Do you see the leak when repeatedly requesting one file with one client? Bill > I am using WebBench to run my test. > Request are not using keep alive. > There are a wide range of files (.ex, .html and .gif and 404s) > It leaks, whatever if I am requesting only few files or the whole 6000+ > se

Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
I am using WebBench to run my test. Request are not using keep alive. There are a wide range of files (.ex, .html and .gif and 404s) It leaks, whatever if I am requesting only few files or the whole 6000+ set of files. The leak depend on the number of clients I am using, with 40 clients and a ref

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
Which values are you using for MaxRequestsPerChild . If mine is different than 0, then nice, I don't see a leak because each of my Threads are kill once in a while.   But if it is = 0, then it leaks when refreshing entries in the cache, could it be the fact in NetWare we have one process and mu

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Bill Stoddard
> I tried to recreate this problem, but no luck so far... Same here. I was able to see an EOS bucket leak in 2.0.40 that is fixed in the latest tag. Bill

Re: memory leak in apr_buck_alloc...

2002-09-11 Thread Brian Pane
I tried to recreate this problem, but no luck so far... is there any particular type of request that I need to use to trigger the memory leak? I just ran a few hundred thousand requests for the same 1KB file through 2.0.41-pre2 with the mod_mem_cache settings below, and I can't see any sign of me

RE: memory leak in apr_buck_alloc...

2002-09-11 Thread Jean-Jacques Clar
Anyone with some kind of architecture diagrams related to the memory management in APR? Thanks, Jean-Jacques Clar

Re: memory leak in apr_buck_alloc...

2002-09-10 Thread Jean-Jacques Clar
I guess my leak is from a different source. Refreshing files in mod_mem_cache drive up the allocated memory in aprlib. It is consistent and has been there since I started using mod_cache (3-4 months ago). Justin, Were you using caching modules when you were able to reproduce/fix Brad's leak? Wha

RE: memory leak in apr_buck_alloc...

2002-09-10 Thread Sander Striker
> From: Bill Stoddard [mailto:[EMAIL PROTECTED]] > Sent: 10 September 2002 22:23 >> [Moving to [EMAIL PROTECTED]] [...] >> I think max_index is misunderstood. allocator->max_index is the index of >> the biggest block available. index = block_size / boundary_size - 1, where >> boundary_size is

Re: memory leak in apr_buck_alloc...

2002-09-10 Thread Justin Erenkrantz
On Mon, Sep 09, 2002 at 02:41:33PM -0600, Brad Nicholes wrote: > Has anybody else noticed a memory leak when requesting pages less > than 8k? If I repeatedly request pages less than 8k I have noticed > that Yeah, my recent commit to core_output_filter seems to have fixed this for me. We re

RE: memory leak in apr_buck_alloc...

2002-09-10 Thread Bill Stoddard
> [Moving to [EMAIL PROTECTED]] > > > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > > Sent: 09 September 2002 22:42 > > > On Mon, 9 Sep 2002, Brad Nicholes wrote: > > > > > Has anybody else noticed a memory leak when requesting pages less > > > than 8k? If I repeatedly request pages less

RE: memory leak in apr_buck_alloc...

2002-09-10 Thread Sander Striker
[Moving to [EMAIL PROTECTED]] > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > Sent: 09 September 2002 22:42 > On Mon, 9 Sep 2002, Brad Nicholes wrote: > > > Has anybody else noticed a memory leak when requesting pages less > > than 8k? If I repeatedly request pages less than 8k I have

RE: memory leak in apr_buck_alloc...

2002-09-10 Thread Jean-Jacques Clar
I think I have been seeing the same thing for a long time when refreshing entries in mod_mem_cache. If you find something in the alloc path I will be more than happy to try it in my lab.   "Jean-Jacques Clar" <[EMAIL PROTECTED]> on 05/21/2002 06:23:58 PMTo:    W G Stoddard/Raleigh/IBM@IBMUS

RE: memory leak in apr_buck_alloc...

2002-09-09 Thread Sander Striker
> From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > Sent: 09 September 2002 22:42 > On Mon, 9 Sep 2002, Brad Nicholes wrote: > > > Has anybody else noticed a memory leak when requesting pages less > > than 8k? If I repeatedly request pages less than 8k I have noticed that > > apr_bucket_all

Re: memory leak in apr_buck_alloc...

2002-09-09 Thread Cliff Woolley
On Mon, 9 Sep 2002, Brad Nicholes wrote: > Has anybody else noticed a memory leak when requesting pages less > than 8k? If I repeatedly request pages less than 8k I have noticed that > apr_bucket_alloc() calls allocator_alloc() which seems to continuously > malloc() memory rather than findi