Welcome Guest, Not a member yet? Register   Sign In
ci_sessions table is getting big - like 6M records and 90meg big
#8

(07-02-2018, 08:12 PM)zurtri Wrote: hmmm. both those values are 0 in my php.ini

I guess that's the problem.

Yup. That is a problem.

InsiteFX offers a typical setting with session.gc_divisor = 1000 being the recommended "Production Value:. You could make it happen more often with

Code:
session.gc_probability = 1
session.gc_divisor = 500

The ratio of session.gc_probability to session.gc_divisor determines the chance that GC will occur not a hard and fast "once every 500 times".

You might find this article interesting.

The article suggests one reason why the values would be set to zero - so a cron job could periodically clean up. Looks like you don't' have that cron setup.
Reply


Messages In This Thread
RE: ci_sessions table is getting big - like 6M records and 90meg big - by dave friend - 07-03-2018, 10:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB