I just purchased a dell poweredge in order to move my website to its own dedicated server. I have a few questions on the best linux partition setup for a webserver. The system has 8 gigs of ram, raid 10 setup with four 15k rpm drives and two quadcore cpu's.
The os is CentOS 5.1
The server can have up to 30,000 uniques in a single day and can be somewhat database intensive.
Does anyone have a recommend partition setup, besides the default?
With 8 gigs of ram, what is the recommend swap? I've seen rules that say anything over 2 gigs of ram, the rule is S = M+2. So that would put me at 10 gigs swap. Is that overkill?
Should i make a seperate partition for log files? Any advice would be appreciated...
I doubt you need 10GB of swap, swap should only be used as a backup when your system runs out of RAM. We usually partition about 4GB for swap per 8GB RAM, however we rarely use over a few mb. If you use too much swap, it will end up slowing your site down greatly as hard drive space is ~100X slower than RAM.