Performance issue system swap partition.

Herta Van den Eynde herta.vandeneynde at gmail.com
Mon Sep 3 08:47:45 UTC 2007


On 03/09/07, nilesh vaghela <nileshj.vaghela at gmail.com> wrote:
> We have RHEL 3 running groupware horde with around 400 users.
>
> output of the top is like
>
> 11:56:24  up 12 days, 14:29,  3 users,  load average: 17.56, 13.86, 17.18
> 215 processes: 211 sleeping, 1 running, 3 zombie, 0 stopped
> CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
>            total  133.8%    0.0%   15.6%   0.0%     0.0%   50.0%    0.0%
>            cpu00   66.7%    0.0%    8.1%   0.0%     0.0%   25.0%    0.0%
>            cpu01   67.1%    0.0%    7.5%   0.0%     0.1%   25.0%    0.0%
> Mem:  1024780k av, 1007952k used,   16828k free,       0k shrd,   16804k
> buff
>                     752416k actv,  142348k in_d,   17892k in_c
> Swap: 1999992k av,  286856k used, 1713136k free                  548700k
> cached
>
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM  CTIME CPU COMMAND
> 27403 postgres  17   0 18932  18M 17512 S    36.8  1.8   0:01   0 postmaster
> 22027 apache    20   0 14064  13M  3948 S     9.9  1.3   0:06   1 httpd
>  9730 apache    16   0 15556  14M  4032 S     9.7  1.4   0:23   0 httpd
> 15890 apache    19   0 15504  14M  4016 S     6.3  1.4   0:18   1 httpd
>  7907 apache    18   0 15128  14M  4024 S     5.3  1.4   0:14   1 httpd
> 19281 apache    15   0 15324  14M  3984 S     2.9  1.4   0:12   1 httpd
>     8 root      15   0     0    0     0 SW    1.7  0.0  43:14   0 kscand
> 26073 apache    16   0 13784  12M  3912 S     1.7  1.2   0:01   1 httpd
> 26056 apache    16   0 14588  13M  3928 S     1.5  1.3   0:01   0 httpd
> 26152 amish.sh  15   0  1152 1112  1020 D     1.5  0.1   0:05   0 imap
> 19330 apache    15   0 15120  13M  3968 S     1.3  1.3   0:12   1 httpd
> 21861 apache    16   0 14568  13M  3952 S     1.3  1.3   0:05   1 httpd
> 22028 apache    15   0 14228  12M  3964 S     1.1  1.2   0:08   1 httpd
> 21860 apache    15   0 14436  13M  3964 S     0.9  1.3   0:06   0 httpd
>
> --------
>
> #free -m
>              total       used       free     shared    buffers     cached
> Mem:          1000        985         15          0         16        584
> -/+ buffers/cache:        384        616
> Swap:         1953        262       1691
> # iostat
> Linux 2.4.21-47.0.1.ELsmp (mailserver)      09/03/2007
>
> avg-cpu:  %user   %nice    %sys   %idle
>            8.62    0.00    1.67   89.72
>
> Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-0           51.10      2174.61       528.74 2031403260  493924264
> dev8-1           20.50      1051.40      1106.51  982162050 1033642680
>
>
> Why it is consuming so high swap even the free memory is there ???
>
> The io wait consume almost all the cpu power. ??
>
>
> --
> Nilesh Vaghela
> ElectroMech
> Redhat Channel Partner and Training Partner
> 74, Nalanda Complex, Satellite Rd, Ahmedabad
> 25, The Emperor, Fatehgunj, Baroda.
> www.electromech.info

Could you post the output of 'cat /proc/meminfo', please?

Kind regards,

Herta




More information about the redhat-list mailing list