Lots of Session Files

Permalink
Hi,

I have a concrete installation, but for some reason there are over 25,000 session files in /files/tmp, adding up to over 400MB - can I delete those safely?

 
JohntheFish replied on at Permalink Reply
JohntheFish
Generally yes.
You may end up logged out if your current session is amongst the files deleted.

If on 5.6.x, you may want to have a look at my free cache vac job.
https://www.concrete5.org/marketplace/addons/cache-vac/documentation...
Mainio replied on at Permalink Reply
Mainio
If you're running a site which has some users you don't want to log out, you can just delete the session files created 24h ago or before that:

find /path/to/concrete/root/files/tmp/sess_* -mtime +0 -exec rm {} \;