> Jean-Denis Girard wrote:
> > 
> > Everything worked flawlesly, the web site was still working, but after a 
> > few days, visitors started to complain  that uplaods didn't work. 
> > mod_perl dies with the message:
> >     [libapreq] could not create/open temp file
> > What is really funny, is that it works after rebooting the system, and 
> > the error shows up later.

Where are the temp files being created, on a RAM disk or something?
pre 1.0 apreq's had a bug that caused filehandles to leak (there's
a refcount problem in the IO parts of perl's ExtUtils/typemap), which
would eventually fill up /tmp (this is the default location of your 
spooled apreqXXXX files) until apache was restarted.


> > I upgraded libapreq to 1.0, which didn't solve the problem. Next step 
> > will be to upgrade APache, mod_perl, etc. but I would like some help.

In 1.0, we no longer use perl's ExtUtils/typemap for this, which should
take care of the aforementioned leak.  One other possible candidate is 
that your apache server is segfaulting after the file is received, which 
prevents apache from cleaning up the temp files.  If so, you should see
a bunch of apreqXXXX files filling up your spool directory.

-- 
Joe Schaefer
[EMAIL PROTECTED]

Reply via email to