Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 php session garbage collection #105

Open
Bluscrn opened this issue Dec 23, 2020 · 0 comments
Open

CentOS 7 php session garbage collection #105

Bluscrn opened this issue Dec 23, 2020 · 0 comments

Comments

@Bluscrn
Copy link

Bluscrn commented Dec 23, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant