Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Tuning Server Details »»
Tuning Server
Version: , by stoppy stoppy is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-27-2007 Last Update: Never Installs: 0
 
No support by the author.

Hi,
I run Vb 3.6.8, I tryed using a traffic generator to test performace.

Right now, I've not problema but, usig traffic generator I had these results

I simulated about 25 request/second requesting home page, a forum (more than 5000 threads inside) and a thread containing about 600 posts.

Result:

- Server load arrived up to 100
- Received error of too many connections

Mysql is configured for 100 connections, apache for 250 with a timeout of 5 seconds on keepalive connections.

I tested this during the night while no one was browsing my site.

I am on a dedicated server: 2 XEON 2.8, 2 GB RAM, 2 HD SCSI.

Can you advice me some tips to improve my vbulletin performance?

If you need informations about the system and configurations.. ask me.

Thanks
Giuseppe

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-27-2007, 10:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should post over at vbulletin.com. They have a forum just for advice on Server Optimization.
Reply With Quote
  #3  
Old 11-28-2007, 01:51 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may want to turn persistent connections on, so it doesn't have to reconnect to the database every time (pconnect).

You may also want to consider some opcode caching like APC.
Reply With Quote
  #4  
Old 12-04-2007, 02:56 AM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

25 is pretty high, beleive it or not.

my server running 3 vB forums, and about 20 wp blogs

does about 6-7 requests per second average.

one forum has 900,000 posts and 35,000 members, by the way
Reply With Quote
  #5  
Old 12-04-2007, 08:23 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stoppy View Post
Hi,
I run Vb 3.6.8, I tryed using a traffic generator to test performace.
what is traffic generator?
Reply With Quote
  #6  
Old 12-04-2007, 09:56 PM
stoppy stoppy is offline
 
Join Date: May 2006
Location: ROME/IT
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used httperf.

I will post a thread on vbulletin.com
Reply With Quote
  #7  
Old 12-05-2007, 03:10 PM
fatal1980 fatal1980 is offline
 
Join Date: Jul 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will want to turn persistent connections off, its really only good for small boards. You will also want to run "mysqlreport" which will give you details on what is going on with your MySQL server. It will show you details like amount of table and query cache available and used.

You should also really consider using lighttpd with php running through fastcgi. We have a site up that gets 300 requests a second and up to 3000 users online running on a Core2Duo, 4G mem, and sata drives. And it hardly ever has issues, and the load only peaks at 25 when its absolutely busy.

Setup memcache for the vb datastore and xcache for the php opcode caching. Both of these will help a ton with caching regular requests out of the box with no configuration.

Next would be caching content like images, javascript and css. This will drop the amount of connections and load by 15%. A 1 hour cache on images is good. Just remember that your users won't see any changes to images, javascript or css for an hour unless they clear their cache.
Reply With Quote
  #8  
Old 12-12-2007, 11:16 AM
TheRed's Avatar
TheRed TheRed is offline
 
Join Date: Oct 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check at my post

Hope that helps.
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 07:32 PM.


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.05044 seconds
  • Memory Usage 2,265KB
  • Queries Executed 21 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete