Hi,

> I stumbled on this post you made to the mod_perl mailing list in 1998:
>

This problem was fixed many years ago... CGI.pm did always create a new
filehandle and never destroyed it. (so it had leaked a few bytes for each
upload)

>
> My problem is with very large files. I upload, say, a 100 mb file, and the
> httpd thread stays around 12000 k until the file finishes uploading, when
it
> suddenly jumps to 200000 k. It seems that at some point along the way the
> whole file is being sucked into RAM.
>
> This is $CGI::VERSION 2.56, mod_perl version 1.25.
>

I never have heard of such a problem (and I don't upload such large files
myself).

I guess it happens somewhere inside CGI.pm (unless other formfields, file
uploads are handled by CGI.pm and not Embperl itself).

The only way to debug this I see at the moment, is to put printouts of the
httpd size into CGI.pm, to see at which point the memory is taken...

Gerald

P.S. I CC this to the list, maybe somebodyelse had a similar problem. You
can also try to ask on the mod_perl list




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to