user data dir is not cleaned and taking more than 100GB!

This issue has been tracked since 2022-08-18.

Describe the bug
Using Selenium WebDriver bindings for PHP
Running Docker and closing the session in my code ($this->driver->close();)

To Reproduce
Run thousands of browser sessions for a full day
Folder /tmp/ will grow and eat the full host storage

Expected behavior
Some why to clean old user data dir that are not used anymore

joelgriffith wrote this answer on 2022-09-01

Happy to accept a PR on this! Cleanup is something we do in a "best-attempt" fashion since it's not something directly under browserless' control (chrome will do what it will).

dgtlmoon wrote this answer on 2022-09-09

Any chance you can do a bit of a du -hc and show us whats in there? is it cache? or ?

joelgriffith wrote this answer on 2022-09-12

closing due to inactivity

More Details About Repo
Owner Name browserless
Repo Name chrome
Full Name browserless/chrome
Language TypeScript
Created Date 2017-11-17
Updated Date 2023-03-22
Star Count 5309
Watcher Count 47
Fork Count 516
Issue Count 29

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date