SMF Support > Server Performance and Configuration

IMPORTANT: Large sessions table on Debian/Ubuntu Linux hosted forum?

<< < (5/11) > >>

Chriss Cohn:
Can't we make a quick mod of it (until it get implemented in 1.1.5 - if they planning to do so)?

Regards, Christian

Daniel15:
I don't think it's worth packaging a mod for this fix, seeing as it's a really small one...

Panzer-:
Is this fixed in 2.0? Or is it still an issue?

metallica48423:
this is the code from 2.0:


--- Code: ---
                // Use database sessions? (they don't work in 4.1.x!)
                if (!empty($modSettings['databaseSession_enable']) && @version_compare(PHP_VERSION, '4.2.0') != -1)
                {
                        session_set_save_handler('sessionOpen', 'sessionClose', 'sessionRead', 'sessionWrite', 'sessionDestroy', 'sessionGC');
                        @ini_set('session.gc_probability', '1');
                }
                elseif (@ini_get('session.gc_maxlifetime') <= 1440 && !empty($modSettings['databaseSession_lifetime']))
                        @ini_set('session.gc_maxlifetime', max($modSettings['databaseSession_lifetime'], 60));

--- End code ---

From what i can see its been solved for a long time

Ibiza MF:
That code is in 1.1.5 also and my table is 1.5 MB with about 10 000 members, 200 online... so this shouldn't be sticky...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version