miyakogi / pyppeteer

Headless chrome/chromium automation library (unofficial port of puppeteer)
Other
3.57k stars 371 forks source link

browser.close() Not closing the chromium properly #274

Open mysteriousHerb opened 4 years ago

mysteriousHerb commented 4 years ago

image

As the image shown, although I do browser.close(), the chromium process just start to accumulate. Anyway to fix the issue?

quentinfayet commented 4 years ago

I'm having the same problem here. Running pyppeteer 0.0.25 in a Docker container. I have zombies process stacking up despite explicitely closing the browser at the end of the script.

mysteriousHerb commented 4 years ago

Try having autoClose=False for the pyppeteer.launcher.launch() and then explicitly close the browser later. It seems to solve the issue, but there are so many memory leaking etc problem that i need to solve..

test24853 commented 4 years ago

Is there any proper way currently to close the browser as intended by the library?