Old Wiredtiger log files under journal folder are not removed

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.

Hi @vijai_kumar_S

Can you provide some additional details:

  • OS
  • MongoDB Version
  • Filesystem type where the journal directory is
  • Topology. Standalone/ReplicaSet/Sharded and any Arbiters?