I am using the c++ 0.6 client on windows. Indeed, I was not closing the connections. Thank you for your assistance.
________________________________ From: Gordon Sim <[email protected]> To: [email protected] Sent: Mon, 23 August, 2010 17:08:38 Subject: Re: qpid-tool list says 500 connections (4 clients), is it ok? On 08/23/2010 02:55 PM, nicolae claudius wrote: > The problem is that I can't connect to the broker with other clients after a > while. > > The list command of qpid-tool shows the following: > > > qpid: list > Management Object Types: > ObjectType Active Deleted > ====================================================== > org.apache.qpid.broker:binding 31 0 > org.apache.qpid.broker:broker 1 0 > org.apache.qpid.broker:connection 500 0 > org.apache.qpid.broker:exchange 6 0 > org.apache.qpid.broker:queue 15 0 > org.apache.qpid.broker:session 2 0 > org.apache.qpid.broker:subscription 5 0 > org.apache.qpid.broker:system 1 0 > org.apache.qpid.broker:vhost 1 0 > > > I have only 4 clinets to my server. Is it ok to have 500 connections for thees > or am I doing something wrong ? That *could* be a result of https://issues.apache.org/jira/browse/QPID-2636 (now fixed on trunk but present in 0.6). > Also the command qpid tool `list connection` shows a BIG BIG list like: > : > : > : > 648 12:09:29 - 103.10.10.8.127:7311 > 649 12:09:31 - 103.10.10.8.127:7312 > 650 12:09:34 - 103.10.10.8.127:7313 > 651 12:09:36 - 103.10.10.8.127:7314 > 652 12:09:38 - 103.10.10.8.127:7315 > 653 12:09:41 - 103.10.10.8.127:7316 > 654 12:09:43 - 103.10.10.8.127:7317 > 655 12:09:45 - 103.10.10.8.127:7318 > 656 12:09:48 - 103.10.10.8.127:7319 > 657 12:09:50 - 103.10.10.8.127:7320 > 658 12:09:53 - 103.10.10.8.127:7321 > 659 12:09:55 - 103.10.10.8.127:7322 > 660 12:09:57 - 103.10.10.8.127:7323 > 661 12:27:17 - 103.10.10.8.127:7378 > 662 13:34:40 - 103.127.0.0.1:60364 > > Is it possible that I open too many connections and don't close them. That's also possible of course. Is it possible that you aren't closing connections? What client(s) are you using? --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
