<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Losing Connections to Cassandra</title>
		<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 03:01:15 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/losing-connections-to-cassandra" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-1921</link>
			<pubDate>Wed, 16 May 2012 01:53:40 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1921@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.clearance-polo-shirts.com&#34; title=&#34;polo shirts outlet online&#34;&#62;polo shirts outlet online&#60;/a&#62; are labeled &#34;polos&#34; as well as became therefore popular on the game of golf classes; persons started phoning all of them the game of golf tops. Even though terms &#34;&#60;a href=&#34;http://www.clearance-polo-shirts.com&#34; title=&#34;abercrombie polo outlet online&#34;&#62;abercrombie polo outlet online&#60;/a&#62; &#34; as well as &#34;golf shirt&#34; are employed interchangeably, the idea &#34;polo shirt&#34; will be popular. Embroidered &#60;a href=&#34;http://www.clearance-polo-shirts.com&#34; title=&#34;lacoste polo shirts outlet store&#34;&#62;lacoste polo shirts outlet store&#60;/a&#62; are put on intended for company, everyday as well as leisure activities&#60;a href=&#34;http://www.clearance-polo-shirts.com&#34;&#62;http://www.clearance-polo-shirts.com&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zznate on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-414</link>
			<pubDate>Tue, 09 Aug 2011 18:00:20 +0000</pubDate>
			<dc:creator>zznate</dc:creator>
			<guid isPermaLink="false">414@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;rkreznarich,&#60;br /&#62;
See the post above - is it possible you are sending a payload larger than 16mb in a single operation?&#60;/p&#62;
&#60;p&#62;The general issue here is that a socket error usually only results when a Cassandra server hits the wall. We probably take an over-agressive approach here on removing the pool after receiving the first error. I'll take a look and see if there is something quick here that we can get out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zznate on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-413</link>
			<pubDate>Tue, 09 Aug 2011 17:58:03 +0000</pubDate>
			<dc:creator>zznate</dc:creator>
			<guid isPermaLink="false">413@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Anthony,&#60;br /&#62;
You should not have to delete any data in order to change this parameter. For reference though, see the following guide on backups:&#60;br /&#62;
&#60;a href=&#34;http://www.datastax.com/docs/0.8/operations/scheduled_tasks#backing-up-data&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/0.8/operations/scheduled_tasks#backing-up-data&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks for the additional info though. Let me know how it goes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rkreznarich on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-412</link>
			<pubDate>Mon, 08 Aug 2011 17:42:33 +0000</pubDate>
			<dc:creator>rkreznarich</dc:creator>
			<guid isPermaLink="false">412@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Nate, We put in the change to go to Hector 0.8.0-2 and set the useSocketKeepalive = true in our startup configuration, but it had no effect.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anthony.ikeda on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-411</link>
			<pubDate>Mon, 08 Aug 2011 17:25:19 +0000</pubDate>
			<dc:creator>anthony.ikeda</dc:creator>
			<guid isPermaLink="false">411@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Nate, I raised this on the Cassandra User mailing list about a week ago with what I just discovered the following resolution.&#60;/p&#62;
&#60;p&#62;It seems Tim Snyder recommended increasing the size value of:&#60;/p&#62;
&#60;p&#62;# The max length of a thrift message, including all fields and&#60;br /&#62;
# internal thrift overhead.&#60;br /&#62;
thrift_max_message_length_in_mb: 16&#60;/p&#62;
&#60;p&#62;Which seems to have fixed the problem for him. He also had to delete the data stores in order for it to work.&#60;/p&#62;
&#60;p&#62;Are there any scripts to back up the data we have so it can be restored once we have changed this setting? Or do we need to manually use the sstable2json to perform this task on each column family data file?&#60;/p&#62;
&#60;p&#62;Anthony
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rkreznarich on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-408</link>
			<pubDate>Fri, 05 Aug 2011 21:38:52 +0000</pubDate>
			<dc:creator>rkreznarich</dc:creator>
			<guid isPermaLink="false">408@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hector -&#38;gt; 0.8.0-1&#60;br /&#62;
Cassandra -&#38;gt; 0.8.0&#60;/p&#62;
&#60;p&#62;I will add the useSocketKeepalive in our configuration and try that out.&#60;/p&#62;
&#60;p&#62;Thanks for your reply.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zznate on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-406</link>
			<pubDate>Fri, 05 Aug 2011 01:24:00 +0000</pubDate>
			<dc:creator>zznate</dc:creator>
			<guid isPermaLink="false">406@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;What version of Hector I you using? If you are not already, please upgrade to either 0.7.0-31 or 0.8.0-2 depending on which version of Cassandra you are using (0.7.x or 0.8.x respectively).&#60;/p&#62;
&#60;p&#62;In both versions it might be advisable to enable keep-alive via CassandraHostConfigurator#setUseSocketKeepalive
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rkreznarich on "Losing Connections to Cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/losing-connections-to-cassandra#post-405</link>
			<pubDate>Thu, 04 Aug 2011 22:48:49 +0000</pubDate>
			<dc:creator>rkreznarich</dc:creator>
			<guid isPermaLink="false">405@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;We are experiencing an issue where we are losing Cassandra connections intermittently.  Here is what happens in the logs:&#60;/p&#62;
&#60;p&#62;(specific host footprint information removed from log file)&#60;/p&#62;
&#60;p&#62;A request comes in and we get this ERROR entry ...&#60;/p&#62;
&#60;p&#62;ERROR [me.prettyprint.cassandra.connection.HThriftClient] - Could not flush transport (to be expected if the pool is shutting down) in close for client: XXXX&#60;br /&#62;
org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe&#60;/p&#62;
&#60;p&#62;At the end of this exception chain, the pool is marked down ...&#60;/p&#62;
&#60;p&#62;ERROR [me.prettyprint.cassandra.connection.HConnectionManager] - MARK HOST AS DOWN TRIGGERED for host XXXX&#60;br /&#62;
ERROR [me.prettyprint.cassandra.connection.HConnectionManager] - Pool state on shutdown: &#38;lt;ConcurrentCassandraClientPoolByHost&#38;gt;:{XXXX}; IsActive?: true; Active: 1; Blocked: 0; Idle: 15; NumBeforeExhausted: 49&#60;br /&#62;
ERROR [me.prettyprint.cassandra.connection.ConcurrentHClientPool] - Shutdown triggered on &#38;lt;ConcurrentCassandraClientPoolByHost&#38;gt;:{XXXX}&#60;br /&#62;
ERROR [me.prettyprint.cassandra.connection.ConcurrentHClientPool] - Shutdown complete on &#38;lt;ConcurrentCassandraClientPoolByHost&#38;gt;:{XXXX}&#60;br /&#62;
INFO [me.prettyprint.cassandra.connection.CassandraHostRetryService] - Host detected as down was added to retry queue: XXXX&#60;br /&#62;
WARN [me.prettyprint.cassandra.connection.HConnectionManager] - Could not fullfill request on this host CassandraClient&#38;lt;XXXX&#38;gt;&#60;/p&#62;
&#60;p&#62;... and it appears as if the connection has been lost.&#60;/p&#62;
&#60;p&#62;Eventually a new incoming request will reset the connection and the connection pool will be reestablished, but that initial incoming request fails.&#60;br /&#62;
Subsequent requests work ok.  &#60;/p&#62;
&#60;p&#62;The connections are reestablished ...&#60;/p&#62;
&#60;p&#62;INFO [me.prettyprint.cassandra.connection.CassandraHostRetryService] - Downed Host retry status true with host: XXXX&#60;br /&#62;
INFO [me.prettyprint.cassandra.connection.HConnectionManager] - Added host XXXX to pool&#60;br /&#62;
INFO [me.prettyprint.cassandra.connection.CassandraHostRetryService] - Downed Host retry status true with host: XXXX&#60;br /&#62;
INFO [me.prettyprint.cassandra.connection.HConnectionManager] - Added host XXXX to pool&#60;/p&#62;
&#60;p&#62;Everything works ok for awhile again.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
