This might be a very good reason not to use xcache as the default ( http://drupal.org/node/575678 ). I am creating the bug report just in case that is not the cause.

I just authored a very long blog post. When I hit "preview" I received a not authorized error. The post is lost.

Comments

doq’s picture

You have used alternative session handler by specifying:

 $conf['session_inc'] = './sites/all/modules/cache/session.inc';

Two bins - cache_session and cache_session_user are used in this case. xcache.var_ttl is set to 1 hour according to your configuration and your session was simply removed from xcache cache. Also Apache restart will cause all sessions to be removed. I think we should enhance documentation for this case.

I recommend using some more reliable cache engine for bins "cache_session" and "cache_session_user", e.g. memcached with several servers or use cache chaining (when xcache is backup-ed by database for example). Or simply not using alternative session handler by removing

 $conf['session_inc'] = './sites/all/modules/cache/session.inc';
doq’s picture

Component: Code » Documentation
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.