[SERVER-5808] init: mongodb main process terminated with status 100 when space is running low Created: 10/May/12 Updated: 11/Apr/18 Resolved: 11/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability |
| Affects Version/s: | 2.0.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Chris Manson | Assignee: | Adam Comerford |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 11.10, 10 gen ubuntu packages using upstart, Virtual Machine using Virtual Box on Mac |
||
| Operating System: | Linux |
| Participants: |
| Description |
|
I was running an update command on a capped collection and the server suddenly started showing the following message:
I couldn't find anything in the logs but I happened to check dmesg and it had the entry
And when I tried to start mongo again I got another entry in dmesg
The only thing that I can think of being the problem is that the VM I'm using is almost out of space
I would imagine that if this is an issue with space then there should be something in the logs or something to point me in the right direction. |
| Comments |
| Comment by Christopher Reay [ 11/Apr/18 ] |
|
Hello, I just came across this issue with 90% disk space used, and about 1.5GB of free diskspace on the server. `service start mongod` reports back as "started, PID w/e" I found this because I couldnt connect to mongodb. I deleted a bunch of stuff, and am at about 70% disk usage with 5.5 GB free, and mongo starts fine |
| Comment by Adam Comerford [ 17/Oct/12 ] |
|
By my calculations, 96.3% of 1.7GB means there was just ~64MB left on the device here which is very low in real terms, if this was 1.7TB with 64GB to spare, I think it would be OK. The quickest way to determine if this was disk space would be to increase the size (it's a Virtual Box VM right?) and then see if the error still happens. Adam. |
| Comment by Eliot Horowitz (Inactive) [ 12/May/12 ] |
|
Is that from du? |
| Comment by Chris Manson [ 11/May/12 ] |
|
As I said in the the main description the disk is not full but it is 96% full |
| Comment by Eliot Horowitz (Inactive) [ 11/May/12 ] |
|
Is the disk full? |
| Comment by Chris Manson [ 10/May/12 ] |
|
Well there is noting in the log. It seems to have just ended a few days ago.
I just did a ls -l on the log file after trying to start the mongodb service again and it seems to be last modified recently but nothing is getting appended
|
| Comment by Eliot Horowitz (Inactive) [ 10/May/12 ] |
|
Can you send more of the log? |