-
Here's a fix, but it's not pretty....
There are a few things going on here:
1) The SMTP servers seem to be losing a large percentage of packets, causing the Linux TCP to retransmit. The servers are also slow to ACK packets. I have no idea why this occurs - but it is common to both the gmail SMTP server and my local ISP SMTP server with my 19.2 kb/s dial-up connection. I also have no idea why this problem is so much worse with binary attachments than text attachments.
2) The Linux TCP algorithm is adapting to the SMTP server packet-drop and slow ACK problems by increasing the amount of time between retransmissions, up to a maximum of 120 seconds. The TCP throughput drops to virtually zero and the e-mail gets "stuck".
The fix to the problem is to force the Linux maximum TCP retransmission timer to a much smaller value - like a few seconds. This probably violates some RFC, but it gets the job done !
I ported the patch at http://www.jankratochvil.net/project/tcp_rto to the 2.4.27 kernel source, and rebuilt and installed this kernel. Once that is done, you can tweak the maximum TCP retransmission timer to something like 3 seconds:
echo 300 > /proc/sys/net/ipv4/tcp_rto_max
Put this in a rc*.d script so it will get set with each reboot.
Similar Threads
-
By jjmac in forum Hardware & Booting
Replies: 0
Last Post: 05-16-2005, 11:34 AM
-
By el_supremo in forum Hardware & Booting
Replies: 2
Last Post: 07-26-2004, 05:28 PM
-
By garyng in forum General Support
Replies: 4
Last Post: 03-26-2004, 02:19 AM
-
By ericia in forum Networking
Replies: 0
Last Post: 02-07-2004, 11:29 PM
-
By rickenbacherus in forum The Lounge
Replies: 2
Last Post: 04-20-2003, 05:51 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)
$344.74

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper MX204 +JUNOS and Dual Power Supply
$7299.99

Juniper QFX5120-32C-AFI 32x100GbE Switch Dual AC Airflow In, Rail Kit Included
$8150.00

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch
$179.99

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00

Juniper EX4300-24P 24 Port Gigabit PoE+ Switch.
$95.62