php.net |  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
Votes:1
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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aballai at gmail dot com
New email:
PHP Version: OS:

 

 [2005-02-07 02:43 UTC] 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";
}



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-07 03:01 UTC] 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-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] tony2001@php.net
Marking this report as bogus then.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC