Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
[Linux/WHM] How to disable Swap Used? My server sometime get high load when Swap Used
Old 01-21-2011, 09:11 PM [Linux/WHM] How to disable Swap Used? My server sometime get high load when Swap Used
Skilled Talker

Posts: 78
Name: syu
Trades: 0
My server load normally only about 1 or below, the server running normally for days, not get high load

when i check in whm >> Service Status, the Swap Used report always zero (0), not used at all :

Swap Used 0.00% (0 of 10169104)




but when Swap Used sometime, even the swap used very very small size, only 4k, or 88k like below, the server start sometime get high load, can be few times a day. And to make the Swap Used zero (0) again, i need to Gracefull Reboot

in whm - Service Status :

Swap Used 0.00% (4 of 10169104)
or
Swap Used 0.00% (88 of 10169104)



the Memory Used when Swap Used is only about 25-50%, i believe the memory 8Gb is still big, the problem maybe because the harddrive/harddisk rpm are too slow



please help guys How to disable the Swap Used? so the server only using the memory, not swapped using harddrive/harddisk too





Nb. Here are the server specs :
Core i7 860 Quad Core - SINGLE CPU QUAD CORE 2.8GHZ FSB 2.5 GT/s (8MB CACHE) w/HT
Control Panel: CPanel/WHM - Centos 5 64 Bit
RAM/Memory: 8GB DDR3
Primary Hard Drive: 1TB SATA
__________________
Lets help each other
basketmen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-22-2011, 12:28 AM Re: [Linux/WHM] How to disable Swap Used? My server sometime get high load when Swap
Super Spam Talker

Posts: 880
Name: Paul W
Trades: 0
swapoff http://linux.die.net/man/8/swapoff
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is offline
Reply With Quote
View Public Profile
 
Old 01-22-2011, 04:15 PM Re: [Linux/WHM] How to disable Swap Used? My server sometime get high load when Swap
Skilled Talker

Posts: 78
Name: syu
Trades: 0
thanks maybe i will try it


usually there are no high load, when Swap Used are 0 (zero), for few days

screenshot when Swap Used are 0 (zero), there will be no high load





the high load only come when Swap Used, and i need to Gracefull reboot to make the Swap Used 0 (zero) again

screenshot when Swap Used are not 0 (zero), there will be high load (load can be 20-100) in that day for few minutes/hours, in this screenshot still normal load






my temporary analyze the high load is because the Swap Used, so i want to try disable it, let me know if you have another suggestions
__________________
Lets help each other
basketmen is offline
Reply With Quote
View Public Profile
 
Old 01-24-2011, 04:58 PM Re: [Linux/WHM] How to disable Swap Used? My server sometime get high load when Swap
Skilled Talker

Posts: 78
Name: syu
Trades: 0
the high load since few days ago come when off peak time, not peak time, usually at 7-8am (very little people at that time, almost no traffic), you can see here, this is when high load at 8.23am, and the task are very low, only 198, get high load, the Swap used are 8k :





its not make sense get high load with the task only 198 (very little people at that time, almost no traffic), its very low number, its should be no high load, the server usually running the task at 250 averages and not get high load, if swap used are 0 (zero)




This is current top result, now are peak time, the task are higher : 257, but the load only 0.61, the Swap used are 0 (zero)






i am not sure if upgrading the memory from 8Gb right now, to 16Gb will solved the problem

if you have suggestion again for now i really appreciated, maybe like how to set only use swap if memory used 90% or more?, or how to found out which one the script that causing high load?
__________________
Lets help each other
basketmen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to [Linux/WHM] How to disable Swap Used? My server sometime get high load when Swap Used
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16227 seconds with 12 queries