On 24/08/2012 16:18, Nigel Kukard wrote:
On 24/08/2012 15:57, Simon Hobson wrote:
Fabio Sangiovanni wrote:

I'm using policyd to throttle incoming mail (size over time against sasl_username) and I'm experiencing a strange delay during submission. In particular, it seems some kind of delay due to policyd execution, and it's about 1 second per message.

I hit a similar issue which is documented in a thread entitled "Performance issues - restricted mail handling" from April 2011. In the end I concluded that Postfix gives the appearance of having some sort of throughput issue when calling an external policy server - I found a limit of about 2 calls/second/smtp process. Since this is per-process, it scales with the number of connections and since it won't generally be an issue for me I never took it any further. I haven't done any tests to see it it's still an issue (the boxes/software have been upgraded since then).


This could be entirely my fault ... I fixed the performance issue in v2.1 by committing a pipelining patch which fixes pipelining of requests. However I do not see this comitted to v2.0.

Please try the attached, if it works I'll commit it right away.

Patch committed.

-N

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to