Ruby on Rails Thursday, September 30, 2010

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@ruby-forum.com>

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@googlegroups.com.
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.

No comments:

Post a Comment