Technical Tip: How to restart/kill processes on the FortiMail with CLI commands
| Description | This article describes how to restart or terminate processes in FortiMail using CLI commands. |
| Scope | FortiMail v7.0.x, v7.2.x, v7.4.x, v7.6.x, v8.x.x. |
| Solution | Restarting processes on a FortiMail may be required if they are not working correctly.
diagnose system top
The process ID is listed in the second column:
Additionally, it is possible to use 'grep' to find the list of PIDs for certain processes: diagnose system top | grep mailfilterd.
Alternatively, use the 'diagnose debug process list <process name>' command to list the specific process running on the FortiMail device. For example:
diagnose debug process list mailfilterd
The PID is listed in the 1st column. To terminate several selected processes, a signal can be sent one by one to the different PIDs:
diagnose debug process signal 9 PID
Starting v7.6.3, the command has been modified as follows:
diagnose debug tools process list mailfilterd diagnose debug tools process signal 9 <PID>
Related document: debug.
Summary:
Note: In addition to terminating several selected processes, a signal can be sent one by one to the different PIDs:
diagnose debug process signal 11 <PID> |




