Can you test my new expiremental patch for imap_messages. I achieved
almost 600 % more speed with an inbox of 650 messages.
I skipped the message-id var and in-reply-to var because i don't know
where we use that.
The patch is attached.
Marc Groot Koerkamp.
From: Robin Rainton <robin@ra...> - 2002-04-27 22:22:07
A few weeks ago there was a thread on this list about a performance
problem (the title was 'infinite loop?'). I was speculating that
something is going wrong and causing SM to chew up memory in a loop. I
suspect memory usage is the problem as my SM processes are being killed
well within the 30 second execution time window.
This happens several times a day to me and is the only problem with my
SM system. It can happen on the left or right frame while sending mails,
looking at message list, etc, etc. However, I can make it happen rather
more often with my folder sizes plugin so I decided to put some logging
in that and try and find the cause.
I placed some messages in my get_folder_size function and find that
again, this seems to be a random occurance. If I hit refresh on this
page again and again sometimes it works, sometimes not, and when the
page is killed, it happens after details have been collected for a
seemingly random number of folders.
Sometimes this happens before the call to sqimap_get_num_messages,
sometimes before the one to sqimap_get_small_header_list.
I recently changed the memory limit from 8 to 16M on my server but that
didn't seem to help at all.
Does anyone know any other reason a PHP script will return the text
'killed' aside from the memory/CPU time limits being exceeded?
I have numerous other PHP scripts running on my site, but this only
occurs within SM - has anyone any ideas?