MediaSignage support forum

community support => Open source Digital Signage => Topic started by: wigginsray on February 17, 2020, 09:42:13 PM

Title: nwjs processes not being exited/killed
Post by: wigginsray on February 17, 2020, 09:42:13 PM
I have an issue when a user in Signage Studio updates via Save/Upload. Signage Player is closing some but not all of the nwjs processes. This is also the behaviour when a user stops and quits signageplayer, about three or four nwjs processes remain and continue to eat up memory and sometimes CPU. After several updates there can be in studio, it can bring the system to a grind.

Is there some code I can insert to better manage the child processes? I can't keep telling my clients to manually kill the processes.
Title: Re: nwjs processes not being exited/killed
Post by: admin on February 18, 2020, 03:38:36 AM
are you using the browser or webkit component? and are you using windows as your player?

one way to kill processes is to use TASKKILL command.  at the end of the timeline, add an external app component - in AppName, specify C:\WINDOWS\System32\taskkill.exe then in Command Line, specify /IM NWJS.EXE.

best regards

-ADMIN