Welcome Guest, Not a member yet? Register   Sign In
Why does my session table have 40 million records?
#5

(07-23-2018, 09:08 PM)dave friend Wrote: What are the settings in php.ini for session.gc_probability and session.gc_divisor? If the first is 0 (zero) then that explains why no "garbage" ever gets "collected".

Bingo! session.gc_probability was zero for some reason. I changed this value in the PHP.ini files and restarted apache and the new value has taken hold. I'll keep an eye on the table to make sure it gets emptied periodically. It's too bad there's no log where we can check if it is in fact being emptied.
Reply


Messages In This Thread
RE: Why does my session table have 40 million records? - by sneakyimp - 07-23-2018, 09:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB