You could use tmpfs. Actually pretty sure that is what is recommended in the documentation, though I couldn't find it. My googlefu is lacking
http://en.wikipedia.org/wiki/Tmpfs On Sat, Sep 15, 2012 at 10:57 AM, Justin Karneges <[email protected]> wrote: > Hello, > > Does Mongrel2 do any kind of cleanup of uploaded files on its own? It looks > like if I reject a request quickly then a file never gets written. However, if > I respond after the file has been uploaded, then the file remains on disk. The > file also remains on disk if I never respond at all (like a crashed handler). > It's the crash case that I'm worried about, where I never have a chance to > properly account for the file. > > I'm thinking of adding a sweeping process that periodically removes old files > from my uploads dir. Does this seem right? > > Justin
