You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Oleg Dulin <ol...@gmail.com> on 2013/10/29 12:21:25 UTC

Too many open files with Cassandra 1.2.11

Got this error:

WARN [Thread-8] 2013-10-29 02:58:24,565 CustomTThreadPoolServer.java 
(line 122) Transport error occurred during acceptance of message.
     2 org.apache.thrift.transport.TTransportException: 
java.net.SocketException: Too many open files
     3         at 
org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomServerSocket.java:109) 

     4         at 
org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomServerSocket.java:36) 

     5         at 
org.apache.thrift.transport.TServerTransport.accept(TServerTransport.java:31) 

     6         at 
org.apache.cassandra.thrift.CustomTThreadPoolServer.serve(CustomTThreadPoolServer.java:110) 

     7         at 
org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.run(ThriftServer.java:111) 


I haven't seen this since 1.0 days. 1.1.11 had it all fixed I thought.

ulimit outputs "unlimited"

What could cause this ?

Any help is greatly apprecaited.

-- 
Regards,
Oleg Dulin
http://www.olegdulin.com



Re: Too many open files with Cassandra 1.2.11

Posted by Aaron Morton <aa...@thelastpickle.com>.
What’s in /etc/security/limits.conf ? 

and just for fun what does lsof -n | grep java | wc -l  say ? 

Cheers

-----------------
Aaron Morton
New Zealand
@aaronmorton

Co-Founder & Principal Consultant
Apache Cassandra Consulting
http://www.thelastpickle.com

On 30/10/2013, at 12:21 am, Oleg Dulin <ol...@gmail.com> wrote:

> Got this error:
> 
> WARN [Thread-8] 2013-10-29 02:58:24,565 CustomTThreadPoolServer.java (line 122) Transport error occurred during acceptance of message.
>    2 org.apache.thrift.transport.TTransportException: java.net.SocketException: Too many open files
>    3         at org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomServerSocket.java:109) 
>    4         at org.apache.cassandra.thrift.TCustomServerSocket.acceptImpl(TCustomServerSocket.java:36) 
>    5         at org.apache.thrift.transport.TServerTransport.accept(TServerTransport.java:31) 
>    6         at org.apache.cassandra.thrift.CustomTThreadPoolServer.serve(CustomTThreadPoolServer.java:110) 
>    7         at org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.run(ThriftServer.java:111) 
> 
> I haven't seen this since 1.0 days. 1.1.11 had it all fixed I thought.
> 
> ulimit outputs "unlimited"
> 
> What could cause this ?
> 
> Any help is greatly apprecaited.
> 
> -- 
> Regards,
> Oleg Dulin
> http://www.olegdulin.com
> 
>