Website crashing, only fixed by clearing session files |
I had this problem.
Some shared hosting disables automatic garbage collection. On my server, session.gc_probability is set to 0. There is a server CRON job in place to remove garbage. However, this will never find the files CodeIgniter has created. You have to set ini values for session.gc_probability and session.gc_divisor In my /common.php I placed the following Code: // enable garbage collection |
Messages In This Thread |
Website crashing, only fixed by clearing session files - by jameslittle - 02-27-2023, 03:43 PM
RE: Website crashing, only fixed by clearing session files - by kenjis - 02-27-2023, 07:52 PM
RE: Website crashing, only fixed by clearing session files - by jameslittle - 02-27-2023, 09:26 PM
RE: Website crashing, only fixed by clearing session files - by kenjis - 02-27-2023, 09:41 PM
RE: Website crashing, only fixed by clearing session files - by jameslittle - 02-27-2023, 09:55 PM
RE: Website crashing, only fixed by clearing session files - by RichardKeasley - 03-03-2023, 03:45 AM
|