|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-07 03:01 UTC] rasmus@php.net
[2005-02-09 23:08 UTC] aballai at gmail dot com
[2005-02-09 23:16 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 20:00:01 2025 UTC |
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"; }