Author |
|
Doctortim Newbie
Joined: 25 April 2013 Location: United Kingdom
Online Status: Offline Posts: 7
|
Posted: 25 April 2013 at 5:57am | IP Logged
|
|
|
Hi,
I have an installation of WebMail Lite 6.5.2 (php on apache) running just great.
A customer of mine is using it to access his yahoo email via pop3 (they don't provide imap). He recently complained he was only seeing emails up to 2011.
I investigated and found that webmail connected ok, reported downloading 465 emails and after around 1 minute stopped (with no errors) but only displayed 216 emails in the inbox. As he said, the most recent one dated from 2011.
Looking in error_log I see the following
[24-Apr-2013 10:50:06 UTC] PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 28461422 bytes) in /home/xxxxxx/public_html/wm/common/mime/class_mailmessage.php on line 580
My hosting provider says 200MB is all that is allocated to php processes and that should be plenty.
So what is going on here? Does this behavior seem reasonable given 400 emails? I'm not sure the exact size of my customers mail but is webmail downloading the whole lot into memory? Is this likely to be a problem with a very large attachment? Is webmail going to download all the emails each time he accesses webmail? Can I easily download the most recent 50 emails (for example).
In all other respects I'm happy.
cheers,
Doc
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 April 2013 at 6:12am | IP Logged
|
|
|
In terms of POP3, WebMail downloads and parses mails entirely, extracts headers and saves mail as files. The account in question probably has a large message there, 20-30 Mbytes at least, and processing that message aborts the operation. It's hard to state specific numbers, but based on our experience, processing message of N Mbytes approximately requires N*10 Mbytes of free memory. We recommend to delete the problematic message from server using Yahoo webmail interface. Aside from that, switching to IMAP or increasing memory limit are the only options.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Doctortim Newbie
Joined: 25 April 2013 Location: United Kingdom
Online Status: Offline Posts: 7
|
Posted: 25 April 2013 at 7:57am | IP Logged
|
|
|
Igor wrote:
In terms of POP3, WebMail downloads and parses mails entirely, |
|
|
Thanks very much Igor.
Unfortunately accessing webmail to spot the offending message isn't an option.
I wasn't sure if I should expect an error displayed in the browser. I might have a look at the code and see if it is easy to skip large messages rather than aborting.
Doc.
|
Back to Top |
|
|