Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I am on a pretty tight budget (like a lot of folks) and I have a VPS running using Centos v6.0 x86. It has 1024 MB of RAM. I have Apache 2 and MySQL running. I recently upgraded to the latest version of MySQL and after restarting found that my RAM usage went from 14% to 48%. I only have 1024 MB of RAM installed in the VPS but thought that would be enough. Is it normal to see this amount RAM usage even without any traffic? Thanks.

share|improve this question
    
What are the exact MySQL version numbers before and after the upgrade? –  Skyhawk Oct 19 '11 at 14:26
    
Currently running MySQL v5.5.16. Previously I was running the default version of MySQL that comes with CentOS v6.0 x86. I am sorry, I do not recall the version. –  webworm Oct 19 '11 at 15:24

1 Answer 1

up vote 2 down vote accepted

Your usage pattern determines what you need, and you haven't told us anything about that. For example, my personal VPS server has been running for several years with a mere 64MB of RAM. You can bet that's at 100% utilization all the time. It's still very responsive. I answered a question yesterday for somebody who was running with 256MB: Server hitting high loads and becoming very slow. His configuration was just using more processes than needed.

You don't detail what memory usage you're talking about either... is idle free memory, or is it free + cache? Remember that MySQL has settings which will determine consumption of real system RAM.

If you're having regular idle time, 1G of memory may be far more than you need.

share|improve this answer
    
I was planning to installing Wordpress and running a family blog. I am afraid I am very new to Linux and I do not know how to separate out free + cache. I am only going by the VPS "control panel" to determine memory usage. If you give me some commands I can run them and get back with some data. –  webworm Oct 19 '11 at 15:23
    
256MB is more than enough for a small Wordpress install. I think what you're seeing through the control panel includes the cache usage. A lot of data would have been read form disk in the process of updating, and I strongly presume that is showing as utilization. Take a look at that other question I referenced. I don't know what you're paying now, but I've found a personal love for EC2 micro instances. –  Jeff Ferland Oct 19 '11 at 15:27
    
Thanks Jeff. I appreciate the insight. I am paying about $10/month now for 1.6 Ghz and 1024 RAM. Besides the Family blog I also wanted to create some virtual sites for testing Drupal, Moodles etc .. Sort of a "learning" project for me to get familiar with Linux. Thanks for the suggestion of EC2 .. I will look at those. –  webworm Oct 19 '11 at 15:40
    
@webworm Sounds like a good price, and a good way to learn. I'd be happy to help you learn in any way I can. –  Jeff Ferland Oct 19 '11 at 15:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.