Possible Duplicate:
cleanup php session files
A lot of session files seem to be building up in my sessions folder (/home/mysite.com/sessions), even after the session expires. Do I need to manually clear these out?
I was going to write a cron job, but I can’t tell which session files are active, and I don’t want to just kill them all.
Yes, you need to manually clean them up because you’ve setup your own session save path. You can check the age of a file and delete if it’s older than x days/minutes whatever:
Taken from the note part of
php.ini:See as well this related/duplicate question: cleanup php session files
“Single” command: