2006-11-24, 10:01 AM
Hi,
I've been running mybb on my sites for quite sometime and on one of my bigger sites I'm getting a lot of anonymous users/guests. (It's used as a sort of CMS)
Normally this isn't a problem but this huge amount gives me a very large session table. Because most of the people are visiting the site only once in a few weeks, this session data isn't really useful.
Because of the large amount of session entries the forum itself is becoming slow. For now I have implanted a function which removed/flushes the session entries each xx hour. This solves the speed problem on the forums but...
I wonder if mybb itself has an option to set a session lifetime? I couldn't find any option in the admincp.
*edit* about my table sizes:
Rows 782,967 (sessions table)
Effective 174.404 KB ( ~170 mb)
I've been running mybb on my sites for quite sometime and on one of my bigger sites I'm getting a lot of anonymous users/guests. (It's used as a sort of CMS)
Normally this isn't a problem but this huge amount gives me a very large session table. Because most of the people are visiting the site only once in a few weeks, this session data isn't really useful.
Because of the large amount of session entries the forum itself is becoming slow. For now I have implanted a function which removed/flushes the session entries each xx hour. This solves the speed problem on the forums but...
I wonder if mybb itself has an option to set a session lifetime? I couldn't find any option in the admincp.
*edit* about my table sizes:
Rows 782,967 (sessions table)
Effective 174.404 KB ( ~170 mb)