ReinerNippes/nextcloud

CentOS 7 php session garbage collection

Bluscrn opened this issue · 0 comments

After installing I found that my /usr/local/tmp/sessions/ folder was filling the 300M limit. There doesn't seem to be a phpcleanup timer or cronjob for CentOS.

I set session.gc_probability = 1 and session.gc_divisor = 100 in php.ini to have php run garbage collection with a 1% chance per session.