Hello Everyone,
I receive emails regarding "Error: queue file write error" quite regular. In the Syslog it states:
Mar 29 11:07:36 my-hostname postfix/smtpd[219387]: warning: timeout talking to proxy 127.0.0.1:10024
Mar 29 11:07:36 my-hostname postfix/smtpd[219387]: proxy-reject: END-OF-MESSAGE: 451 4.3.0 Error: queue file write error; from [...]
While investigating this issue, I noticed that everytime I get those messages, there is also another message around:
Mar 29 11:07:22 my-hostname pmgpolicy[838]: starting policy database maintenance (greylist, rbl)
Mar 29 11:07:27 my-hostname pmgpolicy[838]: end policy database maintenance (5298 ms, 0 ms)
pmgpolicy start it's policy database maintenance and produces a high load (Load of 4 on a quadcore VM) and takes up to 8 seconds.
The load of the machine is around 200-500 Mails/d, running on a quadcore vm with 4G RAM on a PVE Ceph Cluster, backed by HDD (SSD would be possible if it is likely to resolve the issue).
How can I tweak the database maintenance? (When searching through the forum, most other users seems to have a duration of a few milliseconds not seconds on db maintenance)
or the otherway round
How can I handle this issue without tweaking db maintenance/what other reasons could be responsible for the smtp timeouts?
Thank you very much in advance
Regards
Matthias
I receive emails regarding "Error: queue file write error" quite regular. In the Syslog it states:
Mar 29 11:07:36 my-hostname postfix/smtpd[219387]: warning: timeout talking to proxy 127.0.0.1:10024
Mar 29 11:07:36 my-hostname postfix/smtpd[219387]: proxy-reject: END-OF-MESSAGE: 451 4.3.0 Error: queue file write error; from [...]
While investigating this issue, I noticed that everytime I get those messages, there is also another message around:
Mar 29 11:07:22 my-hostname pmgpolicy[838]: starting policy database maintenance (greylist, rbl)
Mar 29 11:07:27 my-hostname pmgpolicy[838]: end policy database maintenance (5298 ms, 0 ms)
pmgpolicy start it's policy database maintenance and produces a high load (Load of 4 on a quadcore VM) and takes up to 8 seconds.
The load of the machine is around 200-500 Mails/d, running on a quadcore vm with 4G RAM on a PVE Ceph Cluster, backed by HDD (SSD would be possible if it is likely to resolve the issue).
How can I tweak the database maintenance? (When searching through the forum, most other users seems to have a duration of a few milliseconds not seconds on db maintenance)
or the otherway round
How can I handle this issue without tweaking db maintenance/what other reasons could be responsible for the smtp timeouts?
Thank you very much in advance
Regards
Matthias