ajt has asked for the wisdom of the Perl Monks concerning the following question:
At the moment the script is running as a mod_Perl 1.26_01-dev PerlRun script on my Apache 1.3.20/NT4 box. I'm running Perl 5.6.1 ActiveState build 628, and my CGI.pm is version 2.78.
I assume that as CGI.pm is loaded once into mod_Perl on start, rather than per CGI call, then, it's normal temp file destruction is failing to happen. As far as I can tell stopping and starting Apache does not delete the files either, though it does free any locks on them.
I'm well aware that NT isn't the best possible platform, and that PerlRun is a bit of a hack for those of us not able to use mod_Perl "properly", but it's a bit annoying watching your temp folder fill up with files.
Anyone else seen this?
Is file upload not a wise thing to run under mod_Perl/PerlRun?
I know when the script runs under CGI it's all okay.
I checked SuperSearch, but as CGI, upload and mod_Perl are very common, it was hard to find anything useful from the very large number of hits returned.
As ever humble thanks in advance.
P.S. This is my 50th post. Thanks to everyone for all the answers I've had in the past, they've been very helpful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI.pm uploads under mod_Perl on WinNT
by perrin (Chancellor) on Nov 16, 2001 at 20:07 UTC | |
|
Re: CGI.pm uploads under mod_Perl on WinNT
by jlongino (Parson) on Nov 16, 2001 at 20:09 UTC | |
by ajt (Prior) on Nov 20, 2001 at 14:56 UTC |