Zen Follower
- Join Date:
- Jan 2010
- Posts:
- 182
- Plugin Contributions:
- 0
Sessions Table HUGE, bringing down site 1.5.1
After getting disk cache going via file, our session table is growing to the point I have to truncate it every hour... with active carts going.
Not sure why it's growing, I thought 1.5+ already takes care of old sessions.
I tried a script to alleviate the strain on the server by running
mysql> DELETE FROM sessions WHERE expiry < (UNIX_TIMESTAMP() - 30 * 60);
Query OK, 0 rows affected (36.59 sec)
Although it did not clean the table up. Any suggestions?