baikal-docker
baikal-docker copied to clipboard
PHP Sessions are not cleaned up
Hi there,
we are noticing that /var/lib/php/sessions
gets spammed with sessions over time.
Every few months we have to kill our pod because it taking too much inodes because of too many session files (currently 3226291).
Executing the script from /etc/cron.d/php
could clean up the session.
Maybe it would be a good idea to add cron to the images and start it using /docker-entrypoint.d/
?