HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   slow download through webserver problem (http://www.howtoforge.com/forums/showthread.php?t=22622)

snewp 22nd April 2008 15:56

slow download through webserver problem
 
i have a webserver installed. when i try to download a file from the server it will just give me 2kbps download rate which is way below my normal download rate. tried to download on my test box (same location with the webserver) it gives me my normal download rate. and let my friend try, still same download rate at 2kbps. i did try to change the network cable, no go. i did try to switch to other router port, still no go. btw, even in sftp it still gives me 2kbps. after a while of waiting it says it's completed but when i try to unzip the file it says corrupted and file size is 0. did try ping and it's good, no loses. are there any other ways of troubleshooting this problem?

falko 23rd April 2008 13:47

Are there any errors in your log files?

snewp 24th April 2008 04:52

hi,

i can't see any errors in the log files. it's really unusual coz my test and webserver box have the same configuration. i even reinstalled my webserver box but still got the same issue.

falko 25th April 2008 16:09

Do you have mod_throttle or mod_cband installed?

snewp 27th April 2008 15:58

nope. i didn't install either of the two.

falko 28th April 2008 21:48

Which distribution are you using?

snewp 30th April 2008 20:38

i'm currently using debian etch.

falko 1st May 2008 20:50

What's the output of
Code:

ls -la /etc/apache2/mods-enabled
? What's in /etc/apache2/httpd.conf?

snewp 2nd May 2008 07:04

Quote:

Originally Posted by falko
What's the output of
Code:

ls -la /etc/apache2/mods-enabled
? What's in /etc/apache2/httpd.conf?

mods-enabled:
drwxr-xr-x 2 root root 4096 2008-04-21 18:54 .
drwxr-xr-x 7 root root 4096 2008-04-20 19:15 ..
lrwxrwxrwx 1 root root 40 2008-04-21 18:54 actions.load -> /etc/apache2/mods-available/actions.load
lrwxrwxrwx 1 root root 28 2008-04-20 19:15 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 2008-04-20 19:15 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 2008-04-20 19:15 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 2008-04-20 19:15 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 2008-04-20 19:15 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 2008-04-20 19:15 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 2008-04-20 19:15 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2008-04-20 19:15 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 2008-04-20 19:15 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 26 2008-04-20 19:15 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 2008-04-20 19:15 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 2008-04-20 19:15 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 30 2008-04-20 19:19 include.load -> ../mods-available/include.load
lrwxrwxrwx 1 root root 27 2008-04-20 19:15 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 36 2008-04-21 05:54 mod-security2.load -> ../mods-available/mod-security2.load
lrwxrwxrwx 1 root root 34 2008-04-20 19:15 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 2008-04-20 19:18 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 2008-04-20 19:18 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 30 2008-04-20 19:19 rewrite.load -> ../mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 2008-04-20 19:15 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 26 2008-04-20 19:19 ssl.conf -> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 2008-04-20 19:19 ssl.load -> ../mods-available/ssl.load
lrwxrwxrwx 1 root root 29 2008-04-20 19:15 status.load -> ../mods-available/status.load
lrwxrwxrwx 1 root root 29 2008-04-20 19:19 suexec.load -> ../mods-available/suexec.load
lrwxrwxrwx 1 root root 32 2008-04-21 05:54 unique_id.load -> ../mods-available/unique_id.load

there nothing on httpd.conf

falko 3rd May 2008 20:27

I see you're using mod_security. Can you disable mod_security and try a downoad? If it's faster then we know it has to do with mod_security.


All times are GMT +2. The time now is 04:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.