LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Help tuning fileserver

Reply
 
Thread Tools Display Modes
  #1  
Old 10-06-2009, 06:32 AM
chrda chrda is offline
New Member
 
Join Date: Oct 2009
Posts: 4
Default Help tuning fileserver

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
Reply With Quote
  #2  
Old 10-06-2009, 02:57 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 729
You can try 4.1RC1 and enable AIO to reduce iowait.
Reply With Quote
  #3  
Old 10-06-2009, 09:23 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
If you stream the file content through a perl script, you should consider using "internal redirect" feature, it will be 100X better.

http://www.litespeedtech.com/support...ernal_redirect
Reply With Quote
  #4  
Old 10-12-2009, 02:02 PM
chrda chrda is offline
New Member
 
Join Date: Oct 2009
Posts: 4
Lovely ill look into it.

Anyone got any good tuning for centos?
Reply With Quote
  #5  
Old 11-02-2009, 11:27 AM
chrda chrda is offline
New Member
 
Join Date: Oct 2009
Posts: 4
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.
Reply With Quote
  #6  
Old 11-02-2009, 01:18 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Are you using the enterprise edition?
For perl you need to check the CGI related limits, memory/process limit etc. Under server security tab.
Reply With Quote
  #7  
Old 11-02-2009, 01:34 PM
chrda chrda is offline
New Member
 
Join Date: Oct 2009
Posts: 4
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 by chrda; 11-02-2009 at 02:24 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:52 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.