Monday 17 May 2010 5:57:45 am
Hello there, The method eZSessionGarbageCollector() is set by eZ as a PHP handler for cleaning sessions (session_set_save_handler php function) in eZ 4.0. While investigating performance issues on our Intranet production clustered RHEL servers, it appears that an important amount of slow queries (from 3 to 6 seconds) are generated by the "DELETE * FROM ezsession... " which is launched by eZSessionGarbageCollector(). With these execution time, having the session garbage collection run during users http request is a nonsense... Is this setting a recent addition to eZ Publish ? Do you know of performance "best practices" about eZ Publish which would advise to deactivate session garbage collection in php.ini or a configuration item in eZ Publish which would have the same effect ? My own analyse would be to set in php.ini the item session.gc_probability to 0 and run ez's cleanup.php as a daily cronjob script, as it was advised for Debian setups. Any experience on this subject is welcome, Thanks ! Kevin
Twitter: @kevingaudin
|