[distcc] Re: lzo problem under HPUX

Martin Pool mbp at samba.org
Thu Feb 5 01:31:52 GMT 2004


On  4 Feb 2004, Joe Buehler <jbuehler at hekimian.com> 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040205/8d47b333/attachment.bin


More information about the distcc mailing list