Skip to content
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

Automatically monitor and stop frozen crawler or warc2zim #479

Open
benoit74 opened this issue Feb 26, 2025 · 0 comments
Open

Automatically monitor and stop frozen crawler or warc2zim #479

benoit74 opened this issue Feb 26, 2025 · 0 comments
Milestone

Comments

@benoit74
Copy link
Collaborator

Since we have the chance in Zimit to have a "monitoring" process, and since current situation but also past ones showed that we regularly have situations where the crawler and/or warc2zim get stucks, should we implement a solution to automatically monitor and stop when such a situation appears?

We can monitor both the disk size (size is expected to continuously grow) and the progress JSON file. Should both show no sign of progress for a given amount of time (let's say 5 mins), the we stop them (kill -9) and fail the crawl.

I still need to confirm that it covers current issue(s) with the crawler by monitor ming production manually (see kiwix/operations#367)

WDYT?

@benoit74 benoit74 added this to the 3.1.0 milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant