You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the script editor if we click on the test button on the right panel then click on cancel button while a puppeteer instance is running the associated chromium process is not kill properly which lead to maximum CPU usage.
To reproduce
Create new script with minimal puppeteer usage:
import'puppeteer-core'importpuppeteerfrom'puppeteer-extra'exportasyncfunctionmain(){constbrowser=awaitpuppeteer.launch({executablePath: '/usr/bin/chromium',headless: true,args: ['--no-sandbox']})constpage=awaitbrowser.newPage()awaitpage.goto('https://www.google.com')// ... do more work hereawaitbrowser.close()}
Click on test on the right panel
Click on cancel on the right panel before the script is done
CPU shoots up and chromium process is not killed
Expected behavior
No chromium process should be left
Screenshots
No response
Browser information
No response
Application version
CE v1.375.0-1-gfbcac1e0a
Additional Context
No response
The text was updated successfully, but these errors were encountered:
It doesn't seem to work with those args, however I just tried adding MAX_WAIT_FOR_SIGINT=1 to the worker container and the child process is killed (#3094 (comment))
Describe the bug
In the script editor if we click on the test button on the right panel then click on cancel button while a puppeteer instance is running the associated chromium process is not kill properly which lead to maximum CPU usage.
To reproduce
Expected behavior
No chromium process should be left
Screenshots
No response
Browser information
No response
Application version
CE v1.375.0-1-gfbcac1e0a
Additional Context
No response
The text was updated successfully, but these errors were encountered: