Sporadic re-attempts that initiate new webdriver instances eventually cause performance issues #396
Labels
performance
Performance
question
Further information is requested
WhoScored
Issue or pull request related to the WhoScored scraper
Hi,
I'm not 100% on all of this yet, and further investigation is required, but at least when running multiple concurrent scraping instances, the re-attempts that cause new webdriver instances to be initiated will eventually (most probably) cause some "ghost" instances of google chrome to run on the background and borderline freeze the pc with 100% cpu usage. It might be related to running the code on headless=False, as WhoScore currently requires, or something else entirely. It is probably not related to multiple concurrent processes, but that is where it is very apparent, eventually anyway. Further information coming later when I investigate more, but if anyone else has had these issues, at least there is a note of them now. This might not be a soccerdata issue at all (or only), but I will also try to work out a fix. Fixing the issue manually every so many hours is easy if you just kill the processes, but long scraping sessions end with a near frozen pc for me currently.
The text was updated successfully, but these errors were encountered: