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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 05:01:28 2024 UTC