Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Loading all messages in current folder Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
phil
Newbie
Newbie


Joined: 23 April 2012
Location: United States
Online Status: Offline
Posts: 3
Posted: 08 February 2016 at 6:00pm | IP Logged Quote phil

Hi AfterLogic,

Background:

We operate mail servers that are for the most part used to move messages between headless systems. In some cases however, a user will want to manually inspect a particular message, for their convenience we provide afterlogic webmail lite PHP v7.

Issue:

Some of our customers are moving a million messages per month, and because they're not frequently enough cleaning out their mailboxes they're experiencing issues when attempting to access folders using afterlogic webmail. From having a look at the errors reported by PHP, the issue is we're running out of allocated memory to be able to list all the messages for the selected folder.

By the looks of it afterlogic webmail is retrieving the complete message list for a given folder, composing the list into the appropriate form and sending that composed list back to the users browser.

Question:

From what I can see there is not a setting to switch between loading all messages for a folder
- and streaming the results from the IMAP listing to the HTTP response to avoid consuming a large volume of memory while composing the data for the HTTP response
- or do the load incrementally over several requests
Or am I overlooking a setting?

If no such functionality exists, are there plans to enhance afterlogic webmail so it avoids loading all the messages for a selected folder into memory at the one time before returning the HTTP response?
- this will mean the load time for the initial view of the folder (page 1) is greatly improved, not to mention the improvements in memory use

Thanks
Phillip
Back to Top View phil's Profile Search for other posts by phil
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 09 February 2016 at 2:15am | IP Logged Quote Igor

Hi Phillip,

Indeed, when entering folder, WebMail retrieves full list of messages UIDs, which is needed for message threading to work. In case if threading is disabled, messages are retrieved on per-page basis only. There is no workaround here really, as we rely on how IMAP server handles message threads. Thus, disabling threading looks like the only viable route. It can be disabled either for specific account or globally on the installation.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
phil
Newbie
Newbie


Joined: 23 April 2012
Location: United States
Online Status: Offline
Posts: 3
Posted: 09 February 2016 at 6:32am | IP Logged Quote phil

That works great, thanks for the speedy reply!
Back to Top View phil's Profile Search for other posts by phil
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide