joined:June 27, 2004
I first started this thread on Apache forum, but thinking my problem exists not only on Apache but also on FTP downloads, I thought this may be an operating system/configuration issue. Any help will be appreciated. Here is the problem:
I noticed that the bigger a file, the slower Apache serves it on my CentOS machine. This is the same on FTP downloads.
200 MB file: speed 30KB/s
100 MB file: speed 50KB/s
30 MB file: speed 150KB/s
1 MB file: speed 450+ KB/s
I am on a dedicated server which belongs to myself, so I can see the server stats, there are no problems on the server end.
- I am on a 100 MBit port, no restrictions, no topping on bandwidth.
- Looging into the server via SSH and then "top" shows a maximum of 0.05 load. No load on server.
- I even tried an OCZ Solid State Hard Drive. No changes.
- I have an 8Mbit internet connection at home. When I FTP and try to download the same video, the speed is the same around 50KB/s and never go up.
- If I download using 8-10 threads (my FTP software has a multi-thread downloading feature, which can download up to 20 files at the same time), then my download capacity is maxed, like 700-800KB/s or similar.
I have CentOS 5.x on the server. Is the problem caused by Apache, or CentOS? Maybe it is a precaution for restricting a single user not topping up the server's bandwidth. There must be some configuration for this, but where? Any help will be appreciated.