postfix-devel

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Race condition in handling hash type lookup table Wietse Venema Wed Apr 01 04:00:48 2009

Adam Osuchowski:
> I checked postmap behaviour with strace and it doesn't mmap hash type
> databases, independently of database size (even for files with only one

Postmap does not mmap databases. You are looking at Berkeley DB
library behavior, which is version dependent.

Use "make" if you want atomic database updates:
http://www.postfix.org/DATABASE_README.html#safe_db

        Wietse