XFileSharing Pro - apache conf settings

Message
Author
nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

apache conf settings

#1 Postby nik0la » Apr 26, 2010 12:17 am

Hello
Can anyone suggest me httpd config limits on file servers? Currently i have this

Timeout 200
KeepAlive On
maxKeepAliveRequests 150
KeepAliveTimeout 5
MinSpareServers 5
MaxSpareServers 15
StartServers 20
MaxClients 256
MaxRequestsPerChild 1000
HostnameLookups Off


Im using direct links for all users, my file serv configurations are:

Quad Core Xeon X3210*
2.13 GHz
2GB DDR2*

mrperl
Posts: 65
Joined: Mar 06, 2010 11:40 am

Re: apache conf settings

#2 Postby mrperl » Apr 29, 2010 11:18 am

Hi nik0la.

- likely Timeout should be longer, like 600 or longer if you allow large
uploads. Collect statistics and calculate what it needs to be.
- disable keepalives, they help graphical browsers, not fileservers
- your other apache settings are likely ok.
- look at tuning your OS sysctl settings.

It's important that you monitor the number of apache connections and
memory consumption with munin, cacti, or whatever so you know
your system. Never allow swapping on a server - better to turn away
user connections.

mrperl

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#3 Postby nik0la » May 01, 2010 7:22 am

thanks mrperl

anyway i install nginx on fileservers with pilgrim help :)

FZee
Posts: 116
Joined: Mar 03, 2010 11:26 am

#4 Postby FZee » May 02, 2010 1:46 am

Hi , i wanted to jump on . and ask also the same thing .

My server is
XEON DUAL CORE. 3GHZ
4GB RAM
500GB SATA
And so far i have one single server for my site only .
100MBPS umetered

dl.cgi is not used due to CPU usage.
I use direct links for all users & free users .. with 2hr expire.

So what do do you suggest ?

Thank you