ci_sessions table is getting big - like 6M records and 90meg big |
(07-02-2018, 08:12 PM)zurtri Wrote: hmmm. both those values are 0 in my php.ini 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 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. |
Messages In This Thread |
ci_sessions table is getting big - like 6M records and 90meg big - by zurtri - 07-02-2018, 04:58 PM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by skunkbad - 07-02-2018, 05:26 PM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by zurtri - 07-02-2018, 05:50 PM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by dave friend - 07-02-2018, 07:13 PM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by zurtri - 07-02-2018, 05:58 PM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by zurtri - 07-02-2018, 08:12 PM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by dave friend - 07-03-2018, 10:35 AM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by InsiteFX - 07-03-2018, 04:47 AM
RE: ci_sessions table is getting big - like 6M records and 90meg big - by zurtri - 07-03-2018, 03:41 PM
|