When I run
this often takes up to 15 minutes or more until I get a result. The next second, it returns instantly.
I checked this with strace and noticed that it's waiting for a read lock for the "verify_cache.db". "/usr/lib/postfix/sbin/verify" is the process that is holding a write lock when the delay happens. From "man 8 verify":
When my postmap command returns, the verify process that existed before, has gone. A new verify process will be started shortly after.
I checked the maillog as this happened, but couldn't see anything that would cause this.
Is this expected behaviour?
Lars
Code:
postmap -q jondoe@example.com btree:/var/lib/postfix/verify_cache
I checked this with strace and noticed that it's waiting for a read lock for the "verify_cache.db". "/usr/lib/postfix/sbin/verify" is the process that is holding a write lock when the delay happens. From "man 8 verify":
Code:
as verify(8) processes are long-lived
When my postmap command returns, the verify process that existed before, has gone. A new verify process will be started shortly after.
I checked the maillog as this happened, but couldn't see anything that would cause this.
Is this expected behaviour?
Lars