PDA

View Full Version : Tuning Server


stoppy
11-27-2007, 08:57 PM
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
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 (https://vborg.vbsupport.ru/showpost.php?p=1397267&postcount=10)

Hope that helps.