#1  
Old 28th June 2009, 15:55
tonysch tonysch is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default High swap usage.

Good day all...

I have a brand new linode, 360 MB of RAM, Ubuntu 9.04 ISCponfig3 perfect server. I have configured 5 websites (basic) in ISCPconfig admin interface. Only small email traffic for one domain (1 mailbox).
This server is already chewing into my swap and I have memory left.
So just for laughs.. Last night I increased my memory to 450 MB. My swap space is still being sucked up.. (see my free -m below)
From my research. There should be no reason why my swap is being utilized. Is there some rouge application/service that is slighted on using my swap?

Any direction would be great...

free -m
total used free shared buffers cached
Mem: 450 414 35 0 22 77
-/+ buffers/cache: 315 134
Swap: 255 82 173

Thanks
Tony
Reply With Quote
Sponsored Links
  #2  
Old 28th June 2009, 19:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

It is not a problem when swap is used if accessing your websites is fast. If you want to check which applications use memory, us ethe command:

ps aux

or

top

I recommed to have at least 500 MB for a hosting server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th June 2009, 21:16
tonysch tonysch is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Kind of interesting thought...
A little over 2 years ago I built my first ISPconfig server running Ubuntu 6.
I only had 256MB of RAM and 10 websites all with about 3-5 mailboxes, and joomla on each site. My memory usage was almost 100%.
Since then I have scaled the server back to 3 websites, 2 email accounts and all running the original joomla. Memory usage was down to 60%.

Up until about 2 weeks ago... I only had to reboot the server every 3-4 months to speed her up. After an upgrade of iscponfig my memory usage was pegged and swap was peaking 2-5 hours after a reboot.
Days of research, troubleshooting and posting got me know where...

After questioning on this site I purchased a new linode and performed a Ubuntu perfect server 9.04 - ISPConfig3... followed it to the "T".
Since the install of ISPCfonfig3 and 3 basic websites(just the setup, no content)... The memory is already at 75% and the swap is around 50%.
I do understand how to determine what apps/services are utilizing memory and how much...
My question is.. how do I determine what app/service is using SWAP when there is memory available..?

Thanks
Tony
Reply With Quote
  #4  
Old 28th June 2009, 22:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
 
Default

ISPConfig itself is not using nearly any memory. But the spam and antivirus scanners are using a lot more memory in the latest versions which explains why the memory useage goes higher after an ispconfig update as ispconfig updates also clamav and sapmassassin on your server to the latest releases.
__________________
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
High CPU usage on (Ubuntu 8.04 LTS Server) HenryTheEight General 12 23rd April 2009 13:19
Apache2 fills my memory and my swap! batman Server Operation 1 10th February 2009 17:29
Kernel memory Usage ascetic angel Kernel Questions 0 12th September 2008 09:24
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Memory usage on debian etch devnull3d Installation/Configuration 4 17th January 2008 16:19


All times are GMT +2. The time now is 01:18.


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