I'm still new at managing a VPS. I've been with Future Hosting since a month. Their customer service is spectacular. However, I have a problem...
First, some stats about my VPS. I have their basic plan, unmanaged. 384MB of RAM, 20GB of storage, running CentOS 4. I have a Virtuozzo control panel, but I'm not using Plesk; I'm using Webmin instead. As for the software running on it, I have Apache 2, MySQL 5, PHP 5, Postfix, Dovecot, Webmin (as mentioned), BIND, SASLAuthD, Hamachi. My main Web site runs Drupal 5 and Gallery 2, both PHP apps too slow for my previous provider. (But really fast with my new provider!)
My problem is I somehow always run out of memory. And my problems seems to start almost everyday, during the evening. Often, during that time, even the Virtuozzo panel is slow.
Postfix is always the first one to give up. My mail can be working fine for the entire day, while all of the sudden, I can't send mail and when I check the status of Postfix, it says that it's not running. I try to restart it again, but often, memory still lacks, or it takes a long time to restart.
During memory problems, even the simplest program, like "ls," won't work.
I can't understand this. Is there anyone who had to deal with this before? There must be a memory leak, but where? If I can run fine all the servers named above fine for the entire day, why does it suddenly fail at the end of the day?
It's really frustrating. This problem always ends up at me restarting my VPS. What's also annoying about that is after I restart my VPS, Apache won't run right away. I have to log on my VPS via SSH, add 127.0.0.1 to resolv.conf, restart Apache, then go and remove what I just added to resolv.conf. Then, finally, it works.
Anyone has any idea about all this? Any help would be really, really appreciated. Thanks a lot in advance!