-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Managing Temporary Files #1083
Comments
So from a quick search around I can see the profile.tar getting generated here: OpenWPM/openwpm/browser_manager.py Lines 114 to 134 in f72e7ca
Which then get used here: OpenWPM/openwpm/deploy_browsers/deploy_firefox.py Lines 64 to 73 in f72e7ca
And never cleaned up. Since the recovery_tar is by definition generated by OpenWPM, it should clean up after the browser has been restored after a crash. Doing an Do you have time to implement this? |
Hi, OpenWPM/openwpm/browser_manager.py Lines 221 to 230 in f72e7ca
I see here that tempdir get's removed, although the variable name looks very unreadable :) OpenWPM/openwpm/browser_manager.py Lines 116 to 121 in f72e7ca
I think the issue would be from the profiling since it get's removed when spawn is successful and by looking more into the logs I realized there are different errors like
or similar errors for other files like
I was wondering when the profile is being dumped, if the previous browser is crashed and closed, right? does it need a few seconds maybe to remove temp files or something like this? i think this should be the issue of "not removed archived profiles" |
Hi,
i'm running large crawls, but as i noticed temp files are not getting removed as sometime passes or crawls move forward
openwpm_profile_archive_{some random number} --> each almost more than 2GB
i was wondering, if i made mistake in my experiments or this feature is not implemented?
Thanks
The text was updated successfully, but these errors were encountered: