From: Amit Tomar Date: 2010-10-05T22:59:02+09:00 Subject: Re: how do i delete files in particular directoryin ruby ??? Thansk Jeremy for your suggestion Actully i googled a lot but could not find any document where i find how mongerl handles upload,actully mongrel is doing garbase collection but not the way i want or aplication want.this is actully what;s happening mongrel1.1.2 ruby 1.8.6 apche 2.2.16 i am running Apche frontend to mongrel and trying to upload some large file(from rails application) to filesystem.Few things i observed. 1 - The uploaded data is stored in a file "mongrel.4124.0" 2 - the mongrel file is copied to a CGI.4124.0 file (I suppose this is the regular Ruby tempfile) 3 - the tempfile is copied to the right location with the code above. after upload finishes ruby's temporary file is being garbaselly collected but mongrel temporary file is still holding memory and i would like to avoid this situation. Now again i tried to uplaod same files same things happens but this TIME mongrel old temorary file is being deleted but new mongerl file again holding the memory.. what coud i do now cud you please provide me some good link where i can find more information about mongrel like how it handles upoload or it do garbase collection -- Posted via http://www.ruby-forum.com/.