• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux About unexpected drop of my server.

Vrotz

Member
Joined
Apr 7, 2011
Messages
1,071
Reaction score
7
Location
Brazil
Hi brahs,

Im online in my server (now the little) and I use the command !uptime to check. Fine! I get 32 hours online of uptime in my server and without problem and without explanations my server put down! Puff, down!

The strangest part is..., when the server down i dont get rollback in my character. Other players said for me that lose any items but is strange because i haven't seen players complain about anything.

So, ive 3GB of ram to run 3MB of Map! Dont have any script automatically to crash or requiring machine memory (+)

Im pretty sure that whoever closed the server was the machine. How can I get an answer on this? Getting more ram?!
 
Last edited:
When was happened have 75 players online.

How I do for the machine never suspend the server?

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
713 root 20 0 498m 293m 8084 S 26 9.7 50:36.20 tfs

Using 26% CPU & ram 9.7. With 70 players online. It is bad?
 
Last edited by a moderator:
Im using screen ./tfs to execute my server.

Im trying to get a solution in the many websites and i found somethings.

/var/log/messages
PHP:
Nov  9 06:47:06 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 10 06:41:20 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 11 06:32:15 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 12 06:43:49 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 13 06:39:24 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 14 06:39:17 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 14 12:20:20 localhost-51 kernel: [917281.434968] possible SYN flooding on port 7172. Sending cookies.
Nov 14 16:45:20 localhost-51 kernel: [933150.602857] possible SYN flooding on port 7172. Sending cookies.
Nov 14 23:41:51 localhost-51 kernel: [958092.668456] tfs[26080]: segfault at 7f1300000008 ip 000000000046c4d2 sp 00007f1339b06570 error 4 in tfs[400000+45e000]
Nov 15 06:36:05 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 16 06:52:01 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.

and /var/log/messages.1
PHP:
Nov 16 06:52:01 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 17 04:45:25 localhost-51 kernel: [1148732.801333] possible SYN flooding on port 7171. Sending cookies.
Nov 17 06:49:22 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 18 06:44:51 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 19 02:18:10 localhost-51 kernel: [1312377.616240] possible SYN flooding on port 7172. Sending cookies.
Nov 19 02:22:08 localhost-51 kernel: [1312615.395559] possible SYN flooding on port 7172. Sending cookies.
Nov 19 02:25:59 localhost-51 kernel: [1312845.668270] possible SYN flooding on port 7172. Sending cookies.
Nov 19 06:49:40 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 20 06:29:26 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 20 12:40:51 localhost-51 kernel: [1435896.894217] possible SYN flooding on port 7172. Sending cookies.
Nov 20 19:18:57 localhost-51 kernel: [1459736.755900] possible SYN flooding on port 7172. Sending cookies.
Nov 21 06:37:53 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 21 13:45:17 localhost-51 kernel: [1525986.738645] type=1505 audit(1416584717.391:14):  operation="profile_replace" pid=31211 name="/usr/sbin/mysqld"
Nov 22 06:34:12 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 22 06:34:12 localhost-51 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Nov 22 18:37:21 localhost-51 kernel: [1629708.081728] possible SYN flooding on port 7172. Sending cookies.
Nov 22 21:50:07 localhost-51 kernel: [1641251.039574] tfs[31453]: segfault at ffffffffffffffe8 ip 00007f1a654d7e29 sp 00007f1a62b511f8 error 4 in libstdc++.so.6.0.13[7f1a65430000+f6000]
Nov 22 22:21:13 localhost-51 kernel: [1643113.599698] ip_tables: (C) 2000-2006 Netfilter Core Team

This can help someone in something and better interpret my situation? cuz I don't know what these messages mean.

My server down was 21h50 at Nov 22. I found that:
PHP:
Nov 22 21:50:07 localhost-51 kernel: [1641251.039574] tfs[31453]: segfault at ffffffffffffffe8 ip 00007f1a654d7e29 sp 00007f1a62b511f8 error 4 in libstdc++.so.6.0.13[7f1a65430000+f6000]
 
Last edited:
is good rev ,doubt.. 32 hours and shutdown every times? exactyle 32 hours and shutdown?

No bro, the server went down without reasons at twenty days ago and I found out it was for lack of ram. I bought a better dedicated, with 3GB of ram. Okay! The problem of downs are fixed! So, today, im online in my god and check the uptime.. was 32hours and he down! just that.

There is online at 3 hours and 32 minutes without problem.. But i think that will happen again, but not with a given time.

So, check that: http://pastebin.com/1BAUvWxz
I think it will help in something..

@Limos Did you can try to help me, bro?
 
Last edited by a moderator:
Run the server in GDB and then show us a back trace of the crash. If the server is using alot of memory after a long period of time it could be a memory leak within the server source code or a script that is not well made.
 
Run the server in GDB and then show us a back trace of the crash. If the server is using alot of memory after a long period of time it could be a memory leak within the server source code or a script that is not well made.

I have tested. It is a memory problem. Isn't any scripts. The server is original.

I want to know how to fix that:
PHP:
Nov 22 21:50:07 localhost-51 kernel: [1641251.039574] tfs[31453]: segfault at ffffffffffffffe8 ip 00007f1a654d7e29 sp 00007f1a62b511f8 error 4 in libstdc++.so.6.0.13[7f1a65430000+f6000]

I try to find solutions in web like that error:
PHP:
error 4 in libstdc++.so.6.0.13



Anyone know?!
 
Last edited:
No. If i change the rev, i will need reset my server. =S
I cant do it!
I would suggest doing a server restart every 24 hours if it's a memory leak..
When you wake up every day, just do a server restart, or just before bed. -shrugs-
 
I would suggest doing a server restart every 24 hours if it's a memory leak..
When you wake up every day, just do a server restart, or just before bed. -shrugs-

No, because I can not allow my server fail all the time or at any time. Not memory problem because 3Gb ram to support a map that weighs 3mb and a daily amount of 60-100 players n' has no automatic script or any type of event that causes the server need a large memory index. This not problem for this machine. My server works with distribution of items vips, he cannot fall because people would take advantage of these unexpected drops to clone items and this would bring the server to bankruptcy.
 
Anyone know to fix that error? i really need find that..

PHP:
error 4 in libstdc++.so.6.0.13

The motive is unknow, because i had formated my machine and recompiled my server n get 40 hours without problem. But i know that will happen one day again.
 
Last edited:
Back
Top