LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-17-2009, 10:25 PM   #1
lew
LQ Newbie
 
Registered: Jul 2009
Posts: 18

Rep: Reputation: 0
Slow transfer speeds


I've been experiencing slow transfer speeds on my server for quite some time now and I have no clue what is causing it (or how to further debug the problem). Transfer speeds both download and upload are both very slow at around ~50kb/s.

I've ran some wget tests, and found that transfer speeds to other servers within the datacenter are normal. The slow speeds only occur from transfers going in and out of the DC. I've tried disabling firewalls, tweaking the TCP window sizes and the slow speeds still occur.

So, any thing I can do to help further debug this issue to find out whether it is a network issue, something on my box etc?

Any input greatly appreciated
 
Old 07-18-2009, 03:15 AM   #2
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
may be you reach your limit as a result of traffic grow
 
Old 07-18-2009, 03:24 AM   #3
lew
LQ Newbie
 
Registered: Jul 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Stephan_Craft View Post
may be you reach your limit as a result of traffic grow
Well, I've contacted my DC and according to them there isn't a network problem on their side so it is either a config issue on my box or there is actual something wrong with the network.
 
Old 07-18-2009, 03:29 AM   #4
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
post here your sysctl.conf
 
Old 07-18-2009, 03:34 AM   #5
lew
LQ Newbie
 
Registered: Jul 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Stephan_Craft View Post
post here your sysctl.conf
Server has an Intel C2D with 2GB RAM

Code:
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.core.wmem_default = 2097152
net.core.wmem_max = 16777216
net.core.rmem_max = 16777216
net.core.rmem_default = 2097152
net.core.wmem_default = 2097152
net.ipv4.tcp_mem= 8388608 8388608 8388608

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_keepalive_time = 1800
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_max_syn_backlog = 2048
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
net.ipv4.tcp_max_orphans = 131072
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_recv = 30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait = 30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait = 30
kernel.panic=5
net.ipv4.tcp_max_syn_backlog = 2048
net.netfilter.nf_conntrack_max = 50485760
net.nf_conntrack_max = 50485760
net.ipv4.netfilter.ip_conntrack_max = 50485760
net.ipv4.ip_conntrack_max = 262144
 
Old 07-18-2009, 03:42 AM   #6
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
looks fine to me...

try to turn off your Firewall and SELinux
you can also try
iptables -F
 
Old 07-18-2009, 03:49 AM   #7
lew
LQ Newbie
 
Registered: Jul 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Stephan_Craft View Post
looks fine to me...

try to turn off your Firewall and SELinux
you can also try
iptables -F
Yeah SELinux is disabled already and tried disabling firewalls problem still occurs, hmm. I'm not sure what else locally on my box could be causing slow speeds, I'm starting to think it is a network issue or a hardware issue on my box.
 
Old 07-18-2009, 03:54 AM   #8
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
Quote:
Originally Posted by lew View Post
I'm starting to think it is a network issue
may be your server connected to switch(with other servers) or something, and it reached the 100MB limit
 
Old 09-14-2009, 07:52 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
Originally Posted by lew View Post
Transfer speeds both download and upload are both very slow at around ~50kb/s.
Quote:
Originally Posted by Stephan_Craft View Post
may be your server connected to switch(with other servers) or something, and it reached the 100MB limit
What am I missing? -- How can a 100MB (= 1,024,000kb) limit cause 50kb speeds?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow NTFS Transfer Speeds OpenCircuit Slackware 1 12-11-2005 05:27 PM
USB transfer speeds incredibly slow apachedude Suse/Novell 3 10-20-2005 06:16 PM
Very slow transfer speeds via LAN TBomb Linux - Networking 6 07-26-2005 08:34 AM
proftpd transfer speeds are extremely slow... wpg9210 Linux - Software 1 12-03-2004 07:23 PM
Horribly slow transfer speeds with SAMBA jordanyeo Linux - Networking 6 11-18-2003 07:13 AM


All times are GMT -5. The time now is 02:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration