Dear Postfix team,

In some rare cases when OS is CPU-loaded, the log is overflowed with the 
following messages from Postfix, which fills up log space very quickly:

2023-12-24 18:04:41.016972 postfix/tlsmgr[105819]: warning: end-of-input while 
reading request from tlsmgr socket: Application error
2023-12-24 18:04:41.017479 postfix/tlsmgr[105819]: warning: end-of-input while 
reading request from tlsmgr socket: Application error
2023-12-24 18:04:41.018018 postfix/tlsmgr[105819]: warning: end-of-input while 
reading request from tlsmgr socket: Application error

In my case Postfix has generated ~240MB of logs in 30 mins.

Probable solutions:

* Limit rate of identical error messages in Postfix (similar to syslog saying 
"Last message was repeated NN times")
* Exit the process if error rate is higher a given level
* Report that case in different error level (debug?)

There are a few bug reports like above:

* 
https://unix.stackexchange.com/questions/734607/postfix-log-flooded-with-warning-end-of-input-while-reading-request-from-tlsmgr
* https://groups.google.com/g/list.postfix.users/c/Rrh00qc0TNM (has a link to a 
corresponding source code)
* https://forums.zimbra.org/viewtopic.php?t=72298

-- 
With best regards,
Dmitry
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to