6.0.0-beta1
7/6/25

[#11159] IMP session exits if more than 292 folders
Summary IMP session exits if more than 292 folders
Queue IMP
Queue Version 5.0.20
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester rnm (at) whoi (dot) edu
Created 04/23/2012 (4822 days ago)
Due
Updated 04/24/2012 (4821 days ago)
Assigned
Resolved 04/23/2012 (4822 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/24/2012 04:23:11 PM rnm (at) whoi (dot) edu Comment #3 Reply to this comment
Thanks Michael.

I've switched my session cache to file based and the problem has 
disappeared (which resolves my issue so if you want to close this 
ticket feel free), so it's definitely related to storing session data 
in the db.

I tried bumping the settings in mysql but the problem persists.

Here's my mysql settings:

key_buffer_size = 256M
max_allowed_packet = 1M
table_open_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size= 16M
thread_concurrency = 8

user            = mysql
basedir         = /usr
datadir         = /var/lib/mysql
tmpdir          = /tmp
language        = /usr/share/mysql/english
skip-external-locking
Your session storage is most likely too small - your SQL server is 
probably limiting data entries to 64 KB.



Please use the mailing list to ask for further support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
04/23/2012 10:26:35 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
Your session storage is most likely too small - your SQL server is 
probably limiting data entries to 64 KB.



Please use the mailing list to ask for further support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
04/23/2012 07:52:24 PM rnm (at) whoi (dot) edu Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ IMP session exits if more than 292 folders
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I have a user with > 300 IMAP folders. When he clicks Folder 
Actions->Show All Folders, then tries to select a message from the 
message list, he is dropped out to the login screen. Message on the 
login screen after being kicked says "Your session has expired. Please 
login again."

I was able to reproduce the same behavior by creating a sub-folder 
called test with 300 subfolders below it. The problem seems to be 
associated with the total number of folders in the account, not an 
individual subfolder.

I'm running Horde-4.0.14, IMP-5.0.20. Backend is Cyrus IMAP. Session 
handler is SQL Database (MySQL).

Am I missing a setting in php.ini? I've tried bumping memory_limit (as 
far as 512M), post_max_size, etc to no avail.

Saved Queries