Help tuning fileserver

chrda

New Member
#1
ServerSpec:
Supermicro 826TQ-R800YB
Intel Xeon X3220 2,40 ghz 8MB 1066 mhz S775 Quad
4 gigabyte DDR3-1066
3-ware 9650SE-12ML 256 MB
8 x 1000GB, SATA, 7.2K HW Raid10
100 megabit dedicated unmetered

The only software that is going be runned on this server is Xfilesharing, that is a perl-cgi script. So no php is needed.
I have tried lsws standard and it works fine.

I am probally going to buy a 2core license for this server.

But i need help with recommended tuning for 50-250 Concurrent downloads t 2Mbit/sec each.

The link is 100Mbit but will be upgraded after the traffic rises.

I had problem uploading more that 5 files on standard, getting error that max files was reached, but i cant find this setting in the web-config

What i am afraid of it some of the CGI settings that is standard isnt enough.
Any other smart tricks to get better performance

What filesystem ExT4? XFS?

Heard IO Wait is your enemy.

Any inputs guys? :)

Regards
Chris
 

chrda

New Member
#5
I used the httpd.conf i currently using for my site. Something that works very well.

Then i moved over to LSWS using apache httpd.conf
its works overall, but its thottling the users, its using like 1/5 of the bw is will use with apache2. Upload part doesnt work as it should either.

Script is a Filesharing script using perl.

Its possible to get the script to work with nginx, but i wanted something simple and stable as apache, just hopefullt handling more request, since the link is 250Mbit

Might try something if you guys know anything, i felt like lsws was restricting something.
 

mistwang

LiteSpeed Staff
#6
Are you using the enterprise edition?
For perl you need to check the CGI related limits, memory/process limit etc. Under server security tab.
 

chrda

New Member
#7
If you can give me recommended settings for
MAX 150 current cgi runs

And other recommended settings i go for a new try

Script is only CGI. No php installed on lsws or apache

Server is quad core x3220
4Gb ram

Edit:
I tried again, it seems to throttle each connection, even direct linked downloads.

The downloads are streamed through perl if i am not mistaken, except users that get direct links.

Update2:
[root@fs03 ~]# uptime
23:15:18 up 4 days, 46 min, 2 users, load average: 2.77, 19.07, 24.81
Not good :)

11:18:46 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
11:18:51 PM all 0.83 0.00 3.26 42.42 0.19 0.49 0.00 52.82 4353.35

Update3:
Turned up what i could find. it got a bit better, but still throttling my test download from 4Mb/sec to 40Kb/sec
 
Last edited:
Top