Server suddenly dropping all modules of the domain

We´re facing one issue that our customer have one payara server running with two domains, the first domain stop all modules suddenly, we indetified that this happens when one of our modules have one REST API that receives POSTs;

We had several days with this issue, the server have several resources and is NOT esxceeding any of it.

We tried to reinstall payara server and redeploy all domains and modules, this worked for a week and now it´s happening again.

Did anyone knows why this is happening? It´s only in one of our customers.

Anyone can help PLEASE?

Hello, we found that the problem was on source code, that used thread pool and didn´t free on the right way so the processor had problems as the time passed.

We solved our source code and everything was fine after that.