-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.0.2
-
Environment:Linux macbeast 2.6.32-37-server #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011 x86_64 GNU/Linux
Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
-
Fully Compatible
-
Linux
Another process on the box consumed a ton of memory, and the machine started swapping/thrashing. About a minute later, the shard crashed. I've attached the log file (cleaning out the irrelevant stuff). I would assume that even when the memory is low, the server shouldn't crash.
This has happened 5 times in the last week. I'm sharing the box with a memory hog, but I still don't think that my database should crash if another user's process goes out of control (or maybe it should, please correct me if I'm wrong).
There are two files, the mongodb1.log one is what I saw in the shard's log, and mongos.log is what I saw on the mongos log. The config server is on port 27030, the shard that crashed was listening on port 27021.
On Wednesday at 10:50AM, I tried to kill the shard process (there's a line in the mongodb1.log). That didn't do anything, so I resorted to kill -9.