ID: 31866 User updated by: aballai at gmail dot com Reported By: aballai at gmail dot com -Status: Feedback +Status: Closed Bug Type: Performance problem Operating System: Linux PHP Version: 4.3.10 New Comment:
This is unrelated to php and is related to c-client's ability to scale. Author of c-client will be contacted. Previous Comments: ------------------------------------------------------------------------ [2005-02-07 03:01:55] [EMAIL PROTECTED] 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