I’m running a simple WEBrick server for a small rails website. I
probably
get less than 100 hits per hour. I just looked in /tmp on the server
and
there are over 10,000 ruby_sess.* temp files containing:
" hash{"
flashIC:'ActionController::Flash::FlashHash{:
@used{
They’ve piled up so much that I can’t even rm -f ruby*. Bash complains
“argument list too long”
How do people typically clean these up? A cron job? Can they all be
safely deleted or should I only delete “older than…” files?
Thanks,
Gary