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

Re: High load times with mdb



Bill MacAllister wrote:


--On Tuesday, June 25, 2013 12:58:54 PM -0700 Quanah Gibson-Mount <quanah@zimbra.com> wrote:

--On Tuesday, June 25, 2013 12:38 PM -0700 Bill MacAllister <whm@stanford.edu> wrote:

The load starts out at a rate of about 2 M/s.  In the past I remember
that dropping to something like 900 k/s and staying there.  Now the
load starts in the same place, but after 30 seconds it alternates
between stalling out right, and a rate under 100 k/s.  Dips as low as
under 10 k/s and sometimes as high at 700 k/s.  (My undergraduate
degree was in watching water boil.)

What is the partition type? ext4?

What options are set for the partition in fstab?

This is what I am currently using.  The UUID are obviously shortened
for readability.

UUID=blah1 /       ext4    defaults,acl,noatime,errors=remount-ro  0  1
UUID=blah2 /var/cache/openafs  ext4  defaults,noatime        0       2
UUID=blah3 /var/lib/ldap       ext4  defaults,noatime        0       2
UUID=blah4 none                swap  sw                      0       0

I also tried ext3 with the same results.  This is on a raid-1.  I have
also tried splitting the two disks and putting the OS on one and the
LDAP database on the other.  None of this moved the problem.

It really has the feel of a resource exhaustion.  The load is now
stalled in that the progress display is not updating.  top does not
show slapd as doing anything.

Probably bad default FS settings, and changed from your previous OS revision.

Also, you should watch vmstat while it runs to get a better idea of how much time the system is spending in I/O wait.

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