I ran into a problem similar to this early on with SquirrelMail. A friend of mine had about 1500 mail messages in his inbox and it would break when he would try to list the index. The large memory consumption happens as a result of the session data file on the server. SquirrelMail is sped up by using cached information when it goes to display your inbox listings. It caches this information in the session file. The session file holds the TO, CC, Subject, FROM, and date fields from the messages it lists, as well as any flags set on those messages. So you can imagine how it can get out of hand with large Subject, TO and CC fields.
Walker Wheeler ========================================== [EMAIL PROTECTED] 907.474.7173 University of Alaska Fairbanks Division of Computing and Communication Systems Programmer ========================================== On Fri, 20 Aug 2004, Paul Dekkers wrote: > Hi, > > I installed squirrelmail 1.4.3a from the ports under FreeBSD 5.2.1. I > also installed Apache 2.0.50, php 4.3.8 and cyrus-mail from the ports - > so far so good. I configured squirrelmail before so that was no problem > either, but as soon as I opened my inbox I saw the first problems arise: > it complained that there was not enough memory available in httpd-error.log. > > Since I saw that before I just raised the value of memory_limit in > php.ini to 16 Mb. That was not enough, so I raised it again and again > until I got a partial inbox-list and a different error with a > memory_limit of 64 Mb: raising it any further did not change the error > or complete the index, so that's where I'm stuck. > > In my httpd-error.log I see: > httpd in malloc(): error: recursive call > child pid 30524 exit signal Abort trap (6) > > I assume this error is caused by two reasons: of course my inbox is too > large (but I know that there are many users of this mailserver where the > inbox is even larger) and maybe there is something with > memory-management of squirrelmail that doesn't work fine? > Is squirrelmail allocating memory for the complete index (in my case > about ~14000 mails)? Why is this necessary and/or can I circumvene this > somehow? > > Regards, > Paul > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > -- > squirrelmail-users mailing list > List Address: [EMAIL PROTECTED] > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 -- Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
