After discovering 137.890 small session leper gnomes in my /tmp
filesystem I searched the net and came up with this handy little script:
/etc/cron.daily/ruby_sessions:
#!/bin/bash
find /tmp -maxdepth 0 -name ruby_sess.\* -mtime +168 -exec rm {} \;
168 is how many hours to wait before the killing the session leper gnome.
--
SIMEN BREKKEN