Kernel printk ratelimiting mechanisms

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content