Last modified: 2014-11-16 23:34:38 UTC
Hello, the webservice of my tool "fengtools" is stopped abruptly from time to time. My error.log includes this which is not very helpful: 2014-11-16 20:37:31: (server.c.1512) server stopped by UID = 0 PID = 13434 How can I know why it was shut down, and who did it (an automatic program I assume)?
Its probably OOMing (Out of memory). The limit is normally 4GB and doing nothing they tend to consume about 2GB
Betacommand is probably correct, that message hints that the service was killed by gridengine, and (unless you deleted the job yourself) it normally only does that when the process grows beyond the memory limit. You may want to keep an eye on your code, and ensure that it doesn't leak memory.
Thanks for the quick response. Will ceetainly do some optimizations. Since the program is a bit resource-intensive, how can I increase the memory limit? I see /use/bin/webservice reads a system file for the limit, so I assume I'll have to use my own copy of the script to start the server?