Skip to content

tmp files consuming lot of disk space #279

@rOY369

Description

@rOY369

I am running botasaurus with chromium with the following settings

        @browser(
            output=None,
            create_error_logs=False,
            headless=True,
            close_on_crash=True,
            block_images=True,
            add_arguments=[
                "--no-sandbox",
                "--allow-insecure-localhost",
                "--disable-web-security",
                "--disable-features=IsolateOrigins,site-per-process",
                "--disable-blink-features=AutomationControlled",
                "--disable-crash-reporter",
                "--disable-breakpad",
            ],
            raise_exception=True,
            user_agent=dynamic_user_agent,
            window_size=WindowSize.RANDOM,
            wait_for_complete_page_load=False,
        )

i am running multiple windows at the same time.

it is saving lot of temp files in this pattern /tmp/snap-private-tmp/snap.chromium/tmp/bota/.....
and with time it is leading to disk space fully consumed.

how can I avoid this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions