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.
Log in to post a comment.