Ran, Under very heavy load using more than 50 threads with 20k payload size, I have seen Hector close connections then reopen so such that time_wait builds up and can no longer connect.
-----Original Message----- From: Ran Tavory [ran...@gmail.com] Received: 4/22/10 1:29 AM To: user@cassandra.apache.org [u...@cassandra.apache.org] Subject: Re: Will cassandra block client ? it reuses connections, yes. but wouldn't hurt to check as well ;) you may want to check the haproxy connections as well. On Thu, Apr 22, 2010 at 11:26 AM, Jeff Zhang <zjf...@gmail.com<mailto:zjf...@gmail.com>> wrote: I use the hector java client, I think it reuse the connection, or maybe I should check the source code. On Thu, Apr 22, 2010 at 4:10 PM, Ran Tavory <ran...@gmail.com<mailto:ran...@gmail.com>> wrote: > are you reusing your connections? If not, you may be running out of tcp > ports on the bombing client. check netstat -na | grep TIME_WAIT > > On Thu, Apr 22, 2010 at 10:52 AM, Jeff Zhang > <zjf...@gmail.com<mailto:zjf...@gmail.com>> wrote: >> >> Hi all, >> >> I made too many requests to cassandra , and then after a while, I can >> not connect to it. But I can still connect it from another machine ? >> So does it mean cassandra will block client in some situation ? >> >> >> >> -- >> Best Regards >> >> Jeff Zhang > > -- Best Regards Jeff Zhang