Can someone help me to understand why the Wiredtiger log files (wiredtigerlog.000000000XX) under the journal folder in one of the replica set is keep adding more files without removing the old one. The server is running out of space because of the this and we extended the memory and within 3 days the space is again full with more wiredtiger log files in the folder.
Pls help me how to restrict the log file and remove the old ones.
Can you provide some additional details:
- OS
- MongoDB Version
- Filesystem type where the journal directory is
- Topology. Standalone/ReplicaSet/Sharded and any Arbiters?
I see the original posted never answered, but I have the same issue.
OS: CentOS 7.9
MongoDB Version: 4.4 (ent)
FS: XFS
Topology: RS