Hello.
I tried to analyze and check points as you described, and trying to follow your advice but the problem remains and I could not solve. I look forward to any developments or ideas or any other considerations. I quote here the points with my data.
1 Out of memory
The memory is ok.
2 Maximum amount of threads reached (OS limit)
Currently the value is set to 32240. Even if you set to 100000, nothing changes.
3 ulimit / getrlimit
Currently the value is set to 10240. It seems appropriate.
NB. I think the problem is due to the large number of open ports. In fact, reducing the number of open ports, the problem is resolved and the application, which is the hub part correctly. Otherwise leave it all, the application just does not start and crashes. Unfortunately at the moment I solved by using another hubsoft. I look forward to the resolution of the problem in order to use flexhub.
Best Regards ... Massimiliano =)