Re: MANY folders...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010.02.08 18:59 Freddie Cash rašė:
> On Mon, Feb 8, 2010 at 8:27 AM, Ken D'Ambrosio <ken@xxxxxxxx> wrote:
>
>> Hey, all.  For various reasons, I've been asked to have an account with
>> slightly over a million e-mails divvied up between thousands of folders.
>> Shockingly (that's a joke), SquirrelMail doesn't seem too happy with
>> thousands of folders; after (roughly) 30 seconds, it times out, never
>> showing me either the messages in the inbox, nor the side panel with
>> folders.  I've grepped for "timeout" in both the Squirrelmail sourcecode
>> and php.ini, and don't see anything that seems appropriate that I
>> haven't
>> already tweaked.  (Note that I'm assuming it's a timeout issue, but I
>> suppose it could also be a memory consumption issue.)
>>
>> Since I don't need zippy response times, and I've got lots of memory,
>> I'm
>> more than willing to throw in otherwise-unreasonable values... but some
>> pointers on what to tweak (and where) would be gratefully accepted.
>>
>> Which IMAP server is this connecting to?  What format are the folders on
> the server?  And are there any local filters enabled in SM?

It does not depend on IMAP server. 1000 folders. When SquirrelMail
generates mailbox listing, it issues one IMAP command for any subscribed
IMAP folder. Magic point where processing of one big IMAP response in PHP
is faster than issuing one command for any IMAP folder is somewhere near
20 folders. If user has more than 20 folders, mailbox listing is not done
in optimal way. Now imagine how not optimal it can be with 1000 folders or
do little math. 1000 / 20 = ?

Correct fix is to fix mailbox cache generation.

-- 
Tomas


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux