High Traffic
But at Linode too with 700 MB RAM, my VPS hangs during times of high traffic.
This is just unacceptable and I need to keep the site running at all times.
Please help in restricting the server for high traffic even with 700 MB Ram and 2000 MB swap space.
My IO shows over 100% util during those minutes of traffic spikes.
7 Replies
Second thing to do: ps auxwww
Third thing to do: Was "2000MB" of swap a typo? If not, reduce that to 256MB. Swap is EXTREMELY slow and if you're actively swapping, you're going to have serious problems.
Odds are good that if switching providers didn't solve the problem, it's probably something to do with your particular architecture. Figuring out what that is will require some information and investigation.
2000 MB was the swap. I increased it as once the RAM gets filled up, I need back up memory to pick up the traffic?
Try checking out munin
The 720MB Linode should be enough to handle an enormous amounts of traffic; you can handle millions of pageviews per day on a 360MB server if properly tweaked with a decent website.
We're going to need more information about your setup. The most useful of which will be, what is using all your RAM? You can run 'top' and hit "M" (the uppercase is important). That will show you a list of the top consumers of RAM, which will give us a much better idea about what's wrong with your server.
The most common reason for running out of RAM is to have Apache misconfigured; the default Apache configuration itself is more or less misconfigured when you put it under any serious load.
Swap reduced.
Things working well now after low memory parameters set.