It looks like you're new here. If you want to get involved, click one of these buttons!
It's my first time running a LEB on my own. I just installed Nginx, MySQL, PHP. I am running one very new Wordpress site, no visitors yet. But my RAM usage is already 100+MB. I was wondering what do you think of this stats. Is there something there that I should disable or adjust?
Comments
For one wordpress site, you could save a lot of ram sure. Did you install with a script like Minstall or Tuxlite or did you just apt-get the packages without any config?
I'd configure mySQL for low memory usage and reduce amount of php and nginx workers for starters.
SonicGlass - Atlanta, Buffalo, Denver, Los Angeles, Tampa, Milan, Frankfurt
SonicBoxes.com - VPS Tips, Tricks & Tutorials
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksapt-get only. I've removed innodb. How do you reduce the amount of php and nginx workers?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksAre you out of RAM? Why optimize, when there is still enough resources?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI've only 128MB
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksSo? Have you plans to add there other sites in the near future?
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksedit your /etc/my.cnf or wherever my.cnf and restart mysql after the edit, and give this a shot, not mine, it's from the CentOS bootstrap over at freevps.us
[mysqld] default-storage-engine = myisam key_buffer = 1M query_cache_size = 1M query_cache_limit = 128k max_connections=25 thread_cache=1 skip-innodb query_cache_min_res_unit=0 tmp_table_size = 1M max_heap_table_size = 1M table_cache=256 concurrent_insert=2 max_allowed_packet = 1M sort_buffer_size = 64K read_buffer_size = 256K read_rnd_buffer_size = 256K net_buffer_length = 2K thread_stack = 64K
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksHere some about optimizing http://tuxlite.com/lnmp-readme/
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksIn /etc/nginx/nginx.conf
and in /etc/php5/fpm/pool.d/www.conf
That should save a lot of RAM
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksLooks like you're using OVZ. Sometimes free doesn't accurately reflect OVZ memory usage. Try using htop instead. Free -m reports my usage as 232 MB but htop reports 100MB including a 64MB apc cache.
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks