[ https://issues.apache.org/jira/browse/STRATOS-723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543505#comment-14543505 ]
Reka Thirunavukkarasu commented on STRATOS-723: ----------------------------------------------- I have moved this to FUTURE as we java cartridge agent didn't get upgraded with the agent thrift version. > Stratos stopped working with java.net.SocketException > ----------------------------------------------------- > > Key: STRATOS-723 > URL: https://issues.apache.org/jira/browse/STRATOS-723 > Project: Stratos > Issue Type: Bug > Components: Cloud Controller > Affects Versions: 4.0.0 > Environment: Stratos 4.0.0 GA > Reporter: Jeffrey Nguyen > Fix For: FUTURE > > > We have a setup where Stratos stopped functioning after running for about 24 > hours. wso2carbon.log shows a lot of exceptions like one listed below. We > were advised to increase "ulimit" from default 1024 to around 65k but that's > only delaying the problem. > TID: [0] [STRATOS] [2014-07-16 07:03:58,597] WARN > {org.apache.thrift.server.TThreadPoolServer} - Transport error occurred d > uring acceptance of message. {org.apache.thrift.server.TThreadPoolServer} > org.apache.thrift.transport.TTransportException: java.net.SocketException: > Too many open files > at > org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.java:118) > at org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.java:35) > at > org.apache.thrift.transport.TServerTransport.accept(TServerTransport.java:31) > at > org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:106) > at > org.wso2.carbon.databridge.receiver.thrift.internal.ThriftDataReceiver$ServerThread.run(ThriftDataReceiver.java:19 > 9) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.net.SocketException: Too many open files > at java.net.PlainSocketImpl.socketAccept(Native Method) > at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398) > at java.net.ServerSocket.implAccept(ServerSocket.java:530) > at java.net.ServerSocket.accept(ServerSocket.java:498) > at > org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.java:113) > ... 5 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)