Pringle, Chris (HP-PSG) wrote:
Hi All,

Anyone experience problems with filters and large files?

I tried to download a 650MB ISO image through my proxy with a filter
enabled and it caused the box to run out of memory, thrash and
eventually panic.

Its a stream based output filter that sits in a loop doing
$f->read(...). Even when I do a return Apache::DECLINED to after every
read, I still get massive memory usage eventually leading to a crash.

Any ideas?

Chris, in the future please always report bugs following the guidelines at: http://perl.apache.org/bugs/.

I assume that you are talking about mp2 filters as you mention Apache::DECLINED, which is supposed to pass the data through unmodified. How do you send the data through? Does the filter read the data from default apache handler or do you feed it with a mod_perl response handler?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to