...
If you get a "Too many open files" error. In Unix like systems, Network connections are actually backed by files descriptors. So Edit /etc/security/limits.conf to increase nofile for the users running ActiveMQ. like
Code Block |
---|
user - nofile 10000 root - nofile 10000 |
In Unix like systems, Network connections are actually backed by files descriptors... While at it, I recommend also to increse increase the max heap used by ActiveMQ. For instance we increased ActiveMQ max heap to 512MB and 1GB respectively on stagging and production servers clusters from default 256MB, can't hurt...
...