-
vps freezing?
I recently got a VPS at liquidweb as they come highly reccomended on these boards. So far I've received really nice techs who seem very helpful.
Just a bit of background, I host just 7-8 sites, none of which really receive any trafic yet (in the process of being launched).
But I still have a major problem.
I'd say about 60% of the time, my server runs pretty well. Things load quickly, queries on the database are done quickly, etc. However the other 40% of the time I get EXTREME delays when loading any sort of page (database driven or not). Anywhere from 5 seconds up to 40 seconds.
I called in about this earlier today and he put me on a "beefier" vps server hoping this would help. However I still have the same issue. I just called in and was informed this was normal and expected for VPS accounts.
So my question to the WHT community: Is this normal? The long delays can't possibly be from *me* using my allocated resources (as it can occur when I'm the only one accessing my site, and loading a static page). Is there something I can do to find out what the problem is? Or was the liquidweb tech right? This is expected and if I want to avoid it I need to upgrade to a dedicated?
Thanks,
Kirk Johnson
-
I have the same exact situation, I thought it was just me! I signed up with Liquid Web about a month ago. Service has been great, everything else has been reliable. But occassionally, when I try to connect to one of my sites, it will time out. I wouldn't say 40% of the time, maybe 5-10%. I also started with the cheaper VPS package and upgraded because I thought the limited resources was the problem. Perhaps Liquid Web is growing too quickly and overloading their servers?
-
It *sounds* like the machine you are on has too many people sharing it and there aren't enough resources allocated to your VPS.
Going to a dedicated server would allow you to use the whole machine, up to the full capabilites of that machine.
But, I wouldn't give up on VPS entirely. You may find that another host has their allocations set up differently and you won't experience this kind of problem there.
That's the best advice I can offer, with the amount of information I have available to me.
Hope it was useful.
Mark
-
Problem *seems* fixed!
After some digging (and a suggestion from LW staff) I have found that the problem is most likely associated with mySQL. Although my sites get little to no traffic, one of the sites had alot of mySQL processes in the SLEEP state.
I turned off that account and reset mysql, and the sleep states were gone - and everything seemed to work fine.
I looked through the code on the site that was causing problems and all his connection strings used mysql_pconnect - which starts a persistent connection. I asked him to change those to mysql_connect, which he's doing now, and I think this will fix the problem.
Thanks for your comments - I hope this maybe helps you too SubSolar!
-Kirk Johnson
-
Glad to hear that you found the problem and were able to fix it.
Mark