Please some optimization advice

10 posts / 0 new
Last post
#1 Mon, 04/18/2011 - 16:30
unsalkorkmaz

Please some optimization advice

Hi, I am planning to run a wordpress multisite on this server: http://www.server4you.com/root-server/server-details.php?products=5 Xeon X3440, 32 GB DDR3 ECC ram, SATA II, 5,400 rpm, 8 MB hard-discs.

There will be mainly 1 wordpress site with lots of domain alias on it. Think its a centos 5.6 setup + virtualmin on it. What type of server optimizations can you suggest for this server? ( I have server but website not ready, just trying to setup server properly first)

Thanks a lot for help

Mon, 04/18/2011 - 18:49
Locutus

32 GB of RAM?? Holy hell, how many blogs are you planning to run on that thing? I'm quite sure your network bandwidth will run out before memory does there. :)

Tue, 04/19/2011 - 00:39
ronald
ronald's picture

I dont think there is much to optimise here. For 1 blog it is a bit overkill though.

Tue, 04/19/2011 - 04:37
Locutus

I quite agree. With a machine like this, you just slap Virtualmin on, install Wordpress, and be done. :) Any "optimizations" you could make you wouldn't notice with such a CPU and RAM monster.

Tue, 04/19/2011 - 05:03
unsalkorkmaz

first of all, i agree on "1 site for 32gb ram?" well but.. its 1 php setup which 30.000+ website will use it. probably 1000+ domain alias on it. Hard-disc is SATA II, 5,400 rpm so its not 7200 or 15.000. I want to benefit from ram as much as i can, so probably my bottleneck will be disc I/O.. can you help me how can i benefit from ram as much as i can while trying to not use disc so much?

Tue, 04/19/2011 - 06:10
Locutus

How many of those 30.000 sites will get requests simultaneously? Aside from disk IO, remember your server can only transmit about 10 MB/s data. That's 0.3 kB/s if all sites get requests. And if you use that fully, your hoster will not be too happy about the 25 TB per month.

That aside, to make good use of memory, you should definitely install a PHP instruction cache package like eAccelerator or XCache (I'm using the latter under Ubuntu, works very nicely). Though with those, you'll probably have to operate PHP in Apache module mode. FCGId is very tricky with PHP cachers.

Then you can check the Apache documentation for global options that influence memory usage. Same goes for MySQL which has several memory caching options.

And, of course, you have to install a 64-bit Linux, otherwise you can only use 4 GB memory.

Tue, 04/19/2011 - 06:50
unsalkorkmaz

installed 64bit version of centos 5.6 using APC as opcode cache Mainly 5-6 site will get %90 traffic

esspecially asking about those settings:

MaxKeepAliveRequests 100

StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000

StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0

Tue, 04/19/2011 - 06:52
unsalkorkmaz

btw.. have some articles like http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better...

but wanted an option from virtualmin admins

Tue, 04/19/2011 - 10:22
Locutus

Can't say much from personal experience. Never operated a server with 32 GB RAM. ;)

Tue, 04/19/2011 - 13:37
ronald
ronald's picture

the sata drives are slower than wanted for a server, however you have the vortex 2 with 60GB. The vortex 2 drives are momentarily the fastest in the industry and you should try to get the sites (or at least the important ones) on that drive.

Now 32GB RAM for 30k+ sites doesn't sound so much anymore ... I wonder even if it would be enough.

Topic locked