Notices
Announcements Announcements from site Administrators and Moderators.

Server too busy messages! Just temporary

Thread Tools
 
Search this Thread
 
Old 06-15-2006, 07:34 AM
  #1  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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
Old 06-16-2006, 01:29 PM
  #2  
C4talyst
Registered User
 
C4talyst's Avatar
 
Join Date: May 2006
Location: Virginia, USA
Posts: 1,211
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 06-21-2006, 03:46 PM
  #3  
Mike Wazowski
350Z-holic
iTrader: (113)
 
Mike Wazowski's Avatar
 
Join Date: Nov 2004
Location: San Diego 92111
Posts: 22,096
Likes: 0
Received 1 Like on 1 Post
Default

now it seems like the site is falling apart. The link at the top is cutting in and out
Old 06-21-2006, 04:31 PM
  #4  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 06-21-2006, 04:37 PM
  #5  
Mike Wazowski
350Z-holic
iTrader: (113)
 
Mike Wazowski's Avatar
 
Join Date: Nov 2004
Location: San Diego 92111
Posts: 22,096
Likes: 0
Received 1 Like on 1 Post
Default

delete or merge the threads LOL


does it have to do with PopChargers? hahahahaha
Old 06-21-2006, 07:38 PM
  #6  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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
Old 06-21-2006, 07:43 PM
  #7  
Ichigo
Registered User
iTrader: (6)
 
Ichigo's Avatar
 
Join Date: Aug 2005
Location: PA
Posts: 1,622
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 06-21-2006, 07:46 PM
  #8  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 06-21-2006, 09:16 PM
  #9  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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..
Old 06-22-2006, 09:03 AM
  #10  
DeeZ
Registered User
 
DeeZ's Avatar
 
Join Date: Nov 2005
Location: u.s.a
Posts: 343
Likes: 0
Received 0 Likes on 0 Posts
Default

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


please fix it soon, im going crazy over here!....lol
Old 06-22-2006, 09:13 AM
  #11  
cessna
Registered User
 
cessna's Avatar
 
Join Date: Sep 2005
Location: where the polar bears roam
Posts: 8,194
Likes: 0
Received 0 Likes on 0 Posts
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
Old 06-22-2006, 09:20 AM
  #12  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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
Old 06-22-2006, 09:35 AM
  #13  
buzzardmountain
New Member
iTrader: (17)
 
buzzardmountain's Avatar
 
Join Date: Feb 2003
Location: Flying Low....
Posts: 9,898
Likes: 0
Received 7 Likes on 4 Posts
Default

Originally Posted by silvrhand
Today?
I've gotten several today.
Old 06-22-2006, 09:44 AM
  #14  
DeeZ
Registered User
 
DeeZ's Avatar
 
Join Date: Nov 2005
Location: u.s.a
Posts: 343
Likes: 0
Received 0 Likes on 0 Posts
Default

yeah i got some today
Old 06-22-2006, 09:45 AM
  #15  
disturbed2483
New Member
iTrader: (9)
 
disturbed2483's Avatar
 
Join Date: Aug 2004
Location: Palmdale, Ca
Posts: 893
Likes: 0
Received 0 Likes on 0 Posts
Default

me three
Old 06-22-2006, 09:59 AM
  #16  
sq40
Registered User
iTrader: (4)
 
sq40's Avatar
 
Join Date: Apr 2004
Location: Charlotte, NC
Posts: 5,587
Likes: 0
Received 4 Likes on 3 Posts
Default

LOTS of Server Busy messages for me today too.
Old 06-22-2006, 11:59 AM
  #17  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
Default

sigh never ending job of late, well I turned back on the mysql slow log, not getting the search slowness now at least.
Old 06-22-2006, 01:04 PM
  #18  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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;
Old 06-22-2006, 01:31 PM
  #19  
yobri
350Z-holic
iTrader: (2)
 
yobri's Avatar
 
Join Date: Jun 2001
Location: teh interwebnets
Posts: 17,685
Likes: 0
Received 0 Likes on 0 Posts
Default

Back up...
Old 06-22-2006, 01:59 PM
  #20  
silvrhand
Lost in Transit
Thread Starter
 
silvrhand's Avatar
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 10,003,830
Likes: 0
Received 0 Likes on 0 Posts
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!


Quick Reply: Server too busy messages! Just temporary



All times are GMT -8. The time now is 05:39 AM.