We are running a high traffic site on Drupal 5.1 and the drupal session db query/updates are causing problems (DB size explosion).

Does anyone know how to:

1. disable drupal session DB updates
2. alternatives to fix db session problem
3. Any other ways to address this issue

Comments

kbahey’s picture

PHP should do it for you, if you have session.gc_lifetime set correctly.

If not, you can use this patch to expire old sessions.

http://drupal.org/node/72856
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

niklp’s picture

just for future reference, can you explicitly tell us curious folk what "set correctly" means...? :)

Are there generally good settings, or ones that are more preferable to use with Drupal, etc?

Thanks