rsyslogd: imfile error: message received is larger than max msg size; message will be split and processed as another message

Solution Verified - Updated -

Issue

  • When enabling log forwarding in RHOSP, the rsyslog container shows an error saying that messages larger than the maximum allowed size have been processed:

    [heat-admin@overcloud-controller-0 ~]$ sudo podman logs rsyslog
    rsyslogd: imfile error: message received is larger than max msg size; message will be split and processed as another message [v8.1911.0-7.el8_4.4]
    rsyslogd: imfile error: message received is larger than max msg size; message will be split and processed as another message [v8.1911.0-7.el8_4.4]
    rsyslogd: imfile error: message received is larger than max msg size; message will be split and processed as another message [v8.1911.0-7.el8_4.4]
    
  • Same error will also appear in /var/log/containers/stdout/rsyslog.log

Environment

  • Red Hat OpenStack Platform (RHOSP) 16.2
  • Log forwarding enabled

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