I switched from shared hosting to a VPS about a month ago. I’ve ratcheted up my allocated RAM from 300 to 600 MB in an attempt to solve an issue that has been persistent from the first week of VPS. I get constant e-mails from Dreamhost that my server has been rebooted. I get one every 24-48 hours, sometimes I make it 3 days.
First off… emails that start like this:
“Nobody likes to hear that they’ve packed on a few pounds, but we wanted you to hear it from a friend.”
Make me want to scream. My site hasn’t packed on a few pounds and the robot sending me this e-mail is definitely not my friend. I so wish the email just said “attention: reboot at X:XX because memory reached XXX MB.” Wouldn’t that be better?
I know many others have fought and struggled with this same issue. The graphs show nothing, typically my site uses way less RAM than I have access to. Has anyone solved it? My site gets 3,000-5,000 visits a week (16-17K/month, so not a huge site). And I can get the reboots on any day of the week at any time of the day. So during 1,000 visit days and 300 visit days. At 6 am, 9 am, 4 pm, all over the place.
I’ve followed all the recommendations from Dreamhost (w3 cache, get rid of widgets, changed from CGI PHP (5.3) to 5.2 to fast and back again, streamlined everything I can do, etc.) and seen no change from Dreamhost’s end. On the plus side my site now runs faster and slimmer. Though that has no effect on the reboot frequency. Argh! Where do I look next?
I’m at wits end. I would love any help anyone has to offer. Have people solved this? Thanks!
Not sure if this would be a factor, but I have two sites on the VPS, the second probably gets less than a hundred visits a month. And I think that’s optimistic. Could get even way less (I’m not monitoring it). It’s not a wordpress site. Just a tiny static site for a small architecture firm.