We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Не удаляются сессии в шаблоне hosting
Не удаляются сессии в шаблоне hosting
В шаблоне hosting
php_admin_value session.save_path %home%/%user%/tmp
но сессии не удаляются из этой папки
По умолчанию в дебиане
session.gc_probability = 0
что отключает очистку сессий апачем
сессии чистятся по крону в папке /var/lib/php5
php_admin_value session.save_path %home%/%user%/tmp
но сессии не удаляются из этой папки
По умолчанию в дебиане
session.gc_probability = 0
что отключает очистку сессий апачем
сессии чистятся по крону в папке /var/lib/php5
Re: Не удаляются сессии в шаблоне hosting
Ок, проверим. Если проблема подтвердится, обновим шаблоны.
Re: Не удаляются сессии в шаблоне hosting
Решением может быть дополнительная строка в /etc/cron.d/php5
Еще подумаем над этой задачей.
Code: Select all
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /home/*/tmp/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete