[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Searches causing disk writes



Meike Stone wrote:
2011/11/10 Adam Wale<adamw@staff.iinet.net.au>:
For anyone that was interested in the fix for this, moving to shared memory resolved the issue.

Hello Adam,

we had the same problem and could it solve the same way. Sorry, I
haven't seen this thread..

Do you have tried to mount your partition where the data directory is
located with "noatime"?
This (atime) causes a lot of very expensive write operations on every
read access of the memory mapped files.
It would be very interesting if mounting the data partition with
"noatime" can solve the problem too?
But be careful, some other programs (e.g. mail, backup,..) may rely on
atime, it depends what programs using this partition.

Use relatime, that will take care of any other dependencies.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/