Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th May 2011, 19:35
guimnk guimnk is offline
Member
 
Join Date: Jul 2009
Posts: 90
Thanks: 7
Thanked 2 Times in 2 Posts
Default ISPConfig Server Slower

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
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2011, 09:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,231 Times in 4,100 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st May 2011, 17:00
guimnk guimnk is offline
Member
 
Join Date: Jul 2009
Posts: 90
Thanks: 7
Thanked 2 Times in 2 Posts
Default

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>
Reply With Quote
  #4  
Old 23rd May 2011, 11:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,231 Times in 4,100 Posts
Default

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).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd May 2011, 14:00
guimnk guimnk is offline
Member
 
Join Date: Jul 2009
Posts: 90
Thanks: 7
Thanked 2 Times in 2 Posts
Default

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 by guimnk; 23rd May 2011 at 14:02.
Reply With Quote
  #6  
Old 23rd May 2011, 14:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,231 Times in 4,100 Posts
Default

The resync of the raid is finished, thats why the load is ok again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 23rd May 2011, 14:11
guimnk guimnk is offline
Member
 
Join Date: Jul 2009
Posts: 90
Thanks: 7
Thanked 2 Times in 2 Posts
Default

This slowness in sync is the size of HD's?
Reply With Quote
  #8  
Old 23rd May 2011, 14:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,231 Times in 4,100 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04


All times are GMT +2. The time now is 23:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.