05-31-2011, 11:14 PM #1Junior Guru Wannabe
- Join Date
- Jul 2010
Zencart category section loads very slow after switch to VPS
So i have a customer who is currently on one of my shared servers, and i recommended that he upgrade to a VPS because he has almost 1 million inodes. Because of that i had to take him off daily backups.
Anyways, restored the cpanel account on his new VPS and whenever we load the admin>>catalog>>categories section it takes almost 90 seconds to parse the entire page.
On the shared server it loaded almost instantly...i don't get it. The server is responding flawlessly, iowait nothing. The shared server parse time is about 5 seconds.
Anybody have any suggestions or had this same experience before? It's running on an OpenVZ container with 768mb dedicated 1024 burstable, on an i7 8 core server with 12gb ram (4 real cores 4 hyperthread). I moved him to a new VPS server with only a few clients on it and still have the same problem.
We have a template for cPanel VPS OpenVZ accounts that i originally used but i went ahead and rebuilt an entirely new template with CentOS 5 and installed cPanel and configured everything afterwards.
I even rebuilt with easyapache making sure to include all cache modules and everything that was included on the shared servers.
To go even further i even copied the config from MySQL (/etc/my.cnf) for the VPS....
Still having parse issues. Anybody got any ideas about this? It has completely stumped me and one of my highest level techs...now i know a lot of it has to do with the admin backend of zencart being legacy, but it still shouldn't take this long.
And as im sure most people know, most clients only know and care about what they see, so as far as this customer is concerned, when he was on the shared server it took 5-10 seconds to parse the page, when he moved to the VPS which took his cost up almost $50/mo more, it loads slower. To him it looks as though the VPS is slower than when he was on the shared server.
I've tried all the tweaking i can and still can't figure it out. Anybody got any suggestions or ideas? I'm at the point now where i will pay someone if they can figure out the problem and fix it for me. This is a very important customer as he has many accounts with us and more to come (he is a web developer). I need to keep this guy happy, someone help please!
06-01-2011, 04:05 AM #2Retired Moderator
- Join Date
- Feb 2005
TBH, I'd expect the VPS to be slower than shared, all other things being equal, but not by much - to get the difference you describe something must be wrong.
I'd be looking closely at mysql. With large datasets and less memory available in the VPS it may be writing temporary tables to disk. Or perhaps some of the tables got corrupted in the transfer, needing a repair. You could install mytop and see if that shows anything unusual.Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
By mileka in forum Ecommerce Hosting & DiscussionReplies: 1Last Post: 11-11-2011, 01:11 PM
By milesfoxwood in forum Web HostingReplies: 5Last Post: 02-24-2011, 10:23 AM
By dlewis23 in forum Hosting Security and TechnologyReplies: 18Last Post: 09-06-2010, 03:13 PM
By jubalince in forum Web HostingReplies: 4Last Post: 11-28-2005, 05:10 PM
By Website Rob in forum Hosting Security and TechnologyReplies: 6Last Post: 10-26-2005, 02:32 PM