Last modified: 2014-11-16 23:34:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75502, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73502 - Webservice being shut down abruptly
Webservice being shut down abruptly
Status: UNCONFIRMED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-16 23:18 UTC by Zhaofeng Li
Modified: 2014-11-16 23:34 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Zhaofeng Li 2014-11-16 23:18:08 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)?
Comment 1 Betacommand 2014-11-16 23:21:03 UTC
Its probably OOMing (Out of memory). The limit is normally 4GB and doing nothing they tend to consume about 2GB
Comment 2 Marc A. Pelletier 2014-11-16 23:30:26 UTC
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.
Comment 3 Zhaofeng Li 2014-11-16 23:34:38 UTC
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?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links