[
https://issues.apache.org/jira/browse/CASSANDRA-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477576#comment-13477576
]
Chris Herron commented on CASSANDRA-4571:
-----------------------------------------
Tested this patch: https://gist.github.com/2f10efd3922fab9a095e applied to a
build from branch cassandra-1.1 at commit
4d2e5e73b127dc0b335176ddc1dec1f0244e7f6d.
This definitely reduced the growth of socket FD handles, but there must be
other scenarios like this in the codebase because it did grow beyond 2 which is
where I've seen it at steady state under normal conditions.
The AssertionErrors from CASSANDRA-4687 were so spurious that they were pegging
disk IO. When I ran the same test again with assertions disabled for the
org.apache.cassandra.db.columniterator package, I saw many errors like those
described in CASSANDRA-4417 ("invalid counter shard detected"). See my comments
in that issue.
Shouldn't CASSANDRA-4571 be re-opened?
> Strange permament socket descriptors increasing leads to "Too many open files"
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-4571
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4571
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.1
> Environment: CentOS 5.8 Linux 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21
> 17:10:18 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux.
> java version "1.6.0_33"
> Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
> Reporter: Serg Shnerson
> Assignee: Jonathan Ellis
> Priority: Critical
> Fix For: 1.1.5
>
> Attachments: 4571.txt
>
>
> On the two-node cluster there was found strange socket descriptors
> increasing. lsof -n | grep java shows many rows like"
> java 8380 cassandra 113r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 114r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 115r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 116r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 117r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 118r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 119r unix 0xffff8101a374a080
> 938348482 socket
> java 8380 cassandra 120r unix 0xffff8101a374a080
> 938348482 socket
> " And number of this rows constantly increasing. After about 24 hours this
> situation leads to error.
> We use PHPCassa client. Load is not so high (aroud ~50kb/s on write).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira