RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
02-11-2016, 05:24 PM
I did. The cron path is wrong for Ubuntu. Instead of saving sessions in /var/lib/php5 which is the default, they are saved in /var/sentora/sessions which is the Sentora default. Ubuntu 14.04 uses a cron job for purging older sessions instead of letting apache/php handle it. This is default behavior for web servers on Ubuntu according to my research. File and folder permissions were not changed during this process. They are the defaults Sentora setup during install.
Ever since the path fix in the cron file, my sessions have been being cleared properly.
Ever since the path fix in the cron file, my sessions have been being cleared properly.