-2
cpu 1.3%
mem 476/490MB
swap 347/511mb

tasks: 43, 29 thr; 1 running
load average: 0.10 0.08 0.06

via htop:<br>
/usr/sbin/apache2 -k start (listed 8x @ 8.1% mem each)
/usr/sbin/mysqld (listed 24x @ 2.1% mem each)

if I restart apache, pages load much quicker. after few days, page load takes much longer.

running small wordpress site with < 100 daily visits on vps with 512mb. didn't run into this problem before transfer to vps. it was previously on shared hosting.

how can i improve performance without restarting each time? where should i start looking for potential issues? if htop doesn't provide enough information, what commands should i run to provide additional details?

Charles
  • 41

1 Answers1

2

Problem: You are running a memory heavy web server application and a non-lightweight database on a single server with only 512M of memory and a 1:1 ratio of swap to RAM.

Solution: Get better hardware.

Giacomo1968
  • 3,553
  • 29
  • 42