From: aballai at gmail dot com
Operating system: Linux
PHP version: 4.3.10
PHP Bug Type: Performance problem
Bug description: IMAP extension
Description:
------------
IMAP extension does not handle 150+ simultaneous transactions. Random
connections to IMAP are dropped.
Run the code below in multiple processes simultaneously to see connections
dropped.
This performance issue is seen in enterprise webmail systems. Unless
caching is used, which it always should, connections will be dropped.
Reproduce code:
---------------
$b =0;
for( $a = 0; $a< 100; $a++)
{
$mbox = imap_open("{localhost:143/imap/notls/novalidate-cert}INBOX",
"user", "pass");
if(!$mbox)
echo "failed ".$b++."\n";
}
--
Edit bug report at http://bugs.php.net/?id=31866&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31866&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31866&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31866&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31866&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31866&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31866&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31866&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31866&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31866&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31866&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31866&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31866&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31866&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31866&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31866&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31866&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31866&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31866&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31866&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31866&r=mysqlcfg