[dev] Authentication session data cleaned by Kronolith
Rui Carneiro
rui.arc at gmail.com
Tue Jun 25 15:11:43 UTC 2013
On Tue, Jun 25, 2013 at 2:42 PM, Michael M Slusarz <slusarz at horde.org>wrote:
> Quoting Rui Carneiro <rui.arc at gmail.com>:
>
> I don't know if my issue is the same from the original thread but here it
>> goes.
>>
>> My sessions are also being clear but by IMP. Everything work just fine
>> with
>> "normal" accounts but when I login into a very large account (p.e. 70k
>> messages on the inbox) the session is destroyed (I am assuming this since
>> I
>> am redirected to the logout page).
>>
>> My current driver for the SessionHandler is Memcache. If I use File
>> everything works as expected.
>>
>
> You *really* shouldn't be using memcache as a sessionhandler backend. If
> using on a system with many users, you are most likely going to run out of
> the larger memory slices fairly quickly - which will cause sessions to be
> dropped due to the FIFO allocation.
>
> A mailbox with 70,000 messages requires a large data structure to
> represent. You may in fact be reaching the memcache max size limit of 1 MB.
>
We are indeed passing the 1MB size limit but shouldn't this be supported
with the large_items config?
More information about the dev
mailing list