Enormous resource usage 87.0

Enormous resource usage 87.0

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderators: Moderators, Moderators

Post Reply
wolas
Posts: 112
Joined: 30 Jul 2010, 20:40

Enormous resource usage 87.0

Post by wolas »

I m running linux 64bit debian testing. Sometimes there is 2 spring processes is that normal(im sure that there was 0 before game)?

Code: Select all

30188 ?        Sl    42:48 /usr/local/bin/spring /home/wolas/.spring/start_script.txt
31593 ?        S      0:00  \_ /usr/local/bin/spring /home/wolas/.spring/start_script.txt
Eeach process eats arround 50% of ram ~2GB mostly I notice this at the end of game because it starts to lag badly almost freezes and only possible way to stop that is to switch to some terminal and kill them. With previous versions there wasnt anything like that

[f=0057106] Djinn is under attack
[f=0057183] [[NC]Gretchen] oooo ... how did you make that fake radar signal, zmaster?
[f=0057258] Djinn is under attack
[f=0057435] <zmaster587> com has radar
[f=0057485] Player S27 left the game: normal quit
[f=0058230] Error: LuaRules::RunCallIn: error = 2, UnitDestroyed, [string "LuaRules/Gadgets/hacky_87_submerged_nanofra..."]:84: DestroyUnit() recursion is not permitted
stack traceback:
[C]: in function 'DestroyUnit'
[string "LuaRules/Gadgets/hacky_87_submerged_nanofra..."]:84: in function 'UnitDestroyed'
[string "LuaRules/gadgets.lua"]:1297: in function <[string "LuaRules/gadgets.lua"]:1294>
(tail call): ?
[C]: in function 'spDestroyUnit'
[string "LuaRules/Gadgets/unit_terraform.lua"]:2774: in function 'GameFrame'
[string "LuaRules/gadgets.lua"]:947: in function <[string "LuaRules/gadgets.lua"]:945>
(tail call): ?
[f=0058230] Error: LuaRules::RunCallIn: error = 2, UnitDestroyed, [string "LuaRules/Gadgets/hacky_87_submerged_nanofra..."]:84: DestroyUnit() recursion is not permitted
stack traceback:
[C]: in function 'DestroyUnit'
[string "LuaRules/Gadgets/hacky_87_submerged_nanofra..."]:84: in function 'UnitDestroyed'
[string "LuaRules/gadgets.lua"]:1297: in function <[string "LuaRules/gadgets.lua"]:1294>
(tail call): ?
[C]: in function 'spDestroyUnit'
[string "LuaRules/Gadgets/unit_terraform.lua"]:2774: in function 'GameFrame'
[string "LuaRules/gadgets.lua"]:947: in function <[string "LuaRules/gadgets.lua"]:945>
(tail call): ?
[f=0058342] Warning: [Watchdog] Hang detection triggered for Spring 87.0.
[f=0058342] Warning: (in thread: main)
[f=0058342] Error: Stacktrace (main):
[f=0058342] Error: (Note: This stacktrace is not 100% accurate! It just gives an impression.)

That gadget error appeared at same time not even sure second before lag or second after lag.

Even if this is mod problem is it normal that there runs two springs? spring is not multithreaded.
0 x

User avatar
koshi
Lobby Developer
Posts: 1058
Joined: 14 Aug 2007, 16:15

Re: Enormous resource usage 87.0

Post by koshi »

Spring has been running multiple threads for a long while. What is commonly known as "mt" is a misnomer. It adds threaded rendering, not multi threading itself.
0 x

wolas
Posts: 112
Joined: 30 Jul 2010, 20:40

Re: Enormous resource usage 87.0

Post by wolas »

I posted ps -eF its not threads it is two springs. And seems like one spring launches other spring? Normally spring appears as one process only in hang case there are two springs.
0 x

SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Enormous resource usage 87.0

Post by SirMaverick »

Spring forks a child process that shows the message box (fork&exec pair).
0 x

Post Reply

Return to “Help & Bugs”