RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
02-11-2016, 04:11 PM
Solved!
Me.B You may want to review this for the installer and check if same happens on CentOS.
Ubuntu 14.04 sessions not clearing fix:
OPEN:
FIND:
REPLACE WITH:
RESTART CRON SERVICE:
Me.B You may want to review this for the installer and check if same happens on CentOS.
Ubuntu 14.04 sessions not clearing fix:
OPEN:
Code:
/etc/cron.d/php5
Code:
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)
Code:
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/sentora/sessions ] && /usr/lib/php5/sessionclean /var/sentora/sessions $(/usr/lib/php5/maxlifetime)
Code:
service cron restart