Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2006, 11:06 PM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default +1 Million posts forum = SLOOOWW

How do you guys do it?

How do you run vB with millions of posts while keeping it FAST?

It all runs on 1 server right now, and I was forced to turn off search ... because with search on, it's not even funny how slow it gets.

I just updated to latest 3.5.4, and without search it is even slower than before (i used to have 2.2.5 until this week).

What do you recommend I do?

The load is on MYSQL - on the forums database.

Thanks in advance for ideas, input, etc.

I am willing to setup a 2nd server if it is not a nightmare to setup 2 machines to run 1 forum "together"
Reply With Quote
  #2  
Old 05-13-2006, 11:49 PM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

switch your search system to use the mysql fulltext search engine under vbulletin options.. that should make a difference, also try out the vb datastore cache option, makes a huge performance improvement (you change that in config.php)
Reply With Quote
  #3  
Old 05-14-2006, 12:05 AM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ahh interesting... I will try these things.

first since it is slow even without search on (!), I will try the datastore cache option and see what happens

I just saw that thjey have an optimization form to fill out (questions) and post on the official vB Server forum... I will probably try to go through that too..

Thanks. I'll post here with news, wish me luck

how do you enable the datastore option?

I see this:

//$config['Datastore']['class'] = 'vB_Datastore_Filecache';

if I remove the comment, my forum outputs hundreds of lines of errors (stream failed...)
Reply With Quote
  #4  
Old 05-14-2006, 02:52 AM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make sure you chmod 777 includes/functions_datastore.php

should get rid of the errors. after doing this my server load dropped by half

also depending on how many users you have it may just be more load than 1 computer can handle. The vB optimization form should help you figure that out. usually people will start with 1 server, then move to 1 DB server, 1 web server.. then 1db, 2web.. etc
Reply With Quote
  #5  
Old 05-14-2006, 03:10 AM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see a functions_databuild.php and a class_datastore.php and a datastore_cache.php file

I chmod 777 class_datastore.php and tried again.
It outputs errors

then I chmod 777 datastore_Cache.php and...

No more errors! I will see if it helps with the speed... At the moment it is still slooooow...

Thanks again for helping me! I posted an "official" optimization request in the vB forum too. While answering the questions they were asking over there, I got to realize that I probably have things wrongly configured (from a performance standpoint).
Reply With Quote
  #6  
Old 05-14-2006, 03:21 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many users online? I run quiet a few sites, most of the bigger ones run on dual server setups.
Reply With Quote
  #7  
Old 05-14-2006, 03:24 AM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah the file is datastore_cache.php, sorry.. I haven't changed that setting since january
Reply With Quote
  #8  
Old 05-14-2006, 03:26 AM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

usually from 200 to 400

but the thing is... I just rebooted the box and even with just 40 people on there (testing right after it booted), it still feels slow.

I remember the board being click BOOM page is loaded... we had lots of users back then too. I dont know what happened.

Zachery: how do you set vB (and the rest of the site, PHP apps and the like) to work with 2 servers?
Reply With Quote
  #9  
Old 05-14-2006, 04:47 AM
Xorlev Xorlev is offline
 
Join Date: May 2006
Location: Colorado
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To use two, you'd probably use one as the database server and one as the webserver. Also see this post in the Big Boards forum:

https://vborg.vbsupport.ru/showthread.php?t=115130
Reply With Quote
  #10  
Old 05-14-2006, 04:53 AM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see thanks - yes I read this thread earlier its interesting... isn't it possible to run the same vforum db on multiple servers? I know people who deploy web apps to run on many-many servers...

i feel that "Search" alone could be on its own server IMHO.. thats what was bringing speed down before
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04268 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
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)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_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