Apache::Session::Memcached Insanity

Perrin Harkins perrin at elem.com
Wed Mar 19 21:52:49 UTC 2008


On Wed, Mar 19, 2008 at 5:42 PM, Robert Landrum <robertlandrum at gmail.com> wrote:
> Finally, at 13:20, the session was read again, and what we got was that
> original session that we wrote way back at 12:42:28.  Sometime between
> 12:43:21 and 13:20:06, the session we originally wrote got committed to
> memcached.  In the mean time however, the writing process (21133) wrote to,
> and read from memcached (I have an expanded log), so I know it wasn't hung.
>
> I cannot figure out how that could have happened.

It could mean that the original write was waiting for the lingering
close on a TCP connection before finishing and writing the session.
Do you have  a frontend proxy?  Do you do anything in a cleanup
handler?  Do you explicitly force the session to write, or just let it
go out of scope?

- Perrin


More information about the memcached mailing list