Author |
Developer Update 9/16/2004 - Lag may be fixed |
Faustus Marshal Palestar
Joined: May 29, 2001 Posts: 2748 From: Austin, Texas
| Posted: 2004-09-16 10:46  
I finally figured out what was causing the massive disconnections of servers on the backend. A fix for this will be uploaded today/tonight at the latest.
Basically, for flow control reasons... I track the number of bytes sent and the number of bytes acked, if the gap between these 2 values gets large enough I hold off sending any more data until it's acknowledged. Due to a bug in the acknowledgment code, it would have removed an ACK packet instead of a DATA packet, causing a slow leak everytime the sequence numbers were reset.
Additionally, as the numbers leaked, it would make communications between the servers slower and slower over time, until eventually it couldn't send anymore data because not enough bytes have been acked causing a timeout and a disconnection.
-Richard
_________________
|
DoctorCrobe Admiral Pitch Black
Joined: April 18, 2003 Posts: 152 From: Mormonville USA
| Posted: 2004-09-16 10:59  
GO F GO..
Shakari
_________________
|
Pope Fleet Admiral
Joined: June 11, 2002 Posts: 2449 From: World of tomorrow
| Posted: 2004-09-16 11:34  
ACK!
Ha, Ha..
_________________
|
JackSwift Cadet Sundered Weimeriners
Joined: October 30, 2002 Posts: 1806 From: Where the Sun dont Shine (Seattle-ish)
| Posted: 2004-09-16 11:44  
Wow... Sono is easily amused.
_________________ (too lazy to rehost that old sig)
\"Errare Human Est.\"
|
Daylight \"The Beginning\" Grand Admiral
Joined: July 24, 2002 Posts: 608 From: Oregon, USA
| Posted: 2004-09-16 11:44  
ACK ACK !!!
DS has a new catch term....
Lets all here it for the ...
A C K !!!!
_________________
|
Xilaratu Cadet
Joined: May 06, 2004 Posts: 745 From: Florida
| Posted: 2004-09-16 13:47  
ACK!
_________________ Move like water.
|
Xilaratu Cadet
Joined: May 06, 2004 Posts: 745 From: Florida
| Posted: 2004-09-16 14:52  
Don't forget Two Weeks™
_________________ Move like water.
|
Faustus Marshal Palestar
Joined: May 29, 2001 Posts: 2748 From: Austin, Texas
| Posted: 2004-09-16 15:33  
FYI... my fix didn't work, so I rewrote the throttle code for the socket which was causing the problem. Update later today or tonight and then it really should be fixed this time.
_________________
|
Coeus {NCX-Charger} Admiral, I can't read, Sundered Weimeriners
Joined: February 16, 2004 Posts: 3635 From: South Philly
| Posted: 2004-09-16 15:33  
ACK!
Whats that programmers motto? When in doubt, check your semicolons?
_________________
Darkspace: Twilight
|
Axianda The Royal Fleet Admiral Terra Squadron
Joined: November 20, 2001 Posts: 4273 From: Axianda
| Posted: 2004-09-16 16:28  
Quote:
|
On 2004-09-16 15:33, Faustus wrote:
FYI... my fix didn't work, so I rewrote the throttle code for the socket which was causing the problem. Update later today or tonight and then it really should be fixed this time.
|
|
*knocks on wood*
_________________
- Axi
|
Daevyd Cadet
Joined: July 06, 2004 Posts: 12 From: Dublin, CA
| Posted: 2004-09-16 17:53  
This sounds like the trouble I was having. I wonder if I helped fix it by sending in my tracelog file?
_________________
|
Daylight \"The Beginning\" Grand Admiral
Joined: July 24, 2002 Posts: 608 From: Oregon, USA
| Posted: 2004-09-16 17:56  
I wonder too...I sent in the trace log of my trace log and the trace log too...
MAY THE ACK BE WITH YOU!
_________________
|
Aragorn Cadet
Joined: January 08, 2004 Posts: 168 From: Vancouver, Canada
| Posted: 2004-09-16 18:13  
Ack ackackack ACKACK
_________________
|
Xilaratu Cadet
Joined: May 06, 2004 Posts: 745 From: Florida
| Posted: 2004-09-16 18:21  
ACK!
_________________ Move like water.
|
Captain Sternn Grand Admiral
Joined: March 18, 2004 Posts: 225
| Posted: 2004-09-16 19:50  
Just following the herd here ...ACK!
_________________
|