Description

This article discusses the new log file debug_wmid in the SRX file system after upgrading to Junos 12.1X47. This behavior is by design.

Symptoms

There are some new logs named debug_wmid in the file system after upgrading to Junos 12.1 X47.

root@SRX> start shell user root
root@SRX% ls -al /cf/var/log
/cf/var/log:
total 45912
....
-rw-r--r-- 1 root wheel 10240571 Jul 17 19:59 debug_wmid.1
-rw-r--r-- 1 root wheel 7256371 Jul 26 12:45 debug_wmid.2

...

Solution

This is a new feature added in Junos 12.1X47. The debug_wmid is a debug file for the userFW feature introduced in 12.1X47. The wmic process, which is a process for userFW , generates and stores messages in the debug_wmid file.

This file is created when the wmic process is started.

Example:
  • Device reboot
  • wmic process restart (this may not happen if you do this manually)

This behavior is by design. You can delete the file, but it will regenerate after a reboot.

Examples:
  • Kill the wmic process from the Unix shell. It will automatically spawn with a different PID and the files continue to update.
  • Delete the debug_wmid.1 and debug_wmid.2 files. They will not regenerate until the system is rebooted.

Modification History

2020-02-04: Added that this behavior is by design.