I must not be using the API properly :-( The writes to the mmap-ed area and then fsync-s the opened file, munmaps it, and exits. Sometimes, the files end up corrupted at the end, however -- in about 10% of cases. What am I doing wrong? Thanks! -mi