satori83 — 2012-12-29T11:33:15-05:00 — #1
I have a VPS at a reputable company. My package is currently at (CPU-1.98 GHZ, RAM-1344 MB, Disk Space-59 GB, Bandwidth-1050 GB) I have noticed that two time over the last 3 months I caught my VPS down. They told me I am running out of memory, but I dont have a lot of traffic. I am only using about 17gb bandwidth across all the sites. 95% are Wordpress. I asked about mod_deflate to increase loads speed but they said that would eat even more memory. I was also thinking of going with cache plugins because I can't do a CDN for 30 sites, but thats more memory also. What can I do to decrease my memory usage? I really didnt think my sites were that resource intensive. Is my only viable option to upgrade?
Also just checked these settings:
total used free shared buffers cached
Mem: 1376256 375096 1001160 0 0 0
-/+ buffers/cache: 375096 1001160
Swap: 0 0 0
Total: 1376256 375096 1001160
dklynn — 2012-12-29T17:38:17-05:00 — #2
It seems as if the problem is with your CPU usage (you only have a limited percentage available on a VPS). WP is reputed to be a memory hog (Joomla is supposed to be worse but I don't use it ... albeit I've provided a Joomla Specialized Hosting package [via http://www.webhostingbuzz.com/joomla-hosting.php] to a client). While I'd recommend use of a dedicated server, you may be better served by a WordPress Specialized Hosting Package which can be tailored to your traffic requirements.
mdrussell — 2012-12-29T19:39:05-05:00 — #3
Got cPanel on your VPS? How many WordPress sites? cPanel alone will consume most of that memory in a VPS environment without leaving much overheard for WordPress. WordPress modules can be hugely resource intensive so I can see how your memory can run out.
Upgrade to a VPS with 2GB of RAM and monitor usage carefully. You should have more headroom. I very much doubt you are close to using even 50% of the CPU at that level - the memory is a bottleneck.
a7898585 — 2013-01-01T02:27:54-05:00 — #4
which company are you with now? i want to buy a vps, can you recommend one? thank you
satori83 — 2013-01-01T02:39:42-05:00 — #5
I'm with Hostgator now...they have been the best of three companies I have used. Solid support and good pricing.
Sent from my Nexus 4 using Tapatalk 2
dklynn — 2013-01-01T02:49:25-05:00 — #6
Uh ... I've been reading (here) about problems creeping in with HostGator.
I'm using accounts on both sides of a VPS (dedi, specialized and shared hosting) at WebHostingBuzz and can recommend them highly. Moreover, I've never seen anything adverse about WHB which is a great sign, too.
a7898585 — 2013-01-01T02:53:13-05:00 — #7
hm, it's a little expensive to me, my budget is $5
a7898585 — 2013-01-01T02:56:51-05:00 — #8
satori83 — 2013-01-01T03:11:57-05:00 — #9
I don't know where you can get a bps for five bucks. And I did have an issue with mine...but support got it squared away for me. I just didn't have time to post that with the holidays and all.
Sent from my Nexus 4 using Tapatalk 2
a7898585 — 2013-01-01T03:14:57-05:00 — #10
thank you for your kindness
mdrussell — 2013-01-01T05:18:00-05:00 — #11
You cannot get a good VPS for $5 on modern hardware that is not overloaded. The figures do not compute. Those companies that do offer such packages are the ones overloading their servers and constantly going down.
promptspace — 2013-01-02T07:01:13-05:00 — #12
I do not think so. cPanel (VPS Optimized) has a extremely lo memory footprint. I have seen VPSes with just 1GB RAM running cPanel working absolutely fine, it is highly unlikely that the the issue is due to the memory consumption (unless the server is not properly optimized)
mdrussell — 2013-01-02T07:22:59-05:00 — #13
Just FYI, cPanel VPS optimized uses about half a gig of RAM before you put any sites on the server. Add a few WordPress sites and all of their modules and you can easily use the remaining 768MB in the example above.
So I stand by my recommendation to upgrade