[SERVER-13746] mongod doesn't shut down when it can't write to log file with auditing enabled Created: 25/Apr/14  Updated: 10/Dec/14  Resolved: 16/Jul/14

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.6.1-rc0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Michael Grundy Assignee: Ramon Fernandez Marina
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-11028 shutdown on Audit failure Closed
Participants:

 Description   

Running 2.6.1-rc0 on CentOS 6, dbpath is on a separate drive. Used

dd if=/dev/xvdc of=drivefiller bs=100M count=200

to fill up drive with log path.
mongod started with auditDestination syslog:

mongod --logpath /var/log/mongodb/mongod.log --auditDestination syslog --replSet pain

When drive fills up and mongod can't write the log anymore, nothing happens. With auditing on it should shut down and write an audit message if possible.



 Comments   
Comment by Eric Milkie [ 25/Apr/14 ]

I'm not sure we need to do this. Perhaps we could make a shutdownOnLogFailure server parameter to allow users to elect to have the server shut down when it runs out of log space, but it shouldn't be linked to whether auditing is turned on.

Generated at Thu Feb 08 03:32:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.