Benny Pedersen:
> Wietse Venema skrev den 2023-01-15 22:09:
> > Benny Pedersen:
> >> >> Jan 15 19:18:30 mail postfix/postscreen[1057]: fatal:
> >> >> btree:/opt/local/var/lib/postfix/postscreen_cache: unable to get
> >> >> exclusive lock: Resource temporarily unavailable
> >> >
> >> > You can't have two postscreen service instances share that cache.
> >> 
> >> will change from btree to lmdb not solve this ?
> > 
> > It would resolve the exclusive lock. However, it make no sense to
> > have two postscreen services on the same physical machine exposed
> > to clients on the internet.
> 
> so OP should change to multi-instances setup ?
> 
> i self uses 2 postscreen listners, with multiple wan ips i have still to 
> make this better so, there is not a simple way imho to listen only on 
> few wan ips and do nothing on others, since single postscreen will imho 
> listen on all wan ips show in "ip addr show"
> 
> it would make more simple if lmdb just worked

LMDB can be used as a shared postscreen cache. Postfix knows that
this is multi-writer safe. Hwever, I don't know how well this scales
with multiple LMDB clients.

        Wietse

Reply via email to