• Server is crashing often
    15 replies, posted
My server is crashing about 2 times a day. I'm running the server on Linux (Debian 7.8 wheezy) Gamemode is TTT The only thing I can find before the server is crashing is always something similar to this: [CODE] CBaseEntity::SetAbsOrigin( -nan -nan nan ): Ignoring unreasonable position. Crazy physics on [166][prop_physics] [Ang:-nan,nan,180.000000] [Pos:-nan,-nan,nan] - removing [/CODE] I really hope this can be fixed!
Are these at very specific times? (i.e. Every 3 hours) Have you tried disabling your addons?
Use this: [url]https://github.com/Kefta/Ragdoll-Remover[/url] It freezes the ragdolls(bodies), which are freaking out because of the physics engine.
[QUOTE=xthenarwhalx;48427455]Use this: [url]https://github.com/Kefta/Ragdoll-Remover[/url] It freezes the ragdolls(bodies), which are freaking out because of the physics engine.[/QUOTE] I'll try this out. Thanks! :)
I installed the tool with this settings: [CODE] -- Config local EchoFreeze = true -- Tell players when a body is frozen local EchoRemove = true -- Tell players when a body is removed local FreezeSpeed = 5000 -- Velocity ragdoll is frozen at; this should always be less than RemoveSpeed local RemoveSpeed = 9000 -- Velocity ragdoll is removed at; this should always be greater than FreezeSpeed local FreezeTime = 1 -- Time body is frozen for; value must be greater than or equal to 0.1 -- End config [/CODE] My server still crashed. Everything I found is this: [CODE] prop_ragdoll[278]:SetAbsOrigin( -nan -nan nan ): Ignoring unreasonable position. Crazy physics on [283][prop_physics] [Ang:-nan,nan,180.000000] [Pos:-nan,-nan,nan] - removing player/leet.mdl (2) at 20.0 -2.8 37.0 in contact with player/leet.mdl (2) at -nan -nan -nan, crash. dist = -1, minq = 99999999999999997704951326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 player/leet.mdl (2) at 20.0 -2.8 37.0 in contact with player/leet.mdl (2) at -nan -nan -nan, crash. dist = -1, minq = 99999999999999997704951326524533662844684271992415000612999597473199345218078991130326129448151154688.000000 [/CODE]
Is there really nothing I can dO?
[QUOTE=P4sca1;48445173]Is there really nothing I can dO?[/QUOTE] Sometimes got these too, but I know no fix.
Can one of the game developers or someone else tell me what exactly the message before the crash means?
The script does nothing about nan positions; some addon has to be doing this.
[QUOTE=code_gs;48445632]The script does nothing about nan positions; some addon has to be doing this.[/QUOTE] Is there allready an addon that can do this? If not: I would kindly request someone to do this, because this issue really sucks :3 I would even pay for this addon to be made if the scripter want to. (maybe this is a little motivation to do this)
[QUOTE=code_gs;48445632]The script does nothing about nan positions; some addon has to be doing this.[/QUOTE] Maybe it's a good idea to add an option to remove ragdolls/props if they are with nan positions, angles or velocities.
Did I understood it right?: If a ragdoll is reaching nan positions, it is causing a crash on the server. But if we could remove a ragdoll with nan positions before, the server won't crash?
You could remove them ( even though it is done automatically afaik ), but there's no guarantee that this will stop any chain reactions that would still result in a crash.
I think it's worth a try. [editline]12th August 2015[/editline] @code_gs When can I exxpect to try the update? Sorry for stressing you or so, but maybe you can understand that those crashes are really a pain for me and my players.
[QUOTE=P4sca1;48445969]I think it's worth a try. [editline]12th August 2015[/editline] @code_gs When can I exxpect to try the update? Sorry for stressing you or so, but maybe you can understand that those crashes are really a pain for me and my players.[/QUOTE] A bit late, but it's added to the latest iteration: [url]https://github.com/Kefta/Ragdoll-Remover[/url] I only check for a NaN position since through all cases I've seen, the Angle is only NaN when the position is.
[QUOTE=code_gs;48861444]A bit late, but it's added to the latest iteration: [url]https://github.com/Kefta/Ragdoll-Remover[/url] I only check for a NaN position since through all cases I've seen, the Angle is only NaN when the position is.[/QUOTE] Better late than never! I had this issue all the time and still do but lets hope that this fixes it :)
Sorry, you need to Log In to post a reply to this thread.