[SERVER-10189] Server crash under load Created: 12/Jul/13 Updated: 10/Dec/14 Resolved: 12/Jul/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dharshan Rangegowda | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Looks like a lack of memory. Either way I would expect it to slow down and not crash. Fri Jul 12 05:21:59.717 [conn843] authenticate db: local { authenticate: 1, nonce: "237b181d39d143ae", user: "__system", key: "3597fb4d02ab28d832f8d 993" }Fri Jul 12 05:22:07.589 [conn782] serverStatus was very slow: { after basic: 0, after asserts: 0, after backgroundFlushing: 0, after connections: 0, rsors: 0, after dur: 0, after extra_info: 0, after globalLock: 0, after indexCounters: 0, after locks: 0, after network: 0, after opcounters: 0, afte tersRepl: 0, after recordStats: 4010, after repl: 4020, at end: 4020 }Fri Jul 12 05:22:07.591 [conn782] command admin.$cmd command: { serverStatus: 1 } ntoreturn:1 keyUpdates:0 locks(micros) r:30 reslen:4014 5037ms Fri Jul 12 05:22:11.901 [journal] Assertion: 13524:out of memory AlignedBuilder Fri Jul 12 05:22:12.059 Backtrace: |
| Comments |
| Comment by Andy Schwerin [ 12/Jul/13 ] |
|
Your process has apparently exhausted free memory and swap space. Under this kind of memory pressure, you're pretty likely to get killed by the kernel OOM-killer eventually, too. To keep write latency low, MongoDB requires very large amounts of RAM for buffering disk operations. |
| Comment by Dharshan Rangegowda [ 12/Jul/13 ] |
|
2.4.1 |
| Comment by Andy Schwerin [ 12/Jul/13 ] |
|
And what version of MongoD? |
| Comment by Dharshan Rangegowda [ 12/Jul/13 ] |
|
It's an Amazon linux micro instance. |
| Comment by Andy Schwerin [ 12/Jul/13 ] |
|
Version? OS? 64- or 32-bit? |