vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   +1 Million posts forum = SLOOOWW (https://vborg.vbsupport.ru/showthread.php?t=115506)

mano1.com 05-13-2006 11:06 PM

+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"

Protoman 05-13-2006 11:49 PM

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)

mano1.com 05-14-2006 12:05 AM

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

Protoman 05-14-2006 02:52 AM

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

mano1.com 05-14-2006 03:10 AM

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

Zachery 05-14-2006 03:21 AM

How many users online? I run quiet a few sites, most of the bigger ones run on dual server setups.

Protoman 05-14-2006 03:24 AM

yeah the file is datastore_cache.php, sorry.. I haven't changed that setting since january

mano1.com 05-14-2006 03:26 AM

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?

Xorlev 05-14-2006 04:47 AM

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

mano1.com 05-14-2006 04:53 AM

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

Xorlev 05-14-2006 05:02 AM

Yes, it's possible. There's a few configurations you could go with. You could have a load balancer in front of two webservers with two copies of MySQL running in a master-master configuration. Or the webserver <-> database server configuration. If you ever went with three you could do the same configuration with the webservers, only a backend database server. I'm not too sure what kind of configuration would work the best with vBulletin however.

mano1.com 05-14-2006 11:53 PM

ah great thanks for the information Xorlev

I can't seem to be able to give you a positive "rep" on this board :)

OK so I am not 100% happy with the speed still, HOWEVER by disabling the "show new rep comments and new posts" plug-in, I just accelerated my forum back to a much more acceptable speed.

:)

Marco van Herwaarden 05-16-2006 09:45 AM

Since your board is already running for some time (asuming this) and you just upgraded, the database might also have become fragmented. You could try to backup the database, restore into a fresh database, and then use this new one. It might make some difference.

mano1.com 05-17-2006 01:32 AM

ah that's interesting, I didn't know about doing this... Thanks for the tip.
We are about to move to the new and fast server, so I will probably do this at the same time.

GrendelKhan{TSU 08-24-2006 02:05 PM

Quote:

Originally Posted by Protoman
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)

is this only useful for big boards? I got a small board... .but I still would like to optimize. even at a small size I have performance issues.


All times are GMT. The time now is 07:15 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.01078 seconds
  • Memory Usage 1,744KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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