View Single Post
Old 11-06-2010, 06:14 PM   #74
2112 2112 is offline
Reset
 
2112's Avatar
 

Join Date: Aug 2006
Location: Parts Unknown
Casino cash: $8516765
Quote:
Originally Posted by DaFace View Post
Eh, maybe, but I doubt it. The basic underlying condition is that we occasionally have a query that just gets "stuck." Many times, it's a completely innocuous query (like the one that grabs the posts for a thread), so it's not that the specific query is the issue. But when one gets stuck, it locks the POST table, which causes tons of others to back up behind it.

Most of the time, the stuck query eventually finishes up, and the rest then complete. That's what is happening when we have a 15-30 second lag here and there.

Other times, the query just gets stuck for an insane amount of time. They're supposed to time out after a few minutes, but often don't for some reason. When that happens, it can take the place down for a long time until MySQL eventually croaks and resets itself. By that point, the stuck query has driven our server loads through the roof, so it takes even longer for the average load to come back down far enough for vB to let people back in. That's generally the issue we've seen on gamedays.

I THINK it has something to do with our memory allocation (key_buffers and stuff like that), but my tweaks don't seem to make any difference.
You dont restart MYSQL when it lags? it's an automated reset?
Posts: 22,061
2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.2112 is obviously part of the inner Circle.
    Reply With Quote