1

I found that mongod writes

[snapshotthread] cpu: elapsed:4000  writelock: 0%

continuously.

So it one day log now about 2Mb. What does it mean and how to disable this?

1

1 Answer 1

0

The log entries you're seeing are generated when you enable cpu logging in MongoDB, i.e. starting it with the --cpu flag or cpu = true in the config file. Disabling that option will prevent it from adding those entries to the log file.

You can read about that here: http://docs.mongodb.org/manual/reference/configuration-options/#cpu

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .