|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31866 IMAP extension
Submitted: 2005-02-07 02:43 UTC Modified: 2005-02-09 23:16 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: aballai at gmail dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.3.10 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: aballai at gmail dot com
New email:
PHP Version: OS:


 [2005-02-07 02:43 UTC] aballai at gmail dot com
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");
        echo "failed ".$b++."\n";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-07 03:01 UTC]
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-09 23:08 UTC] 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-09 23:16 UTC]
Marking this report as bogus then.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 01:01:28 2024 UTC