Notices
Announcements Announcements from site Administrators and Moderators.

Server too busy messages! Just temporary

Thread Tools
 
Search this Thread
 
Old Jun 15, 2006 | 07:34 AM
  #1  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Exclamation Server too busy messages! Just temporary

Hey Gang,

Well unfortunately we are having some performance issues of late, it's related to one SQL query that locks the thread/post table for up to 60 seconds, since a lot of the SQL is created on the fly depending on the page it's very hard to find where the query is being executed from for me to dig through the code.

I have temporarily put a server load limit in at 8, which is pretty high. When the db locks the table the more and more users that try to browse the worse and worse it gets. Until I can find and fix the query hopefully the next few days I'm leaving this in to help try to keep the problem under control.

I know it's a pain but please work with me here, if you have any problems/suggestions/complains please feel free to PM me.

- John
Reply
Old Jun 16, 2006 | 01:29 PM
  #2  
C4talyst's Avatar
C4talyst
Registered User
 
Joined: May 2006
Posts: 1,211
Likes: 0
From: Virginia, USA
Default

If you guys have a dedicated server, do you run the db from a secondary hard disk? I always found that helped some with sql load issues and disk i/o, even if it's not related to this exact issue.
Reply
Old Jun 21, 2006 | 03:46 PM
  #3  
Mike Wazowski's Avatar
Mike Wazowski
350Z-holic
Premier Member
iTrader: (113)
 
Joined: Nov 2004
Posts: 22,096
Likes: 1
From: San Diego 92111
Default

now it seems like the site is falling apart. The link at the top is cutting in and out
Reply
Old Jun 21, 2006 | 04:31 PM
  #4  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

it's people doing a very common search that hits a lot of threads, that's what it is.

The DB is on a 3 disk raid5 array with a 256M caching controller. wait IO is not the problem, the search on the thread table that locks it is.
Reply
Old Jun 21, 2006 | 04:37 PM
  #5  
Mike Wazowski's Avatar
Mike Wazowski
350Z-holic
Premier Member
iTrader: (113)
 
Joined: Nov 2004
Posts: 22,096
Likes: 1
From: San Diego 92111
Default

delete or merge the threads LOL


does it have to do with PopChargers? hahahahaha
Reply
Old Jun 21, 2006 | 07:38 PM
  #6  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

How much HP will the PoPcharge get me?
What popcharger flows the best.
What stickers should I put on the server with my pop charger?

Originally Posted by USN HM 350Z
delete or merge the threads LOL
does it have to do with PopChargers? hahahahaha
Reply
Old Jun 21, 2006 | 07:43 PM
  #7  
Ichigo's Avatar
Ichigo
Registered User
iTrader: (6)
 
Joined: Aug 2005
Posts: 1,622
Likes: 0
From: PA
Default

Thats funny that a search probably queries the db more than someone responding to a question. Not to mention ten unecessary flame posts telling the poster to search more.
Reply
Old Jun 21, 2006 | 07:46 PM
  #8  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

This is a problem for all vbulletin sites after a while, most disable searches, while some setup multiple slaves servers to handle the queries while the normal insert/select's happen on the master server.

Originally Posted by scuba_steve
Thats funny that a search probably queries the db more than someone responding to a question. Not to mention ten unecessary flame posts telling the poster to search more.
Reply
Old Jun 21, 2006 | 09:16 PM
  #9  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

Can I get some people to test searches, fulltext searches are now on, I had to index the post/thread table it took a while though..
Reply
Old Jun 22, 2006 | 09:03 AM
  #10  
DeeZ's Avatar
DeeZ
Registered User
 
Joined: Nov 2005
Posts: 343
Likes: 0
From: u.s.a
Default

im getting so many of the "server too busy" thing


please fix it soon, im going crazy over here!....lol
Reply
Old Jun 22, 2006 | 09:13 AM
  #11  
cessna's Avatar
cessna
Registered User
 
Joined: Sep 2005
Posts: 8,194
Likes: 0
From: where the polar bears roam
Default

Originally Posted by silvrhand
Can I get some people to test searches, fulltext searches are now on, I had to index the post/thread table it took a while though..
Seems A OK to me
Reply
Old Jun 22, 2006 | 09:20 AM
  #12  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

Today?

Originally Posted by DeeZ
im getting so many of the "server too busy" thing


please fix it soon, im going crazy over here!....lol
Reply
Old Jun 22, 2006 | 09:35 AM
  #13  
buzzardmountain's Avatar
buzzardmountain
New Member
iTrader: (17)
 
Joined: Feb 2003
Posts: 9,898
Likes: 7
From: Flying Low....
Default

Originally Posted by silvrhand
Today?
I've gotten several today.
Reply
Old Jun 22, 2006 | 09:44 AM
  #14  
DeeZ's Avatar
DeeZ
Registered User
 
Joined: Nov 2005
Posts: 343
Likes: 0
From: u.s.a
Default

yeah i got some today
Reply
Old Jun 22, 2006 | 09:45 AM
  #15  
disturbed2483's Avatar
disturbed2483
New Member
iTrader: (9)
 
Joined: Aug 2004
Posts: 893
Likes: 0
From: Palmdale, Ca
Default

me three
Reply
Old Jun 22, 2006 | 09:59 AM
  #16  
sq40's Avatar
sq40
Registered User
iTrader: (4)
 
Joined: Apr 2004
Posts: 5,587
Likes: 4
From: Charlotte, NC
Default

LOTS of Server Busy messages for me today too.
Reply
Old Jun 22, 2006 | 11:59 AM
  #17  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

sigh never ending job of late, well I turned back on the mysql slow log, not getting the search slowness now at least.
Reply
Old Jun 22, 2006 | 01:04 PM
  #18  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

Ouch..

# Query_time: 35 Lock_time: 29 Rows_sent: 1 Rows_examined: 0
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate
) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS display
groupid,
language.phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
language.phrasegroup_inlinemod AS phrasegroup_inlinemod,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.
userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0,
1, user.languageid))

WHERE user.userid = 58872;
Reply
Old Jun 22, 2006 | 01:31 PM
  #19  
yobri's Avatar
yobri
350Z-holic
Premier Member
iTrader: (2)
 
Joined: Jun 2001
Posts: 17,685
Likes: 0
From: teh interwebnets
Default

Back up...
Reply
Old Jun 22, 2006 | 01:59 PM
  #20  
silvrhand's Avatar
silvrhand
Thread Starter
Lost in Transit
Premier Member
 
Joined: Oct 2004
Posts: 10,003,830
Likes: 0
From: Houston, TX
Default

yah sorry was working with vbulletin support to check some stuff and I forgot I had shutoff the httpd server for a minute.. doh /fired!
Reply



All times are GMT -8. The time now is 06:55 PM.