Subject: | Duplicate files under mod_perl |
I've been using File::MkTemp for two years in a mod_perl application I've written to create a random filename for a generated image, and I've never had a problem with it until just recently. A user wrote me to say that their web server kept consistently hanging the second time they made a request for an image (but never the first time). I got access to their machine and did determine that this was happening, and the problem does appear to be File::MkTemp going crazy trying to make a new temp file via "mkstemp."
This is Perl 5.8.1 on:
Linux darwin.agron.iastate.edu 2.4.20-20.9 #1 Mon Aug 18 11:45:58 EDT 2003 i686 i686 i386 GNU/Linux
ky