openva / richmondsunlight.com

The Richmond Sunlight website.
https://www.richmondsunlight.com/
MIT License
12 stars 3 forks source link

inodes are being exhausted by session data #241

Open waldoj opened 6 years ago

waldoj commented 6 years ago

Running out of inodes makes everything terrible. Increase the frequency of PHP's cookie-file garbage collection.

waldoj commented 3 years ago

Garbage collection stopped working when switching from storing sessions in Memcached to storing them on-drive, because PHP's session garbage collection doesn't work for drive-stored sessions. This functionality will need to be replaced with a cron-scheduled shell script.