I have an AcitiveMQ broker 5.4.1 running on Ubuntu server with 700 clients
connected via openwire and less then a minute after starting the server I am
receiving many exceptions:
2011-09-07 11:15:24,911 ERROR TransportConnector:234 - Could not accept
connection : java.net.SocketException: Too many open files [{ActiveMQ
Transport Server:
tcp://0.0.0.0:61616?wireFormat.tightEncodingEnabled=false?jms.prefetchPolicy.all=50}]
2011-09-07 11:15:24,911 DEBUG TransportConnector:236 - Reason:
java.net.SocketException: Too many open files [{ActiveMQ Transport Server:
tcp://0.0.0.0:61616?wireFormat.tightEncodingEnabled=false?jms.prefetchPolicy.all=50}]
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:279)
at java.lang.Thread.run(Thread.java:662)
This problem reproduces easily ( every restart ).
Any idea why this is happening or how can I find the source of the problem ?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Too-many-open-files-using-ActiveMQ-5-4-1-tp3795543p3795543.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.