rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
* temp upload files
@ 2009-07-22 18:38 Andy Koch
  0 siblings, 0 replies; only message in thread
From: Andy Koch @ 2009-07-22 18:38 UTC (permalink / raw)
  To: Rack Development


Hi,

Question about temp files created when Apache/Passenger is receiving
uploaded files.

I noticed in /tmp there were many files like "RackMultipart2009....".
Some of them were quite old, over a month old.

I'm wondering why these stale upload files are still present in /tmp?

There seems to be some auto-cleaning happening, since there were many
more uploads than what was listed in /tmp.

I thought maybe they resulted from incomplete uploads, perhaps if the
client uploading stops mid-stream.  But then we tried an upload and
the temp RackMultipart files were still in /tmp after the files had
been completely uploaded.

Also, is there a recommended way to remove these stale files?  I can
do a cron job easy enough, but maybe there is a Passenger setting I'm
not aware of?

Thank you,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-22 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-22 18:38 temp upload files Andy Koch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).