I am experiencing a major problem with session files... only seems to of manifested itself since moving host.
But basically, magento keeps creating multiple sessions per minute... I just logged in and in the space of just over 12 hours I found over 30,000 session files.
I dont know why its doing this, or what process is creating them but the website has not had 30,000 visitors in that period of time.
Any advise is much appreciated.
What specific version of Magento 1.9 are you on?
How are you saving the sessions?
What is the lifetime of the sessions?
Can you do a diff to make sure all the code is in there and correct (like nothing was hacked)?
It's usually caused by PHP which is unable for some reason wipe old session files. The "some reason" is usually poorly configured hosting. Easiest way to get around it is to create a cron job that removes outdated sessions. It's by no means ideal approach nor elegant, but it keeps your system alive (read: not running out of inodes) until you find more permanent solution.