[
https://issues.apache.org/jira/browse/CASSANDRA-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444190#comment-13444190
]
Per Otterström commented on CASSANDRA-4571:
-------------------------------------------
To verify, we started from scratch. A new installation on 3 servers. And the FD
leak is still there. So, with our particular setup we are able to reproduce the
bug.
These are the characteristics of our setup:
- We have one single CF.
- Rows are inserted in batches.
- Rows are red, updated and deleted in a random like pattern.
- The FD leak seem to start during heavy read load (but can appear during mixed
read/write/delete operations as well).
- We are using Hector to access this single CF.
- Cassandra configuration is basically standard.
The FD leaks does not show immediately. It appears once there is ~60M rows in
CF.
> 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, 1.1.2, 1.1.3
> 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
> Priority: Critical
>
> 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