incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject too many open files 0.7.0 beta1
Date Thu, 26 Aug 2010 04:05:00 GMT
Under 0.7.0 beta1 am seeing cassandra run out of files handles...

Caused by: java.io.FileNotFoundException: /local1/junkbox/cassandra/data/junkbox.wetafx.co.nz/ObjectIndex-e-31-Index.db
(Too many open files)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
        at org.apache.cassandra.io.util.BufferedRandomAccessFile<init>(BufferedRandomAccessFile.java:142)

If I look at the file descriptors for the process I can see it already has 1,958 for to
the file 

sudo ls -l /proc/20862/fd | grep "ObjectIndex-e-31-Data.db" |  wc -l
1958

Out of a total of 2044. 

Other nodes in the cluster have a similar number of fd's - around 2k with the majority to
one SSTable. 

I did not experience this under 0.6 so just checking if this sounds OK and I should just increase
the number of handles or if it's a bug?

Thanks
Aaron




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message