Hii all, In my rails application am uploading some large file(1 Gb),and when go windows temp folder ,mongrel temporary files are gathered there,but i want to delete ,its eating disk space .. Could anyone tell me how do that?? Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I have worked with mongrel. From what I remember, the temp files of mongrel are stored in RAILS_ROOT/tmp/pid or something like that. I used to delete them with one or some of the following rake tasks: rake tmp:cache:clear # Clears all files and directories in tmp/cache rake tmp:clear # Clear session, cache, and socket files from tmp/ rake tmp:create # Creates tmp directories for sessions, cache, sockets, and pids rake tmp:pids:clear # Clears all files in tmp/pids rake tmp:sessions:clear # Clears all files in tmp/sessions rake tmp:sockets:clear # Clears all files in tmp/sockets Hope I have helped in a way. Daniel Gaytán 2010/9/30 Amit Tomar <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> Hii all, > In my rails application am uploading some large file(1 Gb),and > when go windows temp folder ,mongrel temporary files are gathered > there,but i want to delete ,its eating disk space .. > Could anyone tell me how do that?? > > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Daniel Gaytán wrote:> I have worked with mongrel. From what I remember, the temp files of > mongrel > are stored in RAILS_ROOT/tmp/pid or something like that. > > I used to delete them with one or some of the following rake tasks: > > rake tmp:cache:clear # Clears all files and > directories > in tmp/cache > rake tmp:clear # Clear session, cache, and > socket > files from tmp/ > rake tmp:create # Creates tmp directories for > sessions, cache, sockets, and pids > rake tmp:pids:clear # Clears all files in tmp/pids > rake tmp:sessions:clear # Clears all files in > tmp/sessions > rake tmp:sockets:clear # Clears all files in > tmp/sockets > > Hope I have helped in a way. > > Daniel Gaytán > > 2010/9/30 Amit Tomar <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>Thanks Daniel for your kind information.. But Daniel when i am trying to upload large files ,nothing is being gethering in temp folder(RAILS_ROOT/tmp/pid) and i also checked other folder inside and found nothing there . In my case files are gethering in TEMP(C:\DOCUME~1\x0138466\LOCALS~1\Temp) folder and to get rid off them i have to restart server,but i don''t want to restart my server..... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.