Forum: Ruby on Rails tmp/sessions growing huge

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E-minenz D. (Guest)
on 2007-02-24 11:02
Is there something I should do about it? Should I empty that folder
everyonce in a while? Do I risk crashing my FS? Or I should just leave
it be?

Shark
Nick S. (Guest)
on 2007-02-24 12:26
The easiest way to resolve this problem is to write a cron job that
removes every one or two houres files that are older than a certain
time. That way you are only keeping the most recent session files.
Another option is to store the sessions in the db and delete them
occasionally.

Nick
--
http://www.railshostinginfo.com
Compare and review Rails hosts
This topic is locked and can not be replied to.