> -----Original Message----- > From: squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx > [mailto:squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of > charlie derr > Sent: Tuesday, July 11, 2006 10:04 AM > To: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > Subject: timeout issue > > We're trying to move from an older version of squirrelmail to a more > current one but are having some trouble with a timeout for people who > have several thousand messages in their inbox (those people can login to > the older squirrelmail without a problem). Both instances are > contacting the same imap mail server. > > The problem is with squirrelmail-1.4.6-7.el4 on RHEL4 and what happens is > that the left pane loads ok after login, but there is never any > content shown in the larger right hand pane. There is no error message > returned to the browser, only an empty page (some browsers show an > empty file named right_main.php and ask if you want to download/open it) > after about 15 seconds. > > For users with only a couple hundred messages things work fine. > > > On our older installation of squirrelmail, when a user's mailbox grows too > large, the user recieves a (somewhat cryptic) error about > exceeding a 30 second timeout -- but no similar error is returned for the > new server (and the big problem is that the threshhold seems to be > a much smaller inbox). > > > I've searched archives and source code for some way to increase the > timeout value, but haven't yet found it. I have a vague memory of a > post from several months ago (not even sure it was on this list) about > someone who claimed to have raised a default timeout from 30 seconds > to 300 seconds. This person said s/he had no trouble (other than the > several minute delay) with loading inboxes with huge mailboxes as long > as enough memory had been allocated in php.ini and the imap server was > fast enough. > > > I would love to know how to troubleshoot/solve this issue. http://www.squirrelmail.org/wiki/SolvingProblems Compare your squirrelmail configurations between systems. Compare your php.ini configuration between systems. There are probably discrepancies. Blank pages mean php errors. Enable or increase error reporting in php.ini (error_reporting and display_errors in php.ini). Some of the timeouts you're probably interested in are in php.ini -- default_socket_timeout, max_execution_time, max_input_time, memory_limit. Enable server side sorting in SM config if your IMAP server supports it. Use a php accelerator like Zend or other to increase performance. Use imapproxy. See http://www.squirrelmail.org/wiki/SquirrelMailPerformance -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx 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