Database Reference
In-Depth Information
Click here to view code image
WARN [main] 2011-06-15 09:58:56,861
CLibrary.java (line 118)
Unable to lock JVM memory (ENOMEM)
This can result in part of the JVM being swapped out, especially with
memory-mapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cas-
sandra as root.
Insufficient nofiles setting (example 1):
Click here to view code image
WARN 05:13:43,644 Transport error occurred dur-
ing acceptance of
message.
org.apache.thrift.transport.TTransportException:
java.net.
SocketException:
Too many open files . . .
Insufficient nofiles setting (example 2):
Click here to view code image
ERROR [MutationStage:11] 2012-04-30 09:46:08,102
AbstractCassandraDaemon.java (line 139) Fatal
exception in
thread Thread[MutationStage:11,5,main]
java.lang.
OutOfMemoryError: unable to create new native
thread
You can view the current limits using the ulimit -a command. Although
limits can also be temporarily set using this command, it is recommended that you
permanently change the settings by adding the entries shown in Listing 10.6 to
your /etc/security/limits.conf file.
Listing 10.6 limits.conf File Example for Cassandra Running as Root
 
Search WWH ::




Custom Search