Zombie processes on windows and linux
Author: reyfaraonCreated Apr 22, 2023Updated Sep 8, 2026
Labelsquestion
Rod Version: 0.112.8
The chrome process does not close correctly even using browser.Close(), page.Close() and launcher.Kill(), every time I open a new browser and a new page approximately 6 to 7 chrome processes are opened and when I call browser. Close() the browser is closed but 5 zombie processes remain, I have noticed that rod does not leave zombie processes thanks to leakless but that only works when the binary stops running, but in my almost I have a REST API which upon receiving a request calls a function that does scrapping using rod and when that function ends the program continues to run because I need to receive requests from the api and therefore the zombie processes are not closed properly.
Source: go-rod/rod