Andy Koch
unread,Jul 22, 2009, 2:38:30 PM7/22/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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,