Lost control connection error

45 views
Skip to first unread message

Elia Mazzuoli

unread,
Oct 16, 2017, 3:21:52 AM10/16/17
to DataStax C++ Driver for Apache Cassandra User Mailing List
Hi,
I use the last tag c++ driver 2.7.1 for my application. On the current test I have 5 thread each one with it's own connection that send a data flow of 40 Mbit/sec. All is of for several minutes after that sistematically I get this errors:

{{{
1507903785.885 [ERROR] (src/pool.cpp:385:virtual void cass::Pool::on_close(cass::Connection*)): Closing established connection pool to host 127.0.0.1 because of the following error:
1507903785.885 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error:
1507903785.885 [ERROR] (src/pool.cpp:385:virtual void cass::Pool::on_close(cass::Connection*)): Closing established connection pool to host 127.0.0.1 because of the following error:
1507903785.886 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error:
1507903785.886 [ERROR] (src/pool.cpp:385:virtual void cass::Pool::on_close(cass::Connection*)): Closing established connection pool to host 127.0.0.1 because of the following error:
1507903785.885 [ERROR] (src/pool.cpp:385:virtual void cass::Pool::on_close(cass::Connection*)): Closing established connection pool to host 127.0.0.1 because of the following error:
1507903785.885 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error:
1507903785.885 [ERROR] (src/pool.cpp:385:virtual void cass::Pool::on_close(cass::Connection*)): Closing established connection pool to host 127.0.0.1 because of the following error:
1507903785.886 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error:
1507903785.885 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error:
1507903785.886 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error: Error: 'Request timed out' (0x0100000E)
1507903785.886 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error: Error: 'Request timed out' (0x0100000E)
1507903785.886 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error: Error: 'Request timed out' (0x0100000E)
1507903785.886 [WARN] (src/control_connection.cpp:267:virtual void cass::ControlConnection::on_close(cass::Connection*)): Lost control connection to host 127.0.0.1 with the following error: Error: 'Request timed out' (0x0100000E)
1507903787.886 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903787.887 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903787.887 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903787.887 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903787.888 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903789.889 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903789.889 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903789.889 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
1507903789.890 [WARN] (src/pool.cpp:393:virtual void cass::Pool::on_close(cass::Connection*)): Connection pool was unable to reconnect to host 127.0.0.1 because of the following error: Error: 'Request timed out' (0x0100000E)
}}}

It seems that a timeout cause the error, but I have deactivate all the timeout in this way:

{{{
cass_cluster_set_request_timeout ( cluster, 0 );
cass_cluster_set_connection_heartbeat_interval(cluster, 0);
}}}

and for every statement:

{{{
cass_statement_set_request_timeout ( stmt, 0 );
}}}

Someone have already seen this kind of error?

Thank you,

Elia.

Reply all
Reply to author
Forward
0 new messages