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 11-13-2008, 07:43 PM
badboyz badboyz is offline
 
Join Date: May 2006
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default help database making over load

ok my site is down and i get a message this site has used max cpu usage.. i called my host and ask them whats wrong they saying ur database is overloading the server meaning its searching too much if it don't found some thing it keeps looking n looking for it.. he said optimize the tables n queries

any one know how to do this ?

thanks in advance... i have 3.7.3 atm installed and my db is arounfd159 mb and has around 30 mods installed in it.
Reply With Quote
  #2  
Old 11-13-2008, 08:05 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a repair/optimize option in your admin cp > maintenance > repair/optimize tables You won't have access to that right now if your site is down. Do you have phpMyAdmin? You may select the tables and do an optimize at the bottom of the list of tables.
Reply With Quote
  #3  
Old 11-13-2008, 08:31 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are tons of settings and configuration options you can use to optimize vBulletin with before you hit your server load.

If you are on shared hosting, what kind of traffic are you getting? Most shared companies will shut a vBulletin forum down after about 15-25 concurrent connections are being hit often, and its usually about the time when CPU usage is to high as well.

And what modifications do you have installed?
Reply With Quote
  #4  
Old 11-14-2008, 12:41 AM
badboyz badboyz is offline
 
Join Date: May 2006
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ty guys for your prompt reply

ok i did the repair and optimizing the tables

and these are the mods i am using

Quote:
title
Edit Delete DMeNTED's RBL Checker
Edit Delete Cyb - Advanced Forum Statistics
Edit Delete Limited Guest Viewing
Edit Delete Who Has Read a Thread.
Edit Delete IpInfo
Edit Delete Global Announcement
Edit Delete AdminCP Top 10 Statistic
Edit Delete Top Statistics
Edit Delete ibProArcade for vBulletin
Edit Delete Forum Splash Warning Page
Edit Delete vbBux / vbPlaza
Edit Delete vbBux / vbPlaza - ibProArcade Addon
Edit Delete Cyb - Attention Zero-Posters
Edit Delete Cyb - Sub-Forum Manager
Edit Delete Hide Links From Guests
Edit Delete Yet Another Mass Private Message System
Edit Delete vBSEO
Edit Delete Color Groups Home Page
Edit Delete Welcome Panel Template Rewrite
Edit Delete Activity Modification
Edit Delete Guest Tracking
Edit Delete Cyb - PayPal Donate
Edit Delete Cyb - Advanced Forum Rules
Edit Delete Inferno vBShout Lite
Edit Delete Login Popup
Edit Delete DownloadsII
Edit Delete passiveVid
Edit Delete Members who have Visited
Edit Delete Image Resizer
Edit Delete Ban Thread User
Edit Delete WebProxyRedirect
Edit Delete VB image hosting
Edit Delete Multiple Login Detector
Edit Delete Admin Log In As User
Edit Delete Yet Another Award System 4.0
Edit Delete Post Thank You Hack
Edit Delete sids hide hack
Edit Delete One-touch Ban & Spam Cleanup
Edit Delete EWT - eXtend Show Spider
Edit Delete vBExperience
Edit Delete vBExperience Level
Edit Delete Force Users to Read a Thread
Edit Delete Advanced Horoscopes Hack
Edit Delete Hide BB Codes
Edit Delete Most Active User Last X
Edit Delete Split Useronline
Edit Delete Thread Title Coloring
Edit Delete Time/Days spent on board
Edit Delete vBTube
Edit Delete Block Google's CHROME-Browser
Edit Delete DNSBL/Open Proxy Monitoring
Edit Delete Casino
Edit Delete Countdown BB code
Reply With Quote
  #5  
Old 11-14-2008, 02:39 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um... wow! That's a lot of mods! I'd try disabling the server intensive ones and see if that helps (I only have one or two of those, so I'm not positive if I've listed the correct ones) - any stats mod like Advanced Stats, who read a thread, arcade and casino, vbplaza, activity mod, vbshout, image resizer..... you know, you've just got a *ton* of mods that look server intensive. I can totally understand your host saying you are maxing out the cpu. Try just disabling all your mods and see how the site runs for a few days:
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #6  
Old 11-14-2008, 03:06 AM
badboyz badboyz is offline
 
Join Date: May 2006
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have disabled the mods now lets see if it made a difference but it never happen b4 i have these mods for around 4 months now lol


and ty so much for helping out
Reply With Quote
  #7  
Old 11-14-2008, 06:50 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Image Resizer

https://vborg.vbsupport.ru/showthread.php?t=196124
Reply With Quote
  #8  
Old 11-14-2008, 10:46 AM
badboyz badboyz is offline
 
Join Date: May 2006
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post


wow thanks bro i will uninstall that mod

lets see whats effect that has on site.

but is there any other mod to re size the images ? that wont effect the server

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

nop still over laoding server

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

ok this is what they said

Code:
top - 14:13:47 up 12:04, 4 users, load average: 59.62, 43.81, 35.38 Tasks: 406 total, 54 running, 345 sleeping, 1 stopped, 6 zombie Cpu(s): 85.4% us, 12.8% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 1.8% si Mem: 8199836k total, 4310624k used, 3889212k free, 107184k buffers Swap: 4192924k total, 0k used, 4192924k free, 1507248k cached
Thank you,
Reply With Quote
  #9  
Old 11-16-2008, 12:41 AM
badboyz badboyz is offline
 
Join Date: May 2006
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

even disabling 12 mods site facing lag

any one can help?
Reply With Quote
  #10  
Old 11-16-2008, 01:27 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you on dedicated or shared?

Are your vBulletin settings optimized along with your php, mySQL and apache configs?
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 05:31 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.05138 seconds
  • Memory Usage 2,259KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete