How do i delete mongrel temp file

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

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

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

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.....