Infinite loop detection -
SeoToX - 25.11.2011
Hi
I sometimes get an infinite loop on my server.
But i cant detect this not at all, so my question is how can i detect this?
With a plugin? Or with other methods?
(And no, i cant find it with my eyes, because our mod has 70000+ lines)
Thank you
Re: Infinite loop detection -
IceCube! - 25.11.2011
What GM is it?
What does the loop do?
What is the loop on?
Can you post properly in future?
Re: Infinite loop detection -
SeoToX - 25.11.2011
Quote:
Originally Posted by IceCube!
What GM is it?
What does the loop do?
What is the loop on?
Can you post properly in future?
|
"What GM is it?"
Why its matter? All gamemode use same scripting...
"What does the loop do?"
Infinite looping... surprisingly... freeze the server...
"What is the loop on?"
While cycle
Re: Infinite loop detection -
IceCube! - 25.11.2011
It matters because I NEEED TO SEE CODE! - Makes me wonder if your trying to steal a script and claim it yours?
The second one I ment What does it loop such as text cars or spawns
3rd As in cars bikes blah blach - was ment to be deleted
Re: Infinite loop detection -
SeoToX - 25.11.2011
"It matters because I NEEED TO SEE CODE! - Makes me wonder if your trying to steal a script and claim it yours?"
Its our gamemode, but you will not see the code.
I asked for some debug method, with i can detect the infinite loop. So ex. a plugin, or view assembly executing on running, etc...
"The second one I ment What does it loop such as text cars or spawns"
The last log in the serverlog is "logged", so when a player log in. But its not 100%, because the server not logging all actions, only 10%, max.
Re: Infinite loop detection -
Elorreli - 25.11.2011
Quote:
Originally Posted by SeoToX
"It matters because I NEEED TO SEE CODE! - Makes me wonder if your trying to steal a script and claim it yours?"
Its our gamemode, but you will not see the code.
I asked for some debug method, with i can detect the infinite loop. So ex. a plugin, or view assembly executing on running, etc...
"The second one I ment What does it loop such as text cars or spawns"
The last log in the serverlog is "logged", so when a player log in. But its not 100%, because the server not logging all actions, only 10%, max.
|
Look through all loops in the server until you find it.
Or use Zeex's Crashdetect plugin.
Re: Infinite loop detection -
IceCube! - 25.11.2011
Well im psyshic, NOT We need to see code and being a 'Little Clucker' I highly doubt that its your code as you would know whats wrong anyhow.
No Code, No Help
Re: Infinite loop detection -
SeoToX - 25.11.2011
Quote:
Originally Posted by IceCube!
Well im psyshic, NOT We need to see code and being a 'Little Clucker' I highly doubt that its your code as you would know whats wrong anyhow.
No Code, No Help
|
Please no post more to this topic. Thanx.
Quote:
Originally Posted by Elorreli
Look through all loops in the server until you find it.
Or use Zeex's Crashdetect plugin.
|
I use the Crashdetect plugin, and if the crashdetect say crashed, i always found the point, by decoding the error code. But the infinite loop doesnt crash the server, so i cant find the point, where the mod cause the infinite loop :\
Re: Infinite loop detection -
IceCube! - 25.11.2011
Learn English learn pawn. WAIT Mor importantly learn not to lie!, And to get some manors
End of discussion
Re: Infinite loop detection -
Rob_Maate - 25.11.2011
Well what usually happens around the time of your crash?