[ 
https://issues.apache.org/jira/browse/CASSANDRA-10861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056758#comment-15056758
 ] 

Michael Shuler commented on CASSANDRA-10861:
--------------------------------------------

bq. It seems that connections crash

Could you provide some details on this? How can someone reproduce this?

{noformat}
14-Dec-2015 13:24:38.379 SEVERE [http-nio-8080-Acceptor-0] 
org.apache.tomcat.util.net.NioEndpoint$Acceptor.run Socket accept failed
 java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at 
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
        at 
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
        at 
org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:686)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

The short snippet of logs you attached appears that your application is 
creating a large number of connections and running out of file descriptors. 
Have you set up the server(s) sysctl settings to handle the number of 
connections your application requires?

What is the Cassandra server state and what do the Cassandra server logs show 
when this occurs? What does the driver debug logging show? Have you gotten help 
from the java driver devs or is there a java driver JIRA ticket to look at?

This ticket is a little vague on details.

> Memory leak with Cassadra java driver 3.0.0-beta1 and Cassandra 3.0.1
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-10861
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10861
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging
>         Environment: Ubuntu 14.04.3 LTS 64 bits, Java build 1.8.0_66-b17, 
> tomcat 8.0.23
>            Reporter: Carlos Scheidecker
>             Fix For: 3.0.1
>
>         Attachments: error_log_tomcat.txt
>
>
> Same dev environment with same application on Tomcat 8.0.23. However the dev 
> nodes have been upgraded to 3.0.0 and later to 3.0.1. The Cassandra driver is 
> version 3.0.0-beta1.
> It seems that connections crash, do not get cleared and it leads to a memory 
> leak stack overflow condition.
> Attached is an error log file from tomcat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to