ISPConfig Server Slower

Discussion in 'General' started by guimnk, May 20, 2011.

  1. guimnk

    guimnk Member

    Hi all...

    I am having serious problems on my server. I have ISPConfig updated. The server is a HP Proliant DL120 Xeon processor and 4GB of memory. I have 4 HD's from 1.5TB RAID (software) 1 +0.
    I've created a swap 16GB swap file. This machine is suddenly overloaded and presents the following scenario:

    Code:
    top - 14:19:18 up 52 days, 14:22,  2 users,  load average: 88.37, 67.84, 33.85
    Tasks: 572 total,   1 running, 571 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.1%us,  0.2%sy,  0.0%ni, 72.6%id, 26.8%wa,  0.0%hi,  0.3%si,  0.0%st
    Mem:   4049644k total,  3987108k used,    62536k free,    13604k buffers
    Swap: 16777212k total,  2724816k used, 14052396k free,    67724k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
      361 root      20   0     0    0    0 S    1  0.0 302:07.98 md0_raid10
    28316 mysql     20   0  592m  40m    0 S    1  1.0   2038:02 mysqld
    30873 root      20   0 19680 1704  968 R    1  0.0   0:00.03 top
       34 root      20   0     0    0    0 S    0  0.0   0:36.01 events/7
      116 root      20   0     0    0    0 S    0  0.0  42:45.00 kondemand/0
      122 root      20   0     0    0    0 S    0  0.0  37:19.31 kondemand/6
    17106 www-data  20   0  272m 3036  368 S    0  0.1   0:07.60 apache2
    30517 www-data  20   0  265m 3748  808 S    0  0.1   0:00.02 apache2
    30559 www-data  20   0  264m 3648 1148 D    0  0.1   0:00.04 apache2
    30613 www-data  20   0  269m  10m 2808 S    0  0.3   0:00.22 apache2
    30794 root      20   0 16860 1428  908 D    0  0.0   0:00.04 couriertls
        1 root      20   0 23752  452  100 S    0  0.0   0:24.44 init
        2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd
        3 root      20   0     0    0    0 S    0  0.0   0:25.48 ksoftirqd/0
        4 root      RT   0     0    0    0 S    0  0.0   0:14.89 migration/0
        5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0
        6 root      RT   0     0    0    0 S    0  0.0   0:05.37 migration/1
    
    How can I do to fix it??

    Thanks
     
  2. till

    till Super Moderator

    The load is so hign because your raid is currently resyncing. The load will drop again when the raid is resynced, you can check the raid state with:

    cat /proc/mdstat

    This is issue not related to ispconfig.
     
  3. guimnk

    guimnk Member

    Ok, but, what can I do to prevent the system becoming overloaded? It's possible?

    The result of command:

    Code:
    root@turbo:~# cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : active raid10 sdb1[1] sdc1[2] sda1[0] sdd1[3]
          2930274176 blocks 64K chunks 2 near-copies [4/4] [UUUU]
    
    unused devices: <none>
    
     
  4. till

    till Super Moderator

    After a raiud error or the initial install, the raid has to resync itself. Thats normal and can not be prevented on a software raid. Using a hardware raid controller might be an option. But normally such a resync does not happen that often (on my servers I have this once every few years).
     
  5. guimnk

    guimnk Member

    Ok, now I changed my swap. I put 4GB of swap. The processing was high again. Look at it now:

    Code:
    root@turbo:~# cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : active raid10 sdb1[1] sdc1[2] sda1[0] sdd1[3]
          2930274176 blocks 64K chunks 2 near-copies [4/4] [UUUU]
    
    unused devices: <none>
    root@turbo:~# free -m
                 total       used       free     shared    buffers     cached
    Mem:          3954       3594        360          0        339       1527
    -/+ buffers/cache:       1727       2226
    Swap:         8191        127       8064
    root@turbo:~# vmstat
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
     0  1 130716 330504 350244 1582936    0    0    18    76    1   15  2  1 93  4
    
     
    Last edited: May 23, 2011
  6. till

    till Super Moderator

    The resync of the raid is finished, thats why the load is ok again.
     
  7. guimnk

    guimnk Member

    This slowness in sync is the size of HD's?
     
  8. till

    till Super Moderator

    No, it was just a resync after a initial install or a sync failure as I explained above. It was not a issue that happens regularily.
     

Share This Page