HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-devel] mmap issue



On Fri, 16 Mar 2007, Greg Thain wrote:

> Jiansheng Huang wrote:
> > Hi team,
> >
> > I am periodically seeing the following crash when the new quill tries to
> > compute checksum of an output file used by a job. I used the mmap function
> > to map in the data from the file before passing it to the checksum
> > function. The return status is checked to make sure that it is not
> > MAP_FAILED before doing checksum.
>
> Are you sure mmap is the right way to go?  What if the file is bigger
> than your address space?
>
> -Greg
>

That's true. We are thinking about reading the file in. But the file
read/write conflicts still exist. Any thoughts?

Thanks,

Jiansheng