#31866 [Csd->Bgs]: IMAP extension
| From: | tony2001@php.net | Date: | Wed, 09 Feb 2005 22:16:34 +0000 |
| Subject: | #31866 [Csd->Bgs]: IMAP extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73723@lists.php.net to get a copy of this message | ||
ID: 31866
Updated by: tony2001@php.net
Reported By: aballai at gmail dot com
-Status: Closed
+Status: Bogus
Bug Type: Performance problem
Operating System: Linux
PHP Version: 4.3.10
New Comment:
Marking this report as bogus then.
Previous Comments:
------------------------------------------------------------------------
[2005-02-09 23:08:32] aballai at gmail dot com
This is unrelated to php and is related to c-client's ability to scale.
Author of c-client will be contacted.
------------------------------------------------------------------------
[2005-02-07 03:01:55] rasmus@php.net
Write a little C program against the cclient libary that does the same
and see if you have the same problem. If so, report it to the cclient
author. If not, we will have a look. On the surface I doubt this is a
PHP issue.
------------------------------------------------------------------------
[2005-02-07 02:43:34] aballai at gmail dot com
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 this bug report at http://bugs.php.net/?id=31866&edit=1