|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59836 support for persistent connections
Submitted: 2011-06-29 07:50 UTC Modified: 2011-10-26 01:39 UTC
From: gasper at kozak dot si Assigned: pdezwart (profile)
Status: Closed Package: amqp (PECL)
PHP Version: 5.3.6 OS:
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: gasper at kozak dot si
New email:
PHP Version: OS:


 [2011-06-29 07:50 UTC] gasper at kozak dot si
We're using AMQP on a high-through put system, and it seems 
that the establishing of a TCP connection is sometimes 
problematic; takes a LOT of time since I/O on the server is 
under stress. The RabbitMQ server is idle, but the connection 
(the actual connect() call) can take up to 20-30 seconds.

We've had these problems with MySQL, Memcache and some other 
TCP-based services, but always resolved them with persistent 
connections. Is there a possibility to implement those in 
this extension?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-07 15:40 UTC] pdezwart at gmail dot com
Hey Gasper,

This is being added to our roadmap. We hope to have it done soon, but I cannot unfortunately make any promises as to when that is exactly.

Thanks for the request.
 [2011-10-26 01:39 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
 [2011-10-26 01:39 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

This has been added to trunk at r318415 and will be part of the coming 1.0 release. (should be ready in a few weeks).
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 10 08:03:39 2023 UTC