Jump to content

crash server on linux


Recommended Posts

Hi all,

 

since the two last updated, my 2 servers wilderness crash often

unfortunately I can not find error in the logs of servers
when the server crashes, all processes linux are missing

 

mod on my server:

 

- Renewable World

- Mineable Gems

- DST Always On Tiki Torch

- Craftable Gears For DST

- Simple Protection

- Global Player Icons

 

crash since I started using the following options:
-threaded_physics -threaded_render

 

as you can see in the screenshot below there is just a lost connection with the server

 

150301024819338283.jpg

 

anyone has the same problem?

 

thx for your help

server_1_log.txt

server_2_log.txt

Link to comment
Share on other sites

  • Developer

Hi @ToNiO55

 

Hmmm, could you try running with one of the two enabled to see if it still happens? The threaded renderer and physics are experimental for a reason and it would be of great help to know if the crash is indeed caused by either of those, and if so, which one.

 

 

Link to comment
Share on other sites

Hi @bizziboi,

 

thank you for your help

 

I just let one parameter per server:

 

server 1:

./dontstarve_dedicated_server_nullrenderer -port xxxxxx -players 8 -conf_dir xxxxx/serveur1 -threaded_physics

 

server2:

./dontstarve_dedicated_server_nullrenderer -port xxxxxx -players 8 -conf_dir xxxxx/serveur2 -threaded_render

 

I'll try to see if the server crashes today and in the coming days

 

I'll let you know as soon as possible

Link to comment
Share on other sites

@bizziboi

 

sorry I forget also to show you the system logs of my linux server,

 

i don't know if it will help you understand why the server have crash

 

Feb 27 00:26:19 kernel: [1635242.579459] dontstarve_dedi[6737]: segfault at 11bc ip 00000000081d7089 sp 00000000ffb16300 error 6 in dontstarve_dedicated_server_nullrenderer[8048000+327000]

 

Feb 27 23:00:21 kernel: [1716484.902408] srcds_linux[12379]: segfault at 0 ip 00000000f438d667 sp 00000000ffea32f0 error 4 in vphysics_srv.so[f42bf000+1a0000]

 

Feb 28 13:37:19 kernel: [1769102.733964] srcds_linux[30540]: segfault at fffffffd ip 00000000f74fd821 sp 00000000ffacecc8 error 5 in libc-2.13.so[f7489000+15e000]

 

Feb 28 15:18:15 kernel: [1775158.291486] dontstarve_dedi[29334]: segfault at 3c ip 00000000082514b8 sp 00000000f53a70f0 error 4 in dontstarve_dedicated_server_nullrenderer[8048000+327000]

 

Feb 28 21:48:06 kernel: [1798549.858751] dontstarve_dedi[4101]: segfault at 0 ip 000000000824daf5 sp 00000000f51f9f90 error 4 in dontstarve_dedicated_server_nullrenderer[8048000+327000]

 

Feb 28 22:21:40 kernel: [1800563.591361] dontstarve_dedi[19697]: segfault at 54c478d0 ip 0000000008254086 sp 00000000ffcc9e30 error 4 in dontstarve_dedicated_server_nullrenderer[8048000+327000]

 

Feb 28 22:23:01 kernel: [1800644.162678] dontstarve_dedi[21636]: segfault at 11bc ip 00000000081d7089 sp 00000000ffdebce0 error 6 in dontstarve_dedicated_server_nullrenderer[8048000+327000]

 

Feb 28 23:28:46 kernel: [1804589.325669] srcds_linux[24005]: segfault at 4f800010 ip 00000000f456649f sp 00000000ffeb24f0 error 4 in vphysics_srv.so[f444b000+1a0000]

 

 

Link to comment
Share on other sites

  • Developer

@ToNiO55,

 

Thanks. I really appreciate you running the two :)

 

After reading this, I realize it can't really be the nullrenderer - a server shouldn't use it as it has no renderer (but if you can keep the server up for a bit with it it will be a great test), so that would point to the physics.

I'll (obviously) investigate. Quick question - do you use debugspawns, or do you have admins that would? That's one of the areas I am suspicious of at the moment. Or is this (to your knowledge) when people are just playing the game?

 

That's quite a lot of crashes, so I fully understand if you want to turn it off.

 

Edited to add, if you can grab a profile of the one with the physics, I can see what it overlaps with on your server - this might give other info to work with.

 

Again, thanks for your help!

Link to comment
Share on other sites

Hi @bizziboi,

 

thx again for your help :-)

 

so i don't know how use debugspawns on my servers therefore no

i think most crashes are conducted when we were 6-8 players
I begin to wonder if this is not my mods make the crash
but in this case I should see the error in the log.txt?

so new crash today on the server 1:

 

./dontstarve_dedicated_server_nullrenderer -port xxxxxx -players 8 -conf_dir xxxxx/serveur1 -threaded_physics

 

so i have the log.txt and after crash (sorry) i have take profil with 6 players of the server 1

 

http://kfkserver.com/download/dont_starve/crash/profile.json.rar

 

http://kfkserver.com/download/dont_starve/crash/log.rar

Link to comment
Share on other sites

  • Developer

Hey @ToNiO55,

 

No, the log sadly won't help me. I have a vague idea what it could be, a profile might help (a bit) - did you forget to attach it?

 

It might be a mod, but in a way that the error would be on my side, the mod just happens to trigger it.

 

As for the debugspawn I meant, do you (or others with admin rights) maybe c_spawn stuff in?

 

Edit: Whoops, I didn't see your links for the profile. Not sure what happened there.

Link to comment
Share on other sites

And that should be fine of course. I was just asking because I suspect that it's related to that - hard to explain, and if that's the case I will obviously fix it. 

 

thx you again for your help bizziboi

 

If you need help and more test, I am always available

Link to comment
Share on other sites

Hi @bizziboi,

 

I've seen in the last update that the problem was solved

 

 

Bug Fixes

  • Fixed a crash when shutting down a dedicated server via remote console

 

unfortunately I got 2 new crash today on my server

 

150305100522146981.jpg

 

like the previous crash, the server shuts down for no reason and server linux process disappeared

 

by cons even if there are crash, I really much less lag on my servers, probably related to options -threaded_physics -threaded_render

 

so thx you again very much for that

 

command line of the server:

 

./dontstarve_dedicated_server_nullrenderer -port xxxxx -players 8 -conf_dir configs/serveur1 -threaded_physics -threaded_render -backup_logs

 

i have take new profil on my server:

 

http://kfkserver.com/download/dont_starve/crash/profile.json_2.rar

 

I hope this helps you and if you need additional information or test, do not hesitate

Link to comment
Share on other sites

no problem, I have put the following parameters again:

 

server1:

./dontstarve_dedicated_server_nullrenderer -port xxxxx -players 8 -conf_dir configs/serveur1 -threaded_physics -backup_logs
 

server2:

./dontstarve_dedicated_server_nullrenderer -port xxxxx -players 8 -conf_dir configs/serveur2 -threaded_render -backup_logs

 

I'll let you know if any of the two server crashes again

 

thx again for your help bizziboi

Link to comment
Share on other sites

  • Developer

Hey @ToNiO55,

 

Hmmm, no I don't need the profile, I am fairly sure I know what's happening.

I would advise running without the threaded physics for now and I'll let you know when a modified version goes in, then maybe you will try again for me?

 

Thanks for having run this test for me.

 

Kaj

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...