1

I have a few java programs, Appserver1 and Appserver2, which handle command line arguments to external programs, and VocsServer, an intermediary to the MySql database.

These programs are always supposed to be running and waiting to receive requests. However, at seemingly random times they stop receiving requests. E.g. when one of my programs makes a database request, it just hangs because the VocsServer has not received the request.

The thing is, all these processes are still running. Nothing appears to have changed, but they stop working. The only thing that fixes them is killing the processes and running them again.

What could be causing them to fail?

saucewagon
  • 37
  • 6
  • 1
    Have you tried taking thread dumps of the servers when they have locked up to see what they are doing? – mikea Mar 20 '18 at 17:20
  • What do they do w/the requests they receive? They could be stuck in a wait for that resource. – Totoro Mar 20 '18 at 17:37
  • @Totoro That could be the issue. Is there any way to see how many pending requests have been sent to the server? – saucewagon Mar 20 '18 at 17:56
  • On the server if you are using apache or nginx, not that I know of, You could do something on your client side to count and print # requests – Totoro Mar 21 '18 at 19:48

0 Answers0