| Description | This article describes how to configure syslog affinity and verify that the syslog process is running only on the intended CPUs. |
| Scope | FortiGate VMs and FortiOS 7.4.8+. |
| Solution |
syslogd is a process responsible for handling logging operations.
In scenarios requiring controlled CPU utilization, syslog can be restricted to specific CPUs rather than running on a broad or unrestricted CPU range.
config system global
Before configuring the affinity:
diagnose sys process pidof syslogd
fnsysctl cat /proc/2209/status Umask: 0022 ---clipped------------ Cpus_allowed: f
Restricting syslogd to CPUs 0 and 1.
config sys global set syslog-affinity "0x0000000000000003" end
fnsysctl cat /proc/2209/status -----clipped--------- Speculation_Store_Bypass: thread vulnerable |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.