This smells like a bug. It looks like the discarded messages will never be deleted.
In this case, I would suggest to open a github issue tracker if that is possible for you. Rainer El jue, 16 nov 2023 a las 16:21, Jeremiah Garmatter via rsyslog (<rsyslog@lists.adiscon.com>) escribió: > > Hello, > > I have rsyslog 8.2102.0 installed on Redhat 9 via DNF package manager. > I recently configured rsyslog to read DNS queries out of NameD and send > them to a Splunk instance via UDP. Due to Splunk licensing constraints we > decided to restrict how many messages are retrieved with the > "MaxLinesPerMinute" config for imfile. After setting this value, rsyslog > will consume all available memory on the machine and crash. > > I am confused as to why this "memory leak" happens when a limit is put in > place via MaxLinesPerMinute. Without MaxLinesPerMinute there are no memory > issues. I can include config files and impstats if necessary. > > > <https://www.google.com/url?q=https://onu.edu&source=gmail-html&ust=1674828335432000&usg=AOvVaw28_De1JtB-AXSBY3ffLqIg> > <https://www.google.com/url?q=https://www.instagram.com/ohionorthern/?hl%3Den&source=gmail-html&ust=1674828335432000&usg=AOvVaw2T5Mr7Skb1malhmRz_e6L7> > <https://www.google.com/url?q=https://www.facebook.com/OhioNorthern/&source=gmail-html&ust=1674828335432000&usg=AOvVaw3nAxUn3wIQnybVvpceEIDC> > <https://www.google.com/url?q=https://twitter.com/ohionorthern?ref_src%3Dtwsrc%255Egoogle%257Ctwcamp%255Eserp%257Ctwgr%255Eauthor&source=gmail-html&ust=1674828335432000&usg=AOvVaw2gJCHRWcjlGtZi5ft71zQz> > <https://www.google.com/url?q=https://www.youtube.com/channel/UCvdGjbOWVUkVJZVm0l-px7g&source=gmail-html&ust=1674828335432000&usg=AOvVaw1nIUlB6-a3l6ENfFlK-WfL> > *Jeremiah Garmatter* > Linux Systems Administrator > Office of Information Technology > IT Building 107 > 419-772-1074 > j-garmat...@onu.edu > _______________________________________________ > rsyslog mailing list > https://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.