Slow disk/trace process/sendmail?

From: Giovanni Navarrette (gio_at_uslink.net)
Date: 05/28/03

  • Next message: Carl Ma: "I/O mapping"
    To: <sunmanagers@sunmanagers.org>
    Date: Wed, 28 May 2003 10:27:31 -0500
    
    

    Hey everyone -

    Does anyone know of a command or a way to trace why a process is chewing up
    tons of disktime? Basically what I've got is a new server running
    sendmail-8.12.9, and when its running and I'm using a spam program to send
    messages to it, testing it for load I'm seeing 99% busy time on the disk,
    and sendmail is slow as mud. This program sends 2 messages a second to
    it..., so its putting it under decent stress, but the disk I/O is choking up
    like mad. On this new system, this is what I see with iostat for that
    drive...
                        extended device statistics
        r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
        0.0 139.7 0.0 968.0 0.0 1.8 0.0 12.8 0 99 c1t10d0s0

    On our production system (older system), I see this:

                                  extended device statistics
      r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
      0.3 79.0 2.7 1051.5 0.0 1.3 0.0 16.0 0 48 c0t0d0s0

    The production box is writing more to the drive..., but is less busy...,
    does that mean that the new system just has a slower disk? I thought it was
    a 10k RPM drive, but now that I think about it I haven't checked that yet
    (note to self: check drive speed). When I shutdown sendmail, busy time goes
    down to and stays at 0%. I've tried vmstat, top, ps, and iostat and I'm
    having no luck narrowing down why the disk is so busy..., any ideas?

    Thanks for ya time, have a g'day.

    -
    Giovanni Navarrette
    USLink Internet Systems Administrator
    e-Mail | gio@uslink.net
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Carl Ma: "I/O mapping"

    Relevant Pages

    • Re: Iostat Question (OSF1)
      ... >The output from this example displays cpu, terminal, and disk ... The iostat Command ... The following example shows disk statistics gathered every five ... show statistics for the terminal, disks, and CPU ...
      (comp.unix.solaris)
    • Is this disk healthy or about to die ??
      ... -E doesn't suggest the disk is experiencing ongoing issues (see iostat ... I can access the slice mounted on the disk with no issues.... ... Fidessa plc - Registered office: ... Dukes Court, Duke Street, Woking, Surrey, GU21 5BH, United Kingdom ...
      (SunManagers)
    • Re: zfs - move pool to new device?
      ... compare zpool iostat and plain iostat on each disk itself. ... tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy ...
      (comp.unix.solaris)
    • Re: disk utilization
      ... I am looking for a utility a little like iostat except that I ... without finding any commands showing state D. (I had to change it ... my disk is rattling fairly constantly and an example of the ... vmstat shows no paging ...
      (Ubuntu)
    • Re: Determining whether or not a SCSI disk is in use
      ... I'm sorry, I'm an idiot - the script, in its current incarnation, ... do - it will shut down the disk if there was activity. ... Well, iostat updating did seem to be largely cached, so I'm not sure what the best way is of approaching this problem. ... I sure wish the FreeBSD kernel team would work something out where the hard disk would sleep after a period of time in the kernel ACPI wise>_<. ...
      (freebsd-questions)