On 4 Feb 2004, Joe Buehler <[EMAIL PROTECTED]> wrote: > Joe Buehler wrote: > > >Perhaps an mmap() problem? > > This is from the Samba 2.2.2 release notes: > > use mmap > > Set to 'on' by default, only set to 'off' on HPUX 11.x or below or other > UNIX systems that don't have coherent mmap/read-write internal caches. > You should not need to set this parameter. > > I guess ftruncate() and mmap() are interacting badly on my > HPUX 11.0 machines. Turning off mmap() makes things work.
Turning off mmap works in samba, or in distcc? I think it is probably the same bug. I wonder if it would be safe to munmap before we ftruncate? That might be less likely to cause any problems in interaction between mmap and regular IO. -- Martin
signature.asc
Description: Digital signature
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc