cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JKnight JKnight <beukni...@gmail.com>
Subject Cassandra error with large connection
Date Mon, 01 Feb 2010 15:56:47 GMT
Dear all,

When working with large amount of user, we have an error:

ERROR [main] 2010-02-01 17:12:37,354 CassandraDaemon.java (line 71) Fatal
exception in thread Thread[main,5,main]

java.lang.OutOfMemoryError: unable to create new native thread

        at java.lang.Thread.start0(Native Method)

        at java.lang.Thread.start(Thread.java:597)

        at
java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)

        at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)

        at
org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:186)

        at
org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:143)

        at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:180)

I see a lot of CLOSE_WAIT TCP connection.
And when I use Java Monitor and Management Console, I see the thread
increase very fast.

Could you help me?
Thank a lot for support.

-- 
Best regards,
JKnight

Mime
View raw message