Hi guys,
How can I modify the timeout value for the pop3_lock_session ? I'd like it to be much bigger.
On Wed, 2007-02-21 at 15:48 +0100, Rene Luria wrote:
Hi guys,
How can I modify the timeout value for the pop3_lock_session ? I'd like it to be much bigger.
mbox_lock_timeout with mboxes.
With maildir it's hardcoded currently, src/lib-storage/index/maildir/maildir-uidlist.c UIDLIST_LOCK_STALE_TIMEOUT. Hmm. Actually that locking code isn't too great, because it'll overwrite the lock in 2 minutes instead of timing out. I'll have to fix it so that the file gets updated once in 10 seconds or so.
Maybe I should add pop3_lock_session_timeout which overrides the default lock settings..
Timo Sirainen wrote:
On Wed, 2007-02-21 at 15:48 +0100, Rene Luria wrote:
How can I modify the timeout value for the pop3_lock_session ? I'd like it to be much bigger.
mbox_lock_timeout with mboxes.
With maildir it's hardcoded currently, src/lib-storage/index/maildir/maildir-uidlist.c UIDLIST_LOCK_STALE_TIMEOUT. Hmm. Actually that locking code isn't too great, because it'll overwrite the lock in 2 minutes instead of timing out. I'll have to fix it so that the file gets updated once in 10 seconds or so.
Maybe I should add pop3_lock_session_timeout which overrides the default lock settings..
That'd be great !
Timo Sirainen wrote:
On Wed, 2007-02-21 at 15:48 +0100, Rene Luria wrote:
How can I modify the timeout value for the pop3_lock_session ? I'd like it to be much bigger.
BTW. Why do you want it to be larger? I was thinking that maybe the default should be something like 10 seconds.
Because with a very loaded system with thousand of users, some them having mailboxes with thousands of emails (several gigs), the time needed to reconstruct the index while having many parallel sessions is much more than 10 seconds.
For example, if there are 10 large accounts accessing their box at the same time, with dozens of small accounts logging in simultaneously...
participants (2)
-
Rene Luria
-
Timo Sirainen