I'm setting up an app in nodejs, its made up form one main process (api.js) and another one which is forked from this one (using .fork() )
Also I have forever-monitor to guarantee everything is running if anything occur.
The problem comes when something happen in the main app, forever is behaving, re spawning it. But its its not killing the secondary forked thread.
So after sometime simulating errors the process stack in ps aux is getting bigger without any control.
I'm using the killTree parameter without any luck.
Any help??