warning: log line attempted (29kB) over max size (10kB)

1,960 views
Skip to first unread message

haim ari

unread,
May 15, 2017, 9:27:07 AM5/15/17
to mongodb-user
Hello,

In this initial sync we notice this:

2017-05-15T06:47:09.879+0000 I REPL     [replication-4] warning: log line attempted (29kB) over max size (10kB), printing beginning and end ... Initial Sync Attempt Statistics: { failedInitialSyncAttempts: 0, maxFailedInitialSyncAttempts: 10, initialSyncStart: new Date(1494827305233), initialSyncAttempts: [], fetchedMissingDocs: 0, appliedOps: 85901, initialSyncOplogStart: Timestamp 1494827307000|54, initialSyncOplogEnd: Timestamp 1494830822000|1

Did anyone had this issue ? 

Conchi Bueno

unread,
May 17, 2017, 8:50:10 PM5/17/17
to mongodb-user
Hi,

This warning message is written in the log when a log entry is longer than the maximum size (10kB) with the purpose of keeping the log file size down and avoid a performance penalty for writing an unusually large log entry. Typically, this is caused by a large query.

In this case, MongoDB truncates the log entry, logging only the beginning and the end of the message, with the middle portion is replaced with a series of periods. It does not mean that there is anything wrong; it is just a warning that not all the detail of the operation has been logged, and can safely be ignored.

Regards,
Conchi
Reply all
Reply to author
Forward
0 new messages