Re: mod_perl memory

2010-03-17 Thread Pavel Georgiev
On Mar 17, 2010, at 11:27 AM, Torsten Förtsch wrote: > On Wednesday 17 March 2010 12:15:15 Torsten Förtsch wrote: >> On Tuesday 16 March 2010 21:09:33 Pavel Georgiev wrote: >>> for () { >>>$request->print("--$this->{boundary}\n"); >>>$request->print("Content-type: text/html; charset=utf-8

Re: mod_perl memory

2010-03-17 Thread Torsten Förtsch
On Wednesday 17 March 2010 12:15:15 Torsten Förtsch wrote: > On Tuesday 16 March 2010 21:09:33 Pavel Georgiev wrote: > > for () { > > $request->print("--$this->{boundary}\n"); > > $request->print("Content-type: text/html; charset=utf-8;\n\n"); > > $request->print("$data\n\n"); > > $

Re: mod_perl memory

2010-03-17 Thread Perrin Harkins
2010/3/17 Torsten Förtsch : > The httpd process grows slowly but unlimited. Without the rflush() it grows > slower but still does. > > With the rflush() its size increased by 100MB for an output of 220MB. > Without it it grew by 10MB for an output of 2.3GB. > > I'd say it's a bug. I agree. This s

Re: mod_perl memory

2010-03-17 Thread Salvador Ortiz Garcia
On 03/17/2010 05:15 AM, Torsten Förtsch wrote: until( -e "/tmp/stop" ) { $r->print(("x"x70)."\n"); $r->rflush; } Just for the record: With mp1 there isn't any mem leak with or without rflush. (After 10 mins: output 109GB. Fedora's 12 stock perl 5.10.0, apache 1.3.42, mod_perl

Re: mod_perl memory

2010-03-17 Thread Torsten Förtsch
On Tuesday 16 March 2010 21:09:33 Pavel Georgiev wrote: > for () { > $request->print("--$this->{boundary}\n"); > $request->print("Content-type: text/html; charset=utf-8;\n\n"); > $request->print("$data\n\n"); > $request->rflush; > } > > And the result is endless memory growth in th