python - Why are nose tests leaving orphaned PhantomJS processes on Windows 8? -


i have python selenium nose tests running on windows 8 phantomjs. installed chutzpah (phantomjs) via chocolatey.

when run nose tests, "shimgen" process appears , lots of "phantomjs headless webkit javascript api (32 bit)" processes appear , use 50+mb of memory , never close. causes lot of stuck phantomjs processes in memory.

this brings down server.

in c:\programdata\chocolatey\bin directory phantomjs.exe executable. renaming phantomjs.exe.bak , adding c:\programdata\chocolatey\lib\chutzpah windows path instead solved problem.

it appears exe shim phantomjs executable in bin folder. when terminate called, don't think handled shim. got idea try url: choco issue: shims should terminate underlying process waiting on when receive termination signal

in case wondering, how edit windows path:

start >> right click computer >> properties >> advanced tab >> environment variables: in system variables pane select path , click edit


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -