• 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 Something is crashing my OTS...

demon088

#088 in the Horde
Joined
Jun 17, 2009
Messages
248
Solutions
3
Reaction score
29
Location
Hell
Hello again OtLand! I need your help...
When I put online my OTS everything is fine, but after almost two days the server crashes and client says 'Connection refused' to every player. I'm running my OTS using 'putty.exe' remotely to a Linux VPS via screens. If I try to run the OTS again when it crashes just doesn't work, so I have to reset the VPS to run my OTS again, then it works fine again, until the crash... I don't know how to log to a plain text whatever that could be causing the crash, so I'm mad about this and I can't solve this problem...
I'd be thankful if you could give me a clue of what can I do to solve this.
 
Solution
By normally I mean without gdb, when I use gdb the OTS doesn't run. I don't think RAM is the problem because I was running my OTS with this RAM without problems. I can't see error codes because I don't have a log control of my server. By remote control I mean putty as well.
I didn't edit login.lua so that must not be the problem. Thanks for the help @WibbenZ!

Well with any crashes it's really hard to say what the problem could be.
If you can't run gdb due to memory issues - well that could be the reason, just try to start an rl map with 2-4gb :p
But ye the best way to find out how the server crashed is via a crash log.
Install gdb;
Code:
apt-get install gdb

Then write this to start the server;
Code:
gdb ./tfs
Code:
run
 
I tried this and I got this:
Code:
>> Loading map
> Map size: 2000x2000.
[Thread 0x7ffff4cca700 (LWP 870) exited]
[Thread 0x7ffff7fe8740 (LWP 868) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
I'm not sure what does this means but the server didn't started normally.

BUMP

BUMP I need help :C
 
Last edited by a moderator:
I tried this and I got this:
Code:
>> Loading map
> Map size: 2000x2000.
[Thread 0x7ffff4cca700 (LWP 870) exited]
[Thread 0x7ffff7fe8740 (LWP 868) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
I'm not sure what does this means but the server didn't started normally.

BUMP

BUMP I need help :C

A tip is to quote or tag (@ username) so we get notified about your message :p

Does it crash when loading the map? How much RAM does the server have and what map are you trying to load?
 
A tip is to quote or tag (@ username) so we get notified about your message :p

Does it crash when loading the map? How much RAM does the server have and what map are you trying to load?

If I run the OTS normally the map doesn't crash the OTS, but nobody can login after you select your player because 'Connection Refused' is displayed in the client, but the player is online and never logs out. The RAM is about 2 GB. I don't know what to do because I have not a log where I can see what is wrong through Linux remote control. Thanks for your messages.
 
If I run the OTS normally the map doesn't crash the OTS, but nobody can login after you select your player because 'Connection Refused' is displayed in the client, but the player is online and never logs out. The RAM is about 2 GB. I don't know what to do because I have not a log where I can see what is wrong through Linux remote control. Thanks for your messages.

What do you mean normally? Without gdb?
If it's an RL map then you found the problem - you need more ram, 6-8GB IMO.
If it's a smaller evo the RAM should be fine.

Do you get any error codes with the connection refused error?
Linux remote control? You mean putty?

It could be that you have a bug in login.lua where it returns false and refuses the login aswell.
 
What do you mean normally? Without gdb?
If it's an RL map then you found the problem - you need more ram, 6-8GB IMO.
If it's a smaller evo the RAM should be fine.

Do you get any error codes with the connection refused error?
Linux remote control? You mean putty?

It could be that you have a bug in login.lua where it returns false and refuses the login aswell.
By normally I mean without gdb, when I use gdb the OTS doesn't run. I don't think RAM is the problem because I was running my OTS with this RAM without problems. I can't see error codes because I don't have a log control of my server. By remote control I mean putty as well.
I didn't edit login.lua so that must not be the problem. Thanks for the help @WibbenZ!
 
By normally I mean without gdb, when I use gdb the OTS doesn't run. I don't think RAM is the problem because I was running my OTS with this RAM without problems. I can't see error codes because I don't have a log control of my server. By remote control I mean putty as well.
I didn't edit login.lua so that must not be the problem. Thanks for the help @WibbenZ!

Well with any crashes it's really hard to say what the problem could be.
If you can't run gdb due to memory issues - well that could be the reason, just try to start an rl map with 2-4gb :p
But ye the best way to find out how the server crashed is via a crash log.
 
Solution
Well with any crashes it's really hard to say what the problem could be.
If you can't run gdb due to memory issues - well that could be the reason, just try to start an rl map with 2-4gb :p
But ye the best way to find out how the server crashed is via a crash log.
I think you're right. I had memory issues, I must upgrade my service.
Thank you for everything @WibbenZ!
 
Back
Top