News for hackers. Stuff that matters.
Re:Observations running 2M headless sessions by mtrunkat on Tuesday June 05, 2018 @04:02AM (#17235755)
We have found 2 related issues:

- Sometimes Promise returned by page.close() never resolves so it's good to call Promise.race() on that together with a Promise that resolves after some timeout period (30s?)

- Sometimes Chrome process doesn't get killed so we are also manually killing remaining Chrome process after browser.close()

Re:Observations running 2M headless sessions by dschnurr on Tuesday June 05, 2018 @11:32AM (#17238624)
Good tips. How are you killing remaining zombie Chrome processes? Just polling the processlist and running "kill" commands?