vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

New installation, two vB instances, MySQL runaway thread

This is a discussion on New installation, two vB instances, MySQL runaway thread within the Troubleshooting forums, part of the vBSEO SEO Plugin category; So we've got two vBulletin instances ( www.dgrin.com and www.advrider.com) , both of which got vBSEO 'd last night. dgrin ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-28-2005, 09:23 PM
Junior Member
 
Join Date: Dec 2005
Posts: 5
New installation, two vB instances, MySQL runaway thread

So we've got two vBulletin instances (www.dgrin.com and www.advrider.com), both of which got vBSEO'd last night.

dgrin ran great all day with no problems, but ADVRider conks out periodically and has to be completely reset.

The load average skyrockets (80 - 160) and pages slow to a crawl (or mostly timeout). The culprit seems to be a runaway MySQL query - it takes forever (The longest we've let one run is 9800 seconds, but killed it before it completes).

I don't know if the problem query comes from vB (and we just never use it for some reason) or vBSEO, but here are the things we do know:

- Prior to installing vBSEO there are no slowdowns at all.
- Installing on dgrin (a much smaller board) produces no noticeable slowdowns.
- Both dgrin and ADVrider share a machine, so it's not a configuration problem - they're identical.
- We use PHP 4.3.9 + fixed on Red Hat Enterprise 4 with MySQL 4.1 and APC 3.0.8
- APC continues to run fine, ionCube isn't running (I've seen the threads about APC and ionCube. This appears to be a MySQL problem, not PHP, Apache, or APC).

Here's the query:

SELECT thread.threadid , post.postid
FROM thread AS thread
INNER JOIN post AS post ON(thread.threadid = post.threadid)
WHERE post.postid IN(###,###);

where "###,###" is an enormous list of numbers which appear to be all 2,000,000+ posts. It's truly mind-boggling how large the list of numbers is.

Things we're reasonably sure aren't the problem:

- httpd.conf vs .htaccess (we're not seeing page slowdowns, excessive disk usage, or Apache thrashing). It's trivial to move the .htaccess stuff into httpd.conf, but I'm positive it's not the problem.
- ionCube (APC seems to run fine, and we have no desire to use ionCube)

I'm happy to provide any extra details anyone might need.

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 12-29-2005, 09:15 AM
Juan Muriente's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Juan Carlos Muriente
Join Date: Jun 2005
Location: Puerto Rico
Posts: 12,699
Blog Entries: 2
Re: New installation, two vB instances, MySQL runaway thread

hmm... the SQL query quoted is not used by vBSEO. Perhaps it is executed by vB or some other hack. The strange thing is that, it only happens when vBSEO is activated?

Do you have any other hack in the advrider instance that is not installed in the dgrin instance?

Please try to disable all products/hacks except for vBSEO and try again. Let me know if it helps.
__________________
Juan Muriente / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-30-2005, 02:32 PM
Junior Member
 
Join Date: Dec 2005
Posts: 5
Re: New installation, two vB instances, MySQL runaway thread

Hmmm... Interesting question. I don't know for sure whether the query is running on ADVrider and not on dgrin, only that the query brings ADVrider to its knees but not dgrin. It could be that it isn't so intensive on dgrin because it only has 200,000 posts, whereas ADVrider has 2,000,000.

But you're right that ADVrider has plugins that dgrin doesn't. They both have vBSEO sitemap and Selective Forum Filter hacks.

ADVrider also has vBSEO conditional signatures, which I could have disabled had I thought to, and the ever-popular Miserable Users hack.

I'm having trouble getting my head around why an add-on wouldn't do a big query like that until vBSEO is installed, but you know the code far better than I.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 01-01-2006, 04:00 AM
Junior Member
 
Join Date: Dec 2005
Posts: 5
Re: New installation, two vB instances, MySQL runaway thread

Okay, we finally got to the bottom of what the query was that was causing us to screech to a halt. It's a search to return results as threads done by vBulletin and had nothing to do with vBSEO or any plugins (we disabled them all and still had the problem, although we first noticed it after we installed vBSEO because it did add a small performance hit, which is fair and expected>

More about this query and what we did about it here:

http://www.vbulletin.com/forum/showthread.php?p=1043892
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature! Juan Muriente vBSEO Announcements 74 05-20-2006 10:29 PM
VBSEO crashing new server MentaL Troubleshooting 20 12-11-2005 07:55 PM


All times are GMT -4. The time now is 12:06 PM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.