im already test Xfilesharing work perfect on litespeed web server, but is not freecuty wrote:There are benchmarks out there with that module.You dont have to take my word for it.
:Note..the more you increase max connections is the more resources will be be sucked up, so have a beast server.
Using nginx produces a considerable difference in cpu usage,but I still kinda prefer some servers to use apache, because when the cpu load get fairly( i.e 30 points )high using nginx , or there is a DDOS attack at the time causing it, nginx times out or takes up to 3mins to start the download.Where as apache the load has to be about 900 for you to notice.
maybe u can use it
oke try tweak u system kernel
for big size HD add on /etc/rc.local
Code: Select all
echo 1024 > /sys/block/sda/queue/read_ahead_kb
echo 256 > /sys/block/sda/queue/nr_requests
for + 512 RAM add on /etc/sysctl.conf
Code: Select all
vm.swappiness=50
kernel.sem = 250 32000 100 128
kernel.shmall = 2097152
#A single application can allocate up to 2 MB
kernel.shmmax = 2147483648
# minimal allocation unit
kernel.shmmni = 4096
fs.file-max = 256000
vm.vfs_cache_pressure = 50
net.core.rmem_default = 16777216
net.core.rmem_max = 16777216
net.core.wmem_default = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 10240 87380 16777216
net.ipv4.tcp_wmem = 10240 87380 16777216
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.core.netdev_max_backlog = 5000
please post u output
Code: Select all
cat /proc/sys/vm/overcommit_memory
cat /proc/sys/vm/overcommit_ratio