On a CentOS 6.5 server I am running a very simple HTTP listener with Sinatra that exists simply to accept POST requests and pass the payload content of the POST request to another service.
I often find that the process with the PID of the Sinatra service no longer exists, with no explanation in the logs.
I have debug-level logging in the Sinatra code and still have no clues towards what is happening on the box to cause the process to die.
What can I do on the Linux side of this problem to monitor this particular process and determine what is causing it be killed?