Jump to content
  • 0

Session #8 timed out, Char Server Lost


Talaysen

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  161
  • Reputation:   5
  • Joined:  02/07/13
  • Last Seen:  

My server has been running since March, and had been relatively stable for some time.

Players have been able to log in (and generally still can) without complaint, most of the time.

 

We had been having an intermittent disconnection issue, but around May 23, I changed some of the connection details and it had been stable up until 6-13. On 6-13, we updated to SVN 17365, from SVN 17331.

 

Now, at completely random (though fairly frequent) intervals, this happens:

 

[info]: Session #8 timed out

[status]: Attempting to connect to Char Server. Please wait.
[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.
[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...

Status]: Map-server #0 has disconnected.
[Warning]: Connection to Char Server lost.


[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

 

[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: connect_check: DDoS Attack detected from 127.0.0.1!
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[info]: Attempt to connect to login-server...
[status]: Connecting to 127.0.0.1:6900
[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[status]: Successfully logged on to Char Server (Connection: '6').
[status]: Sending maps to char server...
[status]: Event 'OnInterIfInit' executed with '0' NPCs.
[status]: Map-Server 0 connected: 862 maps, from IP ***.***.**.*** port 5121.
[status]: Map-server 0 loading complete.
[status]: Map Server is now online.
[info]: Received Fame List of '5' characters.
[info]: Connection request of the char-server 'Name' @ ***.***.**.***:6121 (account: '***', pass: 'password', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: ***, id: 1, ip: 127.0.0.1)
[status]: Connection of the char-server 'Name' accepted.
[status]: Connected to login-server (connection #5).
[info]: Pinging SQL server to keep connection alive...
[info]: Pinging SQL server to keep connection alive...
[info]: Pinging SQL server to keep connection alive...

 

-------------------

 

In map_athena.conf:

char_ip: LAN IP

map_ip: WAN IP

 

In char_athena.conf

login_ip: LAN IP

char_ip: WAN IP

 

Bind IP is still commented out in all files.

 

subnet_athena.conf
subnet: 255.0.0.0:222.121.12.123:222.121.12.123

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  161
  • Reputation:   5
  • Joined:  02/07/13
  • Last Seen:  

Suggestions?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  161
  • Reputation:   5
  • Joined:  02/07/13
  • Last Seen:  

I made the following change to my server and I've had stability with the char/login/map servers for three hours now, no issues yet:

 

Change - packet_db.conf

// If IP's are checked when connecting.
// This also enables DDoS protection.
enable_ip_rules: no

Changed enable_ip_rules: from yes to no.

I've noticed since I made this change, I've been seeing:

[Info]: connect_check_clear: Cleared 0 of 0 from IP list.
[Info]: connect_check_clear: Cleared 0 of 0 from IP list.

in the server log, something I've never seen before.

 

---

 

Aside from that, a while back I had posted about (the same?) or an exceptionally similar issue:

http://rathena.org/board/tracker/issue-7670-char-server-crashing-endless-loop/

 

The only other change I made today was re-enabling the anonymous stats reporting, which I can't imagine that'd have anything to do with my issue?

 

/// Uncomment to disable rAthena's anonymous stat report
/// We kindly ask you to consider keeping it enabled, it helps us improve rAthena.
//#define STATS_OPT_OUT
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

is the problem solved?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  161
  • Reputation:   5
  • Joined:  02/07/13
  • Last Seen:  

It seems like disabling the anonymous stat reporting has made it more stable than it was, but the problem still randomly occurs.

I mean truly random, too. It'll be stable for 10, 15, 24 hours or longer and randomly disconnect (outlined above).

Then, at other times, it'll happen once every couple of hours, or at even shorter intervals.

 

They mentioned in my support ticket that it could be caused by outdated linux packages, so I did a full update to my VPS today, making sure everything is current, particularly :

    * gcc    * make    * mysql    * mysql-devel    * mysql-server    * pcre-devel    * subversion    * zlib-devel

It's too early to tell if this will affect anything. I also installed GDB, so if it does occur again, I can provide them with a crash dump.

I'll post back with results in 24 and 48 hours. (My OS is CentOS 6, 32 bit, by the way).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

Thanks! Will try to update mine too

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  161
  • Reputation:   5
  • Joined:  02/07/13
  • Last Seen:  

Since I updated my linux packages, it has been completely stable for over a week.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

when updating linux packages, do I need to re-install my server files or anything?



How do you update your packages?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...