We've been seeing the occasional KeyError from the SessionStore code on our production website. We use 'File'-based sessions. We originally started using File because we kept session data on an NFS-mounted directory so we could load-balance WebKit over several machines. That turned out not to be necessary, and we're using one machine now.  (We had a lot more session issues using NFS, also.)

Over the last couple days, we've seen an uptick in the number of session KeyErrors, so I thought I'd try switching the Session store to Dynamic.  Now what's happening is that some sessions are expiring long before their timeout, within a minute or two sometimes. If I switch back to File, it stops happening.

Has anybody else seen this behavior? Any ideas for me to use in troubleshooting?

Redhat 7.3, Python 2.3, Webware 0.8.

Thanks in advance for any help you can give.  This is not an immediate showstopper, because we can use File-based sessions, but I would like to trust Memory and Dynamic sessions, too.  I did notice a slight "snappiness" improvement of pages using Memory sessions.

Cheers!
--
David Hancock | dhancock@arinc.com | 410-266-4384