How to modify PATH variable for X11 during log-in?

Why mongod shutdown quietly(no info in the log, just crash) when the disk space for the mongodb log is not enough?

  • I set mongodb's log path to a place which has not so much free space, someday, I found mongodb crash, but I can not find any info in the log . By coincidence, I found it was because there was no enough free disk space for the log.  So why mongodb crashes so "quietly"? As I know, mysql will at least write some info to the syslog when occurs such similar crash.

  • Answer:

    The question you should be asking is, why put logs on a small partition, and why don't you actively monitor processes? MongoDB now has syslog support, I suggest trying that.

Jeremy Wilson at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.