Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2009, 01:00 PM
farsgsm farsgsm is offline
 
Join Date: Jun 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default cpu throttling log

Dear friends,

my host fell in cpu throttling many times daily...
i cheked mysqlslow queris log and i see this info

# Sat Sep 12 05:33:52 2009
# Query_time: 10 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
use ****mc_vb2;
SELECT postid, wordid,
CASE intitle
WHEN 0 THEN score
WHEN 1 THEN score + 5
WHEN 2 THEN score + 5 + 5
ELSE score
END AS score
FROM postindex
WHERE wordid IN (0,546,1842,7101,168,207,26040,535,209,580)

# Sat Sep 12 05:51:39 2009
# Query_time: 2 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
use ****mc_vb2;
SELECT postid
FROM post AS post
INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
WHERE post.userid = 4163
AND post.post_thanks_amount != 0
AND thread.forumid IN(1,45,123,47,46,2,3,5,8,14,6,11,4,13,9,10,12,7,1 5,16,94,87,90,132,18,149,22,17 ,19,110,126,20,111,127,21,112,128,75,113,129,108,1 14,130,23,30,95,190,26,164,78, 125,88,80,97,28,29,27,82,124,109,76,25,92,79,83,10 7,91,89,99,24,85,74,81,96,157, 158,166,167,168,181,182,183,184,159,60,63,64,176,1 77,160,172,173,174,175,178,179 ,69,70,72,180,185,186,187,188,115,131,116,101,100, 102,150,151,156,103,152,155,10 6,105,153,154,104,35,77,191,36,37,38,39,40,41,86,4 2,133,52,84,134,135,141,136,13 9,140,143,142,138,144,137,145,148,165,48,44,49,73, 147,146,50,51)
ORDER BY post.dateline DESC
LIMIT 1000

what does it mean
what plugins or something esle i have to disable to make cpu ok
Reply With Quote
  #2  
Old 09-12-2009, 01:09 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like some sort of thanks mod..
Code:
WHERE post.userid = 4163
AND post.post_thanks_amount != 0
Reply With Quote
  #3  
Old 09-12-2009, 01:16 PM
farsgsm farsgsm is offline
 
Join Date: Jun 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for your reply.
but u mean a thanks plugin can use cpu this much to make my cpu throtle?

--------------- Added [DATE]1252765590[/DATE] at [TIME]1252765590[/TIME] ---------------

here is the latest log
and i have to tell than i'm using 2-3 sql database on my host


Code:
# Sat Sep 12 07:41:22 2009
# Query_time: 2  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
use f****_shop;
SELECT image_path, image_type, alt, image_x, image_y FROM c****_product_images 
WHERE image_id='1585'


i don't know what exactly cause my cpu throttle
Reply With Quote
  #4  
Old 09-12-2009, 01:31 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have any image modifications installed?
Code:
SELECT image_path, image_type, alt, image_x, image_y FROM c****_product_images 
WHERE image_id='1585'
Looks like some form of image modification/retrieval.
Reply With Quote
  #5  
Old 09-12-2009, 07:04 PM
farsgsm farsgsm is offline
 
Join Date: Jun 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks friend,
i disabled some of my unused plugins and now cpu feel better

Reply With Quote
  #6  
Old 09-12-2009, 07:57 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome
Reply With Quote
  #7  
Old 09-14-2009, 05:22 PM
farsgsm farsgsm is offline
 
Join Date: Jun 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i disabled many of my installed plugins and problem almost solved on yesterday,
but today i again face problem, cpu throttling at much high value
i talked to host supporter and he told me to disable PHP5 (FastCGI)
and use PHP5 (Single php.ini) instead.

what's your opinion?
do vbulleting not works well on PHP5 (FastCGI)?

and one of my latest mysqlslow queris log is below:

Code:
# Mon Sep 14 09:44:26 2009
# Query_time: 9  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
use ******c_vb2;
SELECT postid, wordid,
  CASE intitle
  WHEN 0 THEN score
  WHEN 1 THEN score + 5
  WHEN 2 THEN score + 5 + 5
  ELSE score
  END AS score
		FROM postindex
		WHERE wordid IN (0,42,20663,2457)

maybe i'm under attack
Reply With Quote
  #8  
Old 09-14-2009, 07:21 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to decipher that latest log. I can't think of anything it will reference to.
Hopefully a more expert in vBulletin can help you out there (or post over at vBulletin.com).
Do you know which file is causing this? (showthread? forumdisplay?)
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08652 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete