vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   help database making over load (https://vborg.vbsupport.ru/showthread.php?t=196205)

badboyz 11-13-2008 07:43 PM

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.

Lynne 11-13-2008 08:05 PM

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.

SEOvB 11-13-2008 08:31 PM

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?

badboyz 11-14-2008 12:41 AM

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

Lynne 11-14-2008 02:39 AM

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


badboyz 11-14-2008 03:06 AM

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

DieselMinded 11-14-2008 06:50 AM

Image Resizer

https://vborg.vbsupport.ru/showthread.php?t=196124

badboyz 11-14-2008 10:46 AM

Quote:

Originally Posted by DiesellMinded (Post 1665400)



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,


badboyz 11-16-2008 12:41 AM

even disabling 12 mods site facing lag

any one can help?

SEOvB 11-16-2008 01:27 AM

Are you on dedicated or shared?

Are your vBulletin settings optimized along with your php, mySQL and apache configs?


All times are GMT. The time now is 10:40 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.02503 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete