cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Shadix <jacobsha...@gmail.com>
Subject Re: Timeout while trying to acquire available connection
Date Mon, 26 Jun 2017 18:58:23 GMT
How many client connections are hitting your cluster?

Have you looked at tuning connection pool?
https://github.com/datastax/java-driver/tree/3.x/manual/pooling

-- Jacob Shadix

On Mon, Jun 26, 2017 at 2:50 PM, Ivan Iliev <ivan.iliev.iliev@gmail.com>
wrote:

> Hello everyone!
>
> I am seeing recent behavior of apps being not able to communicate to the
> Cassandra cluster with the following errors:
>
> All host(s) tried for query failed (tried: cassandra2-test:9042
> (com.datastax.driver.core.exceptions.DriverException: Timeout while
> trying to acquire available connection (you may want to increase the driver
> number of per-host connections)), cassandra3-test:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [cassandra3-test/] Connection has been closed), cassandra1-test:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [cassandra1-test/] Connection has been closed))
>
> I have enabled start_native_transport already but this does not fix the
> problem.
>
> I would appreciate any feedback on the problem.
>
> Thanks,
> Ivan
>

Mime
View raw message