vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   cpu throttling log (https://vborg.vbsupport.ru/showthread.php?t=223031)

farsgsm 09-12-2009 12:00 PM

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

James Birkett 09-12-2009 12:09 PM

Looks like some sort of thanks mod..
Code:

WHERE post.userid = 4163
AND post.post_thanks_amount != 0


farsgsm 09-12-2009 12:16 PM

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

James Birkett 09-12-2009 12:31 PM

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.

farsgsm 09-12-2009 06:04 PM

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

:)

James Birkett 09-12-2009 06:57 PM

You're welcome :)

farsgsm 09-14-2009 04:22 PM

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 :(

James Birkett 09-14-2009 06:21 PM

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?)


All times are GMT. The time now is 06:30 PM.

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.02153 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete