Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 15, 2017 4:12 am 
Offline
Senior Newbie

Joined: Sun Sep 18, 2011 8:22 am
Posts: 6
Hi

One of my Linodes is always running at 99% Virtual - is that bad? The real memory is at 42% - so don't understand why it's swapping so much.

CentOS 7, LAMP install with a bunch of small wordpress sites.

Currently it's showing

Real memory 3.77 GB total / 1.59 GB used
Virtual memory 250 MB total / 249.21 MB used

Should I increase my swap size ? or increase my Linode memory?

Thanks


Top
   
PostPosted: Sun Jul 16, 2017 4:41 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 1:41 pm
Posts: 942
The kernel will swap out little-used pages even in the absence of memory pressure. However, in my experience it is unusual for so much swap to be used without memory pressure. It is likely that you have spikes in memory usage that cause things to be swapped out; this may or may not be a real problem.

Overall, you should not really be too concerned by how much swap is used. The more important thing is how many pages are actively being swapped in and out - lots of swapping will slow down your server's responsiveness to users. You can look at this on the swap IO graph in the Linode manager, or by using a tool like vmstat.


Top
   
PostPosted: Sun Jul 16, 2017 6:38 am 
Offline
Senior Newbie

Joined: Sun Sep 18, 2011 8:22 am
Posts: 6
Last 30 days looks like this - looks ok to me ?

https://www.dropbox.com/s/yorrx182hjxnr ... 0.png?dl=0


Top
   
PostPosted: Wed Jul 19, 2017 5:03 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 1:41 pm
Posts: 942
With an average of 0.00 blocks/sec, you're probably OK.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group