Configuration for apache server on a VPS for serving 100% static files?

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Jerpy
A regular
A regular
Posts: 37
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jan 30, 2015 10:08 am

Configuration for apache server on a VPS for serving 100% static files?

Post by Jerpy »

I was wondering if anyone else has any input on this, if they do the same thing.

What is the best way to serve just static files, to downloaders? The static files are all 100% .bz2's compressed to the --best. I am using this VPS as a "FastDL" server and I was wondering if there is more to configuring apache than what I already know. Just changing a couple things already improved it, but now I'm curious as to what really is the best configuration.
As a sidenote, I tried other web software's such as nginx but it had about the same exact performance, download-wise.

Two things I added to apache2.conf that actually made a difference were:
EnableSendfile off
SendBufferSize 0
Other than these 2, I have no other ideas. I've searched the web quite deeply and seen various answers on websites such as stackoverflow, but none really answer my direct question since their version of "static files" are a bit different, because I'm not using this for the web. I'm using it strictly as a download server.

Does anyone here have any ideas? Thanks in advance.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Configuration for apache server on a VPS for serving 100% static files?

Post by soja »

There is really no special configuration that will help you. My stock apache install peaks at 950+Mb/s every day delivering fastdl content(20TB monthly).
Not a NFO employee
Jerpy
A regular
A regular
Posts: 37
Joined: Fri Jan 30, 2015 10:08 am

Re: Configuration for apache server on a VPS for serving 100% static files?

Post by Jerpy »

soja wrote:There is really no special configuration that will help you. My stock apache install peaks at 950+Mb/s every day delivering fastdl content(20TB monthly).
Alright, I'll keep this in mind.

Not that it will really change what I'm doing right now since I'm fine with the speed, may I ask if you're running your FastDL server on a machine or VPS, and what configuration of machine/VPS is it?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Configuration for apache server on a VPS for serving 100% static files?

Post by soja »

Jerpy wrote:
soja wrote:There is really no special configuration that will help you. My stock apache install peaks at 950+Mb/s every day delivering fastdl content(20TB monthly).
Alright, I'll keep this in mind.

Not that it will really change what I'm doing right now since I'm fine with the speed, may I ask if you're running your FastDL server on a machine or VPS, and what configuration of machine/VPS is it?
It is currently on a non-NFO machine, with these specs:
Intel Xeon E5-1650v2
128GB DDR3 ECC
3x300GB SSD
500Mb/s guaranteed bandwidth, with 1Gbps burst.
Centos 6.3
Not a NFO employee
Post Reply