pkar_watch keeps CPU pegged at 100% #48

Closed
opened 2026-03-04 22:04:39 +00:00 by scossu · 2 comments
Owner

While pkar_watch is running, one CPU core is constantly at 99-100% usage. Something is likely wrong with how the inotify event loop is being handled.

While `pkar_watch` is running, one CPU core is constantly at 99-100% usage. Something is likely wrong with how the inotify event loop is being handled.
scossu added this to the v1.0.0 RC milestone 2026-03-04 22:04:39 +00:00
Author
Owner

Fixed by e2e85af053.

Fixed by e2e85af053.
Author
Owner

For now setting the event loop to blocking remediates the problem, and non-blocking I/O may not be necessary anyway because the heavy lifting is forked off, but I have filed an issue with the linotify developer: https://github.com/hoelzro/linotify/issues/22

For now setting the event loop to blocking remediates the problem, and non-blocking I/O may not be necessary anyway because the heavy lifting is forked off, but I have filed an issue with the linotify developer: https://github.com/hoelzro/linotify/issues/22
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
scossu/pocket_archive#48
No description provided.