‘TCP localhost:57318->localhost:34033 (CLOSE_WAIT)’ and ‘Too many open files’
I have a python script which uses selenium for web-scraping on an ubuntu server. I am creating fresh driver object in a while loop in every iteration and quitting it after the use.
The script runs fine for sometime. then it stops creating new driver, with an exception ‘Too many open files’.