OSX yosemite 8GB mem + NIO + 5.10.0 - Too Many Files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

OSX yosemite 8GB mem + NIO + 5.10.0 - Too Many Files

This post has NOT been accepted by the mailing list yet.
I am getting too many files at about 8000 connections (lsof -> 10365) and it is very strange since i have set the ulimit to a high number. The activemq have 4GB. I used the 10s of 1000s queues instructions so the threads are very low.
The test i am performing is holding connections open on the same local machine using another java program connection on tcp://... not sure it is relevant....

2015-01-15 16:10:43,285 | ERROR | Could not accept connection : java.io.IOException: Too many open files | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server: nio://

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 2048
virtual memory          (kbytes, -v) unlimited

No sure what else can I do.