vps running out of memory, 200MB free
Posted
by
demon
on Server Fault
See other posts from Server Fault
or by demon
Published on 2012-08-31T15:16:57Z
Indexed on
2012/08/31
15:41 UTC
Read the original article
Hit count: 239
vps
At the beginning of this year I took a VPS for my website because I was running against the resource limits from a shared hosting.
Here are the things I know:
- 2GB memory, with 1GB swap
- Debian X64 server ED installed
Software running on the webserver:
- mysql
- apache
- postfix
- pop3
- imap
- amavisd
- clamd
- cron
- fail2ban
- munin-node
- pure-ftpd
- spamd
- nginx
Now for the setup: Nginx listens on port 80 and handles the static files, the php side is done by apache2 running mod_php in combi with apc(no var caching!).
Iam using a pretty 'busy' drupal and phpbb stack on the server, for drupal iam using boost and authcache to handle of the server load with a pressflow stack. phpbb is just phpbb3 with some mods installed, but has at max 30 users online at a time..
The problem is that its staring to use the swap after a few days after a reboot and thus the site becomes slower.
I'v added pictures of monit and munin, so maybe somebody can help me out...
Monit:
Munin:
© Server Fault or respective owner