What is the best practice to clear old session files from cache?
I started noticing that my site was becoming slower and slower and finally found it was due to 6500+ sessions .log files sitting in the cache folder. Deleting them sped up the site dramatically. How can I make sure no more than a few days of sessions are stored?
My install: was Vanilla 1.3.9h, now 1.5.5b, Apache 2.4, PHP 7.0.6, MySQL 5.5.8 64b, Windows 7 64b, 8GB RAM, i3 3.3gHz
Modules: [Payment=Paypal] [Shipping=Canada Post 1.5.3 merged] [nonCAPTCHA]
Bookmarks