Skip to main content
deleted 33 characters in body; edited title
Source Link
Aaron Bertrand
  • 181.5k
  • 28
  • 402
  • 619

preventing Preventing mongodb crash in production environmentcrashes

I am using mongodb with the webserverweb server.

Recently, I observed that mongodmongodb server crashed after "no space left" for journalling.

So, after some online help I could repair and restart the DB.

But, for production, I am worried now.

Is there a way in mongodb - when bound to one machine - to truncate the journal files and prealloc files to get truncated without restart of mongodb or any other manual intervention.

For this question, please assume I am bound to 1 machine.?

preventing mongodb crash in production environment

I am using mongodb with the webserver.

Recently, I observed that mongod server crashed after "no space left" for journalling.

So, after some online help I could repair and restart the DB.

But for production, I am worried now.

Is there a way in mongodb to truncate the journal files and prealloc files to get truncated without restart of mongodb or any other manual intervention.

For this question, please assume I am bound to 1 machine.

Preventing mongodb crashes

I am using mongodb with the web server.

Recently, I observed that mongodb server crashed after "no space left" for journalling.

So, after some online help I could repair and restart the DB.

But, for production, I am worried now.

Is there a way in mongodb - when bound to one machine - to truncate the journal files and prealloc files to get truncated without restart of mongodb or any other manual intervention?

Post Migrated Here from stackoverflow.com (revisions)
Source Link

preventing mongodb crash in production environment

I am using mongodb with the webserver.

Recently, I observed that mongod server crashed after "no space left" for journalling.

So, after some online help I could repair and restart the DB.

But for production, I am worried now.

Is there a way in mongodb to truncate the journal files and prealloc files to get truncated without restart of mongodb or any other manual intervention.

For this question, please assume I am bound to 1 machine.