On 2015-05-23, Tinker <[email protected]> wrote: > On 2015-05-23 16:42, Stuart Henderson wrote: >> On 2015-05-22, Tinker <[email protected]> wrote: >>> Okay there's msync(). So this really doesn't look like a problem but >>> let >>> me think. >> >> It is a problem because it's not needed on the majority of other OS >> where most upstream testing is done, so even programs which try to do >> the right thing will often silently corrupt data on OpenBSD. >> >> We definitely had problems with Cyrus imapd in the past. Dovecot >> disables >> some things on OpenBSD as a result. OpenLDAP MDB has had issues. And >> I suspect this may be involved in problems we saw in NSD prior to >> disabling the database in the default config. > > Agreed. > > (Also SQLite has mmap disabled on OpenBSD for this reason, and is maaybe > ~30% slower for this reason. I guess in a way this is just a silly > architectural detail, but it "can" require unified caching because all > other OS:es implement it.)
Since the thread came up again, I'll add a few more for the archives: tokyocabinet and kyotocabinet have problems which look very like they're related to this too, they do have code meant to work in this case but there are problems that show up in regression tests.

