Tugger the SLUGger!SLUG Mailing List Archives

Re: [Slug] Strange Harddrive Access In Red Hat 7.0




Anand Kumria wrote:

> First of all Rusell, WHEN USE UPPERCASE YOU ARE SHOUTING. It is
> considered impolite.
>
> On Tue, Jul 03, 2001 at 11:28:36PM +1000, Russell Andrew Willis wrote:
> > I am running a Pentium 350 II 64 MB RAM & 10 GB HDD. RH runs ok under
> > XWindow & Gnome but I get get continuous HDD access when logged on as
> > user or root. When I log out this ceases. I'm a newbie & can see it has
> > something todo with the Xwindow or gnome system. Have enclosed a copy of
> > top command showing activity after a few disk accesses (no other progs
> > except browser). Frustrating & would appreciate guidance.
>
> The image hasn't come through for me (and no doubt others) because it was
> never attached to the message.
>
> You are supposed to get frequent disk access whenever you use Linux as it
> will be flushing data to disk (or swapping). To determine which of those
> it is doing type 'free' at the command line. If most of your swap is being
> used then you have two choices:
>         - get more memory
>         - run fewer programs
>
> Anand

Dear Anand,

Thank you for your prompt advice, my apologies for my lack of proper
etiquette. I have subsequently attached a screen capture of top command that
may assist in pinpointing the regular access of my hdd. I have sorted by CPU
usage.  From what I can see my swap usage at startup is only about 1.48% of
available, Mem stats however are 97.57% used ? (when I obtained this data I
had just booted into the gnome gui, a few panel applets running but no
programs). Is this amount of memory usage the usual ?, if so then more memory
is the way to go. I presume the number of programs running is not the issue.

Many thanks

Russell



  1:37pm  up 6 min,  2 users,  load average: 0.10, 0.28, 0.16
50 processes: 49 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  6.2% user,  9.7% system,  0.0% nice, 84.0% idle
Mem:    62808K av,   61280K used,    1528K free,   47976K shrd,    1308K buff
Swap:  208804K av,    3100K used,  205704K free                   11792K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  298 root      16   0   560  560   460 S     1.9  0.8   0:04 syslogd
  809 RussellW  15   0  1024 1024   816 R     1.9  1.6   0:00 top
  684 RussellW   1   0  3164 3164  2504 S     0.9  5.0   0:00 magicdev
    1 root       0   0   420  412   368 S     0.0  0.6   0:05 init
    2 root       0   0     0    0     0 SW    0.0  0.0   0:00 kflushd
    3 root       1   0     0    0     0 SW    0.0  0.0   0:00 kupdate
    4 root       0   0     0    0     0 SW    0.0  0.0   0:00 kpiod
    5 root       1   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root     -20 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd
   61 root       0   0     0    0     0 SW    0.0  0.0   0:00 khubd
  308 root       0   0   756  752   368 S     0.0  1.1   0:00 klogd
  323 rpc        0   0   508  504   416 S     0.0  0.8   0:00 portmap
  339 root       0   0     0    0     0 SW    0.0  0.0   0:00 lockd
  340 root       0   0     0    0     0 SW    0.0  0.0   0:00 rpciod
  350 rpcuser    0   0   724  724   612 S     0.0  1.1   0:00 rpc.statd
  402 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  406 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  407 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  408 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  409 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  421 daemon     0   0   376  364   300 S     0.0  0.5   0:00 atd
  461 lp         0   0   576  540   448 S     0.0  0.8   0:00 lpd
  513 root       0   0  1092  884   696 S     0.0  1.4   0:00 sendmail
  529 root       0   0   372  360   308 S     0.0  0.5   0:00 gpm
  544 root       0   0   644  644   540 S     0.0  1.0   0:00 crond
  577 xfs        0   0  2988 2944   628 S     0.0  4.6   0:00 xfs
  610 root       0   0   372  364   308 S     0.0  0.5   0:00 rhnsd
  626 root       0   0   440  440   372 S     0.0  0.7   0:00 mingetty
  627 root       0   0   440  440   372 S     0.0  0.7   0:00 mingetty
  628 root       0   0   440  440   372 S     0.0  0.7   0:00 mingetty
  629 root       0   0   440  440   372 S     0.0  0.7   0:00 mingetty
  630 root       0   0   440  440   372 S     0.0  0.7   0:00 mingetty  1:37pm  up 6 min,  2 users,  load average: 0.09, 0.28, 0.16
50 processes: 49 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.9% user,  1.9% system,  0.0% nice, 97.0% idle
Mem:    62808K av,   61156K used,    1652K free,   47976K shrd,    1308K buff
Swap:  208804K av,    3100K used,  205704K free                   11676K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  298 root      19   0   560  560   460 S     0.9  0.8   0:04 syslogd
  638 root       9   0 91704  86M  2080 S     0.7 141.7   0:05 X
  809 RussellW  17   0  1024 1024   816 R     0.5  1.6   0:00 top
  684 RussellW   2   0  3164 3164  2504 S     0.1  5.0   0:00 magicdev
  697 RussellW   4   0  3544 3544  2164 S     0.1  5.6   0:01 sawfish
  797 RussellW   3   0  4572 4572  3280 S     0.1  7.2   0:00 gnome-terminal
    1 root       0   0   420  412   368 S     0.0  0.6   0:05 init
    2 root       0   0     0    0     0 SW    0.0  0.0   0:00 kflushd
    3 root       1   0     0    0     0 SW    0.0  0.0   0:00 kupdate
    4 root       0   0     0    0     0 SW    0.0  0.0   0:00 kpiod
    5 root       1   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root     -20 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd
   61 root       0   0     0    0     0 SW    0.0  0.0   0:00 khubd
  308 root       0   0   756  752   368 S     0.0  1.1   0:00 klogd
  323 rpc        0   0   508  504   416 S     0.0  0.8   0:00 portmap
  339 root       0   0     0    0     0 SW    0.0  0.0   0:00 lockd
  340 root       0   0     0    0     0 SW    0.0  0.0   0:00 rpciod
  350 rpcuser    0   0   724  724   612 S     0.0  1.1   0:00 rpc.statd
  402 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  406 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  407 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  408 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  409 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd
  421 daemon     0   0   376  364   300 S     0.0  0.5   0:00 atd
  461 lp         0   0   576  540   448 S     0.0  0.8   0:00 lpd
  513 root       0   0  1092  884   696 S     0.0  1.4   0:00 sendmail
  529 root       0   0   372  360   308 S     0.0  0.5   0:00 gpm
  544 root       0   0   644  644   540 S     0.0  1.0   0:00 crond
  577 xfs        0   0  2988 2944   628 S     0.0  4.6   0:00 xfs
  610 root       0   0   372  364   308 S     0.0  0.5   0:00 rhnsd
  626 root       0   0   440  440   372 S     0.0  0.7   0:00 mingetty
  627 root       0   0   440  440   372 S     0.0  0.7   0:00 mingettyShow command line  1:37pm  up 6 min,  2 users,  load average: 0.08, 0.27, 0.16
50 processes: 49 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  1.4% user,  2.4% system,  0.0% nice, 96.1% idle
Mem:    62808K av,   61164K used,    1644K free,   47976K shrd,    1316K buff
Swap:  208804K av,    3100K used,  205704K free                   11676K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  298 root      11   0   560  560   460 S     1.4  0.8   0:04 syslogd -m 0
  809 RussellW  10   0  1024 1024   816 R     1.4  1.6   0:00 top
  684 RussellW   1   0  3164 3164  2504 S     0.3  5.0   0:00 magicdev --sm-config-prefix /magicdev-j4uOmf/ --sm-client-id 117
  767 RussellW   0   0  5396 5396  3768 S     0.3  8.5   0:02 panel --sm-config-prefix /panel.d/default-2dRwnb/ --sm-client-id
  776 RussellW   1   0  4024 4024  2920 S     0.3  6.4   0:00 deskguide_applet --activate-goad-server deskguide_applet --goad-
    1 root       0   0   420  412   368 S     0.0  0.6   0:05 init [5]
    2 root       0   0     0    0     0 SW    0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 SW    0.0  0.0   0:00 kupdate
    4 root       0   0     0    0     0 SW    0.0  0.0   0:00 kpiod
    5 root       0   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root     -20 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd
   61 root       0   0     0    0     0 SW    0.0  0.0   0:00 khubd
  308 root       0   0   756  752   368 S     0.0  1.1   0:00 klogd
  323 rpc        0   0   508  504   416 S     0.0  0.8   0:00 portmap
  339 root       0   0     0    0     0 SW    0.0  0.0   0:00 lockd
  340 root       0   0     0    0     0 SW    0.0  0.0   0:00 rpciod
  350 rpcuser    0   0   724  724   612 S     0.0  1.1   0:00 rpc.statd
  402 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  406 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  407 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  408 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  409 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  421 daemon     0   0   376  364   300 S     0.0  0.5   0:00 /usr/sbin/atd
  461 lp         0   0   576  540   448 S     0.0  0.8   0:00 lpd Waiting 
  513 root       0   0  1092  884   696 S     0.0  1.4   0:00 sendmail: accepting connections
  529 root       0   0   372  360   308 S     0.0  0.5   0:00 gpm -t ps/2
  544 root       0   0   644  644   540 S     0.0  1.0   0:00 crond
  577 xfs        0   0  2988 2944   628 S     0.0  4.6   0:00 xfs -droppriv -daemon
  610 root       0   0   372  364   308 S     0.0  0.5   0:00 rhnsd --interval 120
  626 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty1
  627 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty2
  628 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty3Display load average off50 processes: 49 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  1.9% user,  2.4% system,  0.0% nice, 95.5% idle
Mem:    62808K av,   61168K used,    1640K free,   47976K shrd,    1320K buff
Swap:  208804K av,    3100K used,  205704K free                   11676K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  797 RussellW   3   0  4572 4572  3280 S     1.4  7.2   0:00 gnome-terminal --use-factory --start-factory-server
  809 RussellW  12   0  1024 1024   816 R     1.4  1.6   0:00 top
  298 root      12   0   560  560   460 S     0.9  0.8   0:04 syslogd -m 0
  684 RussellW   2   0  3164 3164  2504 S     0.4  5.0   0:00 magicdev --sm-config-prefix /magicdev-j4uOmf/ --sm-client-id 117
    1 root       0   0   420  412   368 S     0.0  0.6   0:05 init [5]
    2 root       0   0     0    0     0 SW    0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 SW    0.0  0.0   0:00 kupdate
    4 root       0   0     0    0     0 SW    0.0  0.0   0:00 kpiod
    5 root       0   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root     -20 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd
   61 root       0   0     0    0     0 SW    0.0  0.0   0:00 khubd
  308 root       0   0   756  752   368 S     0.0  1.1   0:00 klogd
  323 rpc        0   0   508  504   416 S     0.0  0.8   0:00 portmap
  339 root       0   0     0    0     0 SW    0.0  0.0   0:00 lockd
  340 root       0   0     0    0     0 SW    0.0  0.0   0:00 rpciod
  350 rpcuser    0   0   724  724   612 S     0.0  1.1   0:00 rpc.statd
  402 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  406 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  407 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  408 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  409 nobody     0   0   508  488   396 S     0.0  0.7   0:00 identd -e -o
  421 daemon     0   0   376  364   300 S     0.0  0.5   0:00 /usr/sbin/atd
  461 lp         0   0   576  540   448 S     0.0  0.8   0:00 lpd Waiting 
  513 root       0   0  1092  884   696 S     0.0  1.4   0:00 sendmail: accepting connections
  529 root       0   0   372  360   308 S     0.0  0.5   0:00 gpm -t ps/2
  544 root       0   0   644  644   540 S     0.0  1.0   0:00 crond
  577 xfs        0   0  2988 2944   628 S     0.0  4.6   0:00 xfs -droppriv -daemon
  610 root       0   0   372  364   308 S     0.0  0.5   0:00 rhnsd --interval 120
  626 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty1
  627 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty2
  628 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty3
  629 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty4
  630 root       0   0   440  440   372 S     0.0  0.7   0:00 /sbin/mingetty tty5