#23106 [NEW]: imap_fetch_overview hangs with 1000s of messages

From: Date: Tue, 08 Apr 2003 04:41:33 +0000
Subject: #23106 [NEW]: imap_fetch_overview hangs with 1000s of messages
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37325@lists.php.net to get a copy of this message
From: charlesb at ekit-inc dot com Operating system: solaris/i86 PHP version: 4.3.1 PHP Bug Type: IMAP related Bug description: imap_fetch_overview hangs with 1000s of messages This is very hard to pin down as (a) there is no error log produced and (b) it does not occur when the server load is small (thus setting up a standalone server with gd doesn't provide anything useful). In a nutshell, the following code crashes apache when there are a large number of messages in the inbox (1000-3000, depending on the server load). There is nothing in the error logs to help, the browser just gives an "unable to locate server" error. $stream = imap_reopen($imp->stream, '{' . "$imp->server:$imp->port". '}' . $preamble . $mboxes[$i], OP_READONLY); $MC=imap_check($imp->stream); $MN=$MC->Nmsgs; $overview=imap_fetch_overview($imp->stream,"1:$MN",0); -- Edit bug report at http://bugs.php.net/?id=23106&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23106&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23106&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23106&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23106&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23106&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23106&r=support Expected behavior: http://bugs.php.net/fix.php?id=23106&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23106&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23106&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23106&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23106&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23106&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23106&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23106&r=gnused

« previous php.bugs (#37325) next »