inn-stable on HP/UX
Heath Kehoe
hakehoe at avalon.net
Wed May 26 07:41:10 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On May 26, 2004, at 2:06, Russ Allbery wrote:
> Heath Kehoe <hakehoe at avalon.net> writes:
>
>> I had not run any version of INN since 2.3.something on HP/UX until
>> just
>> recently, when I built STABLE and fired it up. It looks to be working
>> correctly, with one exception: The history.hash and history.index
>> files
>> are not getting updated on-disk by innd (the modified time-stamps
>> aren't
>> changing (or changing sporadically), and lookups via nnrpd or
>> grephistory are failing).
>
> Well, at the least, it looks like putcore in lib/dbz.c needs to call
> msync. That will cause INN to sync the .hash and .index files to disk
> every five minutes (DEFAULT_TIMEOUT). I'm not sure if that fully
> solves
> the problem, though; five minutes is a longish delay.
>
Yea, it's a good idea to do that, anyway, especially for those systems
where
MMAP_NEEDS_MSYNC is set by configure.
But, IMHO, it needs to be fixed so that all accesses to history use
mmap.
- - heath
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFAtEoa4uXPAG0A1J4RAj8JAJ9DtHocshbkjJKV/HfHARzQkurxcQCdH5M3
wa4m8Pq6AiwVmGZvKX8Lj0c=
=qALU
-----END PGP SIGNATURE-----
More information about the inn-workers
mailing list