Support Policy      Security Notices

Errors in Apache Cassandra, DSE, and OpsCenter Due to Insufficent Resource Limit Settings

Follow
Created: 2012-08-17 20:23:08 UTC
Last Update: 2017-07-14 20:53:03 UTC

Comments

1 comment

  • Avatar
    Ravinder Matte

    Is there any command to find out present cassandra map count? We have vm.max_map_count set to 131072, but still failing with following error message.
    at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:200)
    at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.complete(MmappedSegmentedFile.java:168)
    at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:345)
    at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:335)
    at org.apache.cassandra.streaming.StreamReceiveTask$OnCompletionRunnable.run(StreamReceiveTask.java:126)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.io.IOException: Map failed
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:907)
    at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:192)
    ... 9 more
    Caused by: java.lang.OutOfMemoryError: Map failed
    at sun.nio.ch.FileChannelImpl.map0(Native Method)
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:904)
    ... 10 more
    ERROR [StreamReceiveTask:17414] 2015-12-02 00:43:50,881 StorageService.java (line 372) Stopping gossiper
    WARN [StreamReceiveTask:17414] 2015-12-02 00:43:50,881 StorageService.java (line 280) Stopping gossip by operator request
    INFO [StreamReceiveTask:17414] 2015-12-02 00:43:50,881 Gossiper.java (line 1330) Announcing shutdown
    ERROR [StreamReceiveTask:17414] 2015-12-02 00:43:52,882 StorageService.java (line 377) Stopping RPC server
    INFO [StreamReceiveTask:17414] 2015-12-02 00:43:52,882 ThriftServer.java (line 141) Stop listening to thrift clients
    ERROR [StreamReceiveTask:17414] 2015-12-02 00:43:52,884 StorageService.java (line 382) Stopping native transport

Please sign in to leave a comment.