-
1. Re: Hornetq connections capped at 4036
jbertram Jul 11, 2018 10:41 AM (in response to chatur)To my knowledge (as a HornetQ developer) I am not aware of any arbitrary limit which the broker enforces on the number of connections. My feeling is this is an environmental issue. Have you tried to reproduce this problem in a different environment?
-
2. Re: Hornetq connections capped at 4036
chatur Jul 11, 2018 11:38 AM (in response to jbertram)Hi Justin,
Thanks for your response.
I was able to simulate this issue in UAT yesterday, via the following ( I used apache bench tool )
ab -n 2900 -c 2900 http://UATSERVERNAME:UATPORT/
I got the below response when I ran the above - notice the too many open files !
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
socket: Too many open files (24)
When I saw open files error , I looked for the max open files allowed on the OS - and got
cat /proc/sys/fs/file-max -- 601850
I also checked for the number of open file handlers using -- lsof |wc -l .
Is there anything I could check ?
-
3. Re: Hornetq connections capped at 4036
jbertram Jul 11, 2018 11:28 AM (in response to chatur)Unfortunately as we move further from the broker my ability to help declines. Perhaps a Linux specific forum or mailing list would be a better place to ask such questions.