Originally posted by [b]Menny[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=527
After the update from 11207 to 11823, approximately after several hours of work the char and map servers begin to continiously dissconect from each other. When the new players was trying to connect they recieved the - 0 online from the login server, and - Connection closed from the map servers.
The log for the map server looks like:
CODE
[2007-12-01 20:05:18][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:18][Status]: Logging in to char server...
[2007-12-01 20:05:18][Status]: Successfully logged on to Char Server (Connection: '11').
[2007-12-01 20:05:18][Status]: Sending maps to char server...
[2007-12-01 20:05:18][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:05:18][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:05:18][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:05:18][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:05:19][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:19][Status]: Logging in to char server...
[2007-12-01 20:05:19][Status]: Successfully logged on to Char Server (Connection: '11').
[2007-12-01 20:05:19][Status]: Sending maps to char server...
[2007-12-01 20:05:19][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:05:19][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:05:19][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:05:19][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:05:20][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:20][Status]: Logging in to char server...
[2007-12-01 20:05:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:24][Status]: Logging in to char server...
[2007-12-01 20:05:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:34][Status]: Logging in to char server...
[2007-12-01 20:05:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:44][Status]: Logging in to char server...
[2007-12-01 20:05:48][Notice]: Character (aid: 2003360) not authed within 30 seconds of character select!
[2007-12-01 20:05:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:05:54][Status]: Logging in to char server...
[2007-12-01 20:06:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:06:04][Status]: Logging in to char server...
[2007-12-01 20:06:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:06:14][Status]: Logging in to char server...
[2007-12-01 20:06:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:06:24][Status]: Logging in to char server...
[2007-12-01 20:06:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:06:34][Status]: Logging in to char server...
[2007-12-01 20:06:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:06:44][Status]: Logging in to char server...
[2007-12-01 20:06:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:06:54][Status]: Logging in to char server...
[2007-12-01 20:07:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:07:04][Status]: Logging in to char server...
[2007-12-01 20:07:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:07:14][Status]: Logging in to char server...
[2007-12-01 20:07:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:07:24][Status]: Logging in to char server...
[2007-12-01 20:07:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:07:34][Status]: Logging in to char server...
[2007-12-01 20:07:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:07:44][Status]: Logging in to char server...
[2007-12-01 20:07:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:07:54][Status]: Logging in to char server...
[2007-12-01 20:08:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:08:04][Status]: Logging in to char server...
[2007-12-01 20:08:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:08:14][Status]: Logging in to char server...
[2007-12-01 20:08:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:08:24][Status]: Logging in to char server...
[2007-12-01 20:08:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:08:34][Status]: Logging in to char server...
[2007-12-01 20:08:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:08:44][Status]: Logging in to char server...
[2007-12-01 20:08:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:08:54][Status]: Logging in to char server...
[2007-12-01 20:09:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:17:54][Status]: Logging in to char server...
[2007-12-01 20:18:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:18:04][Status]: Logging in to char server...
[2007-12-01 20:18:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:18:14][Status]: Logging in to char server...
[2007-12-01 20:18:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:18:24][Status]: Logging in to char server...
[2007-12-01 20:18:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:18:34][Status]: Logging in to char server...
[2007-12-01 20:18:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:18:44][Status]: Logging in to char server...
[2007-12-01 20:18:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:18:54][Status]: Logging in to char server...
[2007-12-01 20:19:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:19:24][Status]: Logging in to char server...
[2007-12-01 20:19:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:19:34][Status]: Logging in to char server...
[2007-12-01 20:19:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:19:44][Status]: Logging in to char server...
[2007-12-01 20:19:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:19:54][Status]: Logging in to char server...
[2007-12-01 20:20:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:04][Status]: Logging in to char server...
[2007-12-01 20:20:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:14][Status]: Logging in to char server...
[2007-12-01 20:20:14][Status]: Successfully logged on to Char Server (Connection: '7').
[2007-12-01 20:20:14][Status]: Sending maps to char server...
[2007-12-01 20:20:14][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:20:14][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:20:14][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:20:14][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:20:15][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:15][Status]: Logging in to char server...
[2007-12-01 20:20:16][Status]: Successfully logged on to Char Server (Connection: '7').
[2007-12-01 20:20:16][Status]: Sending maps to char server...
[2007-12-01 20:20:16][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:20:16][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:20:16][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:20:16][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:20:17][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:17][Status]: Logging in to char server...
[2007-12-01 20:20:17][Status]: Successfully logged on to Char Server (Connection: '7').
[2007-12-01 20:20:17][Status]: Sending maps to char server...
[2007-12-01 20:20:17][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:20:17][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:20:17][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:20:17][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:20:18][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:18][Status]: Logging in to char server...
[2007-12-01 20:20:18][Status]: Successfully logged on to Char Server (Connection: '7').
[2007-12-01 20:20:18][Status]: Sending maps to char server...
[2007-12-01 20:20:18][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:20:18][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:20:19][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:20:19][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:20:20][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:20][Status]: Logging in to char server...
[2007-12-01 20:20:20][Status]: Successfully logged on to Char Server (Connection: '7').
[2007-12-01 20:20:20][Status]: Sending maps to char server...
[2007-12-01 20:20:20][Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[2007-12-01 20:20:20][Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[2007-12-01 20:20:20][Status]: Map sending complete. Map Server is now online.
[2007-12-01 20:20:20][Warning]: Map Server disconnected from Char Server.
[2007-12-01 20:20:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:44][Status]: Logging in to char server...
[2007-12-01 20:20:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:20:54][Status]: Logging in to char server...
[2007-12-01 20:21:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:21:04][Status]: Logging in to char server...
[2007-12-01 20:21:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:21:14][Status]: Logging in to char server...
[2007-12-01 20:21:18][Notice]: Character (aid: 10006140) not authed within 30 seconds of character select!
[2007-12-01 20:21:24][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:21:24][Status]: Logging in to char server...
[2007-12-01 20:21:34][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:21:34][Status]: Logging in to char server...
[2007-12-01 20:21:44][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:21:44][Status]: Logging in to char server...
[2007-12-01 20:21:54][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:21:54][Status]: Logging in to char server...
[2007-12-01 20:22:04][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:22:04][Status]: Logging in to char server...
[2007-12-01 20:22:14][Status]: Connecting to 127.0.0.1:5128
[2007-12-01 20:22:14][Status]: Logging in to char server...
Char server log:
CODE
[2007-12-01 20:20:14][Status]: Map-Server 0 connected: 637 maps, from IP x.x.x.x port 5129.
[2007-12-01 20:20:14][Status]: Map-server 0 loading complete.
[2007-12-01 20:20:16][Status]: Map-server 0 (session #6) has disconnected.
[2007-12-01 20:20:16][Status]: Map-Server 0 connected: 637 maps, from IP x.x.x.x port 5129.
[2007-12-01 20:20:16][Status]: Map-server 0 loading complete.
[2007-12-01 20:20:17][Status]: Map-server 0 (session #9) has disconnected.
[2007-12-01 20:20:17][Status]: Map-Server 0 connected: 637 maps, from IP x.x.x.x port 5129.
[2007-12-01 20:20:17][Status]: Map-server 0 loading complete.
[2007-12-01 20:20:18][Status]: Map-server 0 (session #16) has disconnected.
[2007-12-01 20:20:18][Status]: Map-Server 0 connected: 637 maps, from IP x.x.x.x port 5129.
[2007-12-01 20:20:18][Status]: Map-server 0 loading complete.
[2007-12-01 20:20:19][Status]: Map-server 0 (session #9) has disconnected.
[2007-12-01 20:20:20][Status]: Map-Server 0 connected: 637 maps, from IP x.x.x.x port 5129.
[2007-12-01 20:20:20][Status]: Map-server 0 loading complete.
[2007-12-01 20:20:20][Status]: Map-server 0 (session #9) has disconnected.
[2007-12-01 20:20:21][Status]: Map-Server 0 connected: 637 maps, from IP x.x.x.x port 5129.
[2007-12-01 20:20:21][Status]: Map-server 0 loading complete.
[2007-12-01 20:20:21][Status]: Map-server 0 (session #9) has disconnected.
[2007-12-01 20:20:22][Warning]: connect_check: DDoS Attack detected from 127.0.0.1!
The strange thing is that the ddos attack was detected from the local ip.
Also noticed many such errors in the console, maybe it's even not related to this issue.
CODE
[2007-11-30 21:52:05][Error]: realloc_writefifo: session #7's send buffer was overloaded! Disconnecting...
[2007-11-30 21:52:12][Error]: accept failed (code 53)!