vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Tuning Server (https://vborg.vbsupport.ru/showthread.php?t=163750)

stoppy 11-27-2007 08:57 PM

Tuning Server
 
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

Lynne 11-27-2007 10:13 PM

You should post over at vbulletin.com. They have a forum just for advice on Server Optimization.

Jafo232 11-28-2007 01:51 AM

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.

briansol 12-04-2007 02:56 AM

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

Zia 12-04-2007 08:23 AM

Quote:

Originally Posted by stoppy (Post 1390611)
Hi,
I run Vb 3.6.8, I tryed using a traffic generator to test performace.

what is traffic generator?

stoppy 12-04-2007 09:56 PM

I used httperf.

I will post a thread on vbulletin.com

fatal1980 12-05-2007 03:10 PM

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.

TheRed 12-12-2007 11:16 AM

Check at my post

Hope that helps.


All times are GMT. The time now is 04:55 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.03042 seconds
  • Memory Usage 1,724KB
  • 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
  • (8)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