On Wed, 2003-01-08 at 09:53, Keith Mastin wrote: > I just moved one of my sites over to a new server. Everything works fine > on the test account, but when I try to access any my user from the > previous server, the memory allocation arror pops up. Testing also othe > ruser accounts from the old server results in the same. > > I searched and made changes to the php.ini file to allow 80MB > memory/script, also to increase the timeout to 60 seconds, but still > getting this error: > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 4097 bytes) in > /web/mcleodlake/html/Members/webmail/functions/imap_general.php on line 48
I would try a combination of the following: First make a parallel (clean) squirrel-mail install with the newest version and so forth; see if things operate differently. If not, then start looking at what exactly is failing. Line 48 in my imap_general.php says: if (!($read = fgets($imap_stream, $buffer))) { this is inside the sqi_fgets function that (it appears) is first called on line 67: $read = sqimap_fgets($imap_stream); I would start throwing 'echo "HELLO WORLD";' in around the calls to this function to narrow down what is timing out. My gut instinct tells me that either PHP is screwy(try a fresh install of this) or your IMAP server is returning abusively large things. Hard to say, just my guesses on your awfully non-ordinary problem. Good luck. > > I was getting this as an error page, but since editing the php.ini file, I > only get this in the left hand column where the folder list should be. > > The system is a dual PIII-500 with 1279MB RAM, running only apache and SM > (postfix, courier and SM) at present, so this should not be happening. Any > ideas, pointers? > > TIA > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > -- > 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 -- ------------------------------------------- | Caleb Phillips | | The Studio Resource | | IT Specialist | | | | Handcrafted for you in Ximian Evolution | ------------------------------------------- ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com -- 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