You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Harvey (JIRA)" <ji...@apache.org> on 2014/01/03 14:47:06 UTC
[jira] [Updated] (CASSANDRA-6546) disablethrift results in unclosed
file descriptors
[ https://issues.apache.org/jira/browse/CASSANDRA-6546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Harvey updated CASSANDRA-6546:
------------------------------------
Description:
Disabling thrift results in unclosed thrift sockets being left around.
Steps to reproduce:
1. Have a handful of clients connect via thrift.
2. Disable thrift.
3. Enable thrift, have the clients reconnect.
4. Observe netstat or lsof, and you'll find a lot of thrift sockets in CLOSE_WAIT state, and they'll never go away.
* Also verifiable in org.apache.cassandra.metrics:type=Client,name=connectedThriftClients MBean.
What's extra fun about this is the leaked sockets still count towards your maximum RPC count. As a result, toggling thrift enough times will result in an rpc_max_threads number of CLOSED_WAIT sockets, with no new clients able to connect.
was:
Disabling thrift and then re-enabling thrift results in unclosed thrift sockets being left around.
Steps to reproduce:
1. Have a handful of clients connect via thrift.
2. Disable thrift.
3. Enable thrift, have the clients reconnect.
4. Observe netstat or lsof, and you'll find a lot of thrift sockets in CLOSE_WAIT state.
* Also verifiable in org.apache.cassandra.metrics:type=Client,name=connectedThriftClients MBean.
What's extra fun about this is the leaked sockets still count towards your maximum RPC count. As a result, toggling thrift enough times will result in an rpc_max_threads number of CLOSED_WAIT sockets, with no new clients able to connect.
> disablethrift results in unclosed file descriptors
> --------------------------------------------------
>
> Key: CASSANDRA-6546
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6546
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jason Harvey
> Priority: Minor
>
> Disabling thrift results in unclosed thrift sockets being left around.
> Steps to reproduce:
> 1. Have a handful of clients connect via thrift.
> 2. Disable thrift.
> 3. Enable thrift, have the clients reconnect.
> 4. Observe netstat or lsof, and you'll find a lot of thrift sockets in CLOSE_WAIT state, and they'll never go away.
> * Also verifiable in org.apache.cassandra.metrics:type=Client,name=connectedThriftClients MBean.
> What's extra fun about this is the leaked sockets still count towards your maximum RPC count. As a result, toggling thrift enough times will result in an rpc_max_threads number of CLOSED_WAIT sockets, with no new clients able to connect.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)