Re: I/O threads busy error
You're probably hitting this - https://github.com/datastax/cpp-driver/blob/2.0/src/session.cpp#L740
>From my reading it feels you may want to throttle your queries or play around with the driver settings. Essentially it seems the number of queries you're issuing is greater than what the cluster can handle and therefore they're queuing up in the driver.
On Monday, November 19, 2018, 10:24:10 PM PST, Vishal1.Sharma@xxxxxxx <Vishal1.Sharma@xxxxxxx> wrote:
I've got a 2 node Cassandra cluster(3.11.2). I'm using Datastax's c++ driver(ver 2.7) in my application to fetch/add data from the cluster(RHEL 6.9). Sometimes I'm getting the error "All connections on all I/O threads are busy" in my application. I'm unable to figure out why I am getting this error infrequently and not everytime.
Has anyone faced such errors before? Please let me know any possible reasons behind the issue.
Thanks and regards,
P.S. I don't really know whether this is a Datastax driver's issue or Cassandra's issue that's why I'm posting this query here.
"Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s).
are confidential and may be privileged. If you are not the intended recipient. you are hereby notified that any
review. re-transmission. conversion to hard copy. copying. circulation or other use of this message and any attachments is
strictly prohibited. If you are not the intended recipient. please notify the sender immediately by return email.
and delete this message and any attachments from your system.
Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email.
The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."