GONUMBER6
11-19-2011, 02:45 AM
About 2 weeks ago my forum has started to progressively become painfully slow. It is always slow in the mornings.
Godaddy blames vbulletin and mySQL database.
Here is some of my chat with them:
Thank you for contacting Live Chat support for Virtual and Dedicated Servers. This is David. May I start with your name and the issue which you are currently experiencing?
bulldognews: Hi David, It's me Lisa again! I have done troubleshooting for 24 hours now and my site is still painfully slow. :(
David C -Server Concierge: What is your site?
bulldognews: http://www.englishbulldognews.com
David C -Server Concierge: Do I have your permission to access the server?
bulldognews: Yes please.
David C -Server Concierge: It could take up to 5 minutes for me to look at this. I appreciate your patience.
bulldognews: No problem
David C -Server Concierge: It looks like the issue is specifically with your database queries, did you try disabling any plugins on the site or enable slow MySQL query logging?
bulldognews: I disabled everything right now, but no idea about the MySQL
David C -Server Concierge: Well your site is a vBulletin site so it has to connect to the database to pull the information out to load the site, this is what's taking a long time. To find out what specifically is doing that you'd have to enable the slow query logging feature in MySQL, there's a tutorial on how to do this here: http://dev.mysql.com/doc/refman/5.0/en/slow-query-log.html
bulldognews: let me have a look, thanks
David C -Server Concierge: You're welcome, can I help you with anything else?
bulldognews: Oh no that is all greek to me
bulldognews: I am planning on moving to an assisted dedicated server plan in a few weeks, but until then I have to try to figure this out on my own.... :(
David C -Server Concierge: With an assisted server our assisted team can turn on the MySQL slow query logging for you, but they can't troubleshoot your actual site code or database structure.
David C -Server Concierge: Did you make the site or did someone else build it?
bulldognews: I did everything on my own, and I have been fighting an early morning slowness issue for almost a year, I am guessing. I turned off a modification about 2 weeks ago that uses alot of resources (SEO rewrite software) and it was lightning fast for a few days and then progressively slower again each day.
David C -Server Concierge: Okay, well I don't know your level of expertise in web development or server administration, but I'll give you the basic rundown to be on the safe side. vBulletin is built in PHP and writes to the MySQL database to store content. To display any of the pages, it has to connect to the database, search for the content it needs, and then display it. If you have a lot of plugins installed, those also run each time the page is accessed. For example, if you have a statistics plugin that caches where all your visitors come from, what page they visit, when they visited it, etc, that has to run as well on each page load.
David C -Server Concierge: Databases get larger and larger over time with plugins like that, so it takes longer to load each table since there's more data in it than there was before.
David C -Server Concierge: That will eventually slow down the site.
David C -Server Concierge: That's what the slow query logging does - it shows you what queries to the database are taking the longest to finish.
David C -Server Concierge: It's more than likely a plug-in doing it, the only way to really test that would be to enable the query logging to see which query it is, or just try disabling all the plugins and see if the site comes back up to speed.
David C -Server Concierge: You could also go into your MySQL database and optimize it to reduce the overhead, that would flush out any old data that's no longer needed and bring the size down a bit as well.
David C -Server Concierge: I haven't used vBulletin personally, but I've seen a number of people with WordPress issues, and a lot of the time the problem was due to plug-ins like YARPP, StatPress, and so forth that aren't part of the base WordPress install.
bulldognews: Yes I did turn off all modifications (no help at all), and this issue started just a couple of weeks ago.
bulldognews: Also my other forum Taste tested recipes is slow to load so how can that be?
David C -Server Concierge: What's the URL for that?
bulldognews: http://tastetestedrecipes.com
bulldognews: It's not so slow that it is painful but it should be super fast since it is small and almost out of the box.
David C -Server Concierge: That one is loading fairly quick for me.
bulldognews: Hmmmm.... okay. Not for me. Unless I visit a cached page.
David C -Server Concierge: All those pages are loading in under a second for me, so that one seems fine.
David C -Server Concierge: The englishbulldognews.com is definitely really slow for me though.
David C -Server Concierge: If you've already tried turning off all the plugins, the only other thing I can think of is if it's taking along time to load the external content on that site.
David C -Server Concierge: Did you try disabling the ads as well?
David C -Server Concierge: I can get to a test page almost instantly, so it has to be either the database or some of the external content.
David C -Server Concierge: http://www.englishbulldognews.com/phpinfo.php loads right away.
bulldognews: Yes it sure does.
Godaddy blames vbulletin and mySQL database.
Here is some of my chat with them:
Thank you for contacting Live Chat support for Virtual and Dedicated Servers. This is David. May I start with your name and the issue which you are currently experiencing?
bulldognews: Hi David, It's me Lisa again! I have done troubleshooting for 24 hours now and my site is still painfully slow. :(
David C -Server Concierge: What is your site?
bulldognews: http://www.englishbulldognews.com
David C -Server Concierge: Do I have your permission to access the server?
bulldognews: Yes please.
David C -Server Concierge: It could take up to 5 minutes for me to look at this. I appreciate your patience.
bulldognews: No problem
David C -Server Concierge: It looks like the issue is specifically with your database queries, did you try disabling any plugins on the site or enable slow MySQL query logging?
bulldognews: I disabled everything right now, but no idea about the MySQL
David C -Server Concierge: Well your site is a vBulletin site so it has to connect to the database to pull the information out to load the site, this is what's taking a long time. To find out what specifically is doing that you'd have to enable the slow query logging feature in MySQL, there's a tutorial on how to do this here: http://dev.mysql.com/doc/refman/5.0/en/slow-query-log.html
bulldognews: let me have a look, thanks
David C -Server Concierge: You're welcome, can I help you with anything else?
bulldognews: Oh no that is all greek to me
bulldognews: I am planning on moving to an assisted dedicated server plan in a few weeks, but until then I have to try to figure this out on my own.... :(
David C -Server Concierge: With an assisted server our assisted team can turn on the MySQL slow query logging for you, but they can't troubleshoot your actual site code or database structure.
David C -Server Concierge: Did you make the site or did someone else build it?
bulldognews: I did everything on my own, and I have been fighting an early morning slowness issue for almost a year, I am guessing. I turned off a modification about 2 weeks ago that uses alot of resources (SEO rewrite software) and it was lightning fast for a few days and then progressively slower again each day.
David C -Server Concierge: Okay, well I don't know your level of expertise in web development or server administration, but I'll give you the basic rundown to be on the safe side. vBulletin is built in PHP and writes to the MySQL database to store content. To display any of the pages, it has to connect to the database, search for the content it needs, and then display it. If you have a lot of plugins installed, those also run each time the page is accessed. For example, if you have a statistics plugin that caches where all your visitors come from, what page they visit, when they visited it, etc, that has to run as well on each page load.
David C -Server Concierge: Databases get larger and larger over time with plugins like that, so it takes longer to load each table since there's more data in it than there was before.
David C -Server Concierge: That will eventually slow down the site.
David C -Server Concierge: That's what the slow query logging does - it shows you what queries to the database are taking the longest to finish.
David C -Server Concierge: It's more than likely a plug-in doing it, the only way to really test that would be to enable the query logging to see which query it is, or just try disabling all the plugins and see if the site comes back up to speed.
David C -Server Concierge: You could also go into your MySQL database and optimize it to reduce the overhead, that would flush out any old data that's no longer needed and bring the size down a bit as well.
David C -Server Concierge: I haven't used vBulletin personally, but I've seen a number of people with WordPress issues, and a lot of the time the problem was due to plug-ins like YARPP, StatPress, and so forth that aren't part of the base WordPress install.
bulldognews: Yes I did turn off all modifications (no help at all), and this issue started just a couple of weeks ago.
bulldognews: Also my other forum Taste tested recipes is slow to load so how can that be?
David C -Server Concierge: What's the URL for that?
bulldognews: http://tastetestedrecipes.com
bulldognews: It's not so slow that it is painful but it should be super fast since it is small and almost out of the box.
David C -Server Concierge: That one is loading fairly quick for me.
bulldognews: Hmmmm.... okay. Not for me. Unless I visit a cached page.
David C -Server Concierge: All those pages are loading in under a second for me, so that one seems fine.
David C -Server Concierge: The englishbulldognews.com is definitely really slow for me though.
David C -Server Concierge: If you've already tried turning off all the plugins, the only other thing I can think of is if it's taking along time to load the external content on that site.
David C -Server Concierge: Did you try disabling the ads as well?
David C -Server Concierge: I can get to a test page almost instantly, so it has to be either the database or some of the external content.
David C -Server Concierge: http://www.englishbulldognews.com/phpinfo.php loads right away.
bulldognews: Yes it sure does.