![]() |
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 |
You should post over at vbulletin.com. They have a forum just for advice on Server Optimization.
|
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. |
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 |
Quote:
|
I used httperf.
I will post a thread on vbulletin.com |
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. |
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|