Kernel printk ratelimiting mechanisms
Issue
One of the following types of messages is observed in the kernel log.
-
RHEL 5 (
printk_ratelimit()
mechanism):kernel: printk: <xx> messages suppressed.
-
RHEL 6/7/8 (
printk_ratelimit()
mechanism):kernel: __ratelimit: <xx> callbacks suppressed
-
RHEL 6/7/8 (per-caller
printk_ratelimited()
mechanism):kernel: <function_name>: <xx> callbacks suppressed
-
RHEL 7/8/9, from networking code, example:
kernel:kern:warning net_ratelimit: <xx> callbacks suppressed
Environment
- Red Hat Enterprise Linux (RHEL), various versions
- networking
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.