Patch to SessionDynamicStore.
PROBLEM: Crawler bots generates lot of sessions which aren't used more than once, as crawlers usually doesn't implements cookies.
Although these sessions aren't used they're still swapped to the Sessions directory and occupies space.
SOLUTION: The "one-shot sessions" aren't moved to FileStore on periodical clean-up. They are still saved on Session store shutdown.
This patch greatly reduces number of files in Sessions directory, especially on low traffic server.
Used on production server: http://www.cestovatel.cz/ with no problems (Webware 0.8), ported to last versions.
Download on http://veros.koren.cz/patches/webware-sessionstore.patch
patch file
Logged In: YES
user_id=193957
Originator: NO
That makes much sense, thanks for the patch. It is implemented in the trunk now.