Memory errors

Talk about anything that doesn't fit in the other catagories :) (and of course is about Group-Office)

Moderator: Developers

DanielMalmgren
Posts: 167
Joined: Fri Oct 28, 2011 6:24 pm
Location: Kisa, Sweden

Memory errors

Postby DanielMalmgren » Mon Apr 15, 2013 6:01 am

Hi.
Just noticed I get lots of these lines in my Apache error.log:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 60912997 bytes) in /san/www4_1_54/go/base/mail/Imap.php on line 1969
No idea if it's anything to care about, but since it says it fatal I guess it might be worth asking.

/Daniel

edit: I guess this has something to do that my php settings. My php.ini has memory_limit set to 128M (which accidentally happens to be exactly 134217728). I don't know if it's a good idea changing it though...

edit2: Checked GO error.log. It says like this:
----------------
[20130415 8:31:11] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 60912997 bytes) in /san/www4_1_54/go/base/mail/Imap.php on line 1969
User: <username> Agent: Apple-iPhone4C1/1002.329 IP: x.x.x.x
Query: User=<username>&DeviceId=ApplANYH16BRDTC0&DeviceType=iPhone&Cmd=Sync
Backtrace:
GO::shutdown in file unknown on line unknown
----------------
...so this seems to be z-push related. Those darn iPhones...
mschering
Site Admin
Site Admin
Posts: 8333
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Memory errors

Postby mschering » Mon Apr 15, 2013 12:07 pm

It happens in the function that fetches a mail message. Iphones like to request the entire mail message at once. Do you happen to have a 100MB message in your mailbox?
Best regards,

Merijn Schering
Intermesh
DanielMalmgren
Posts: 167
Joined: Fri Oct 28, 2011 6:24 pm
Location: Kisa, Sweden

Re: Memory errors

Postby DanielMalmgren » Mon Apr 15, 2013 1:32 pm

Intermesh wrote:It happens in the function that fetches a mail message. Iphones like to request the entire mail message at once. Do you happen to have a 100MB message in your mailbox?
No, I've now checked the mailboxes of some users whose names occur in these messages and I didn't find any message larger than 30MB. But you're correct in that it seems to be iPhones only. (Not entirely sure though, sadly most of our users have iPhones)

/Daniel

Who is online

Users browsing this forum: No registered users and 3 guests