On Wednesday 22 November 2000 20:40, Alex Zepeda wrote: > On Wed, Nov 22, 2000 at 10:08:33AM +0100, Stephan Kulow wrote: >=20 > > > Yup. Maybe the mmap code should be turned off by default... > > >=20 > > The mmap is the whole trick behind ksycoca. If you don't map the syco= ca > > database, you add a overhead of quite some KB to every app >=20 > Well, FWIW the only issues I know of generally involve writing in some > manner (usually appending) with mmap over NFS. Reading should be safe. >=20 > *scratches head* >=20 > I wonder if there's any way to disable writing w/ mmap... We don't use mmap for writing, we use QDataStream over a QFile. You're right. The problem has nothing to do with mmap, it's when writing = that some data became corrupted. --=20 David FAURE, david@mandrakesoft.com, faure@kde.org http://www.mandrakesoft.com/~david/, http://www.konqueror.org/ KDE, Making The Future of Computing Available Today See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2