pkar_watch keeps CPU pegged at 100% #48
Labels
No labels
area/api
area/content_model
area/framework
area/infrastructure
area/io
area/presentation
area/preservation
area/rdf
area/security
area/submission
area/ui
p
critical
p
high
p
low
p
medium
s
blocked
s
done
s
progress
s
testing
s
wontfix
t
bug
t
documentation
t
enhancement
t
feature
t
test
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
scossu/pocket_archive#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While
pkar_watchis running, one CPU core is constantly at 99-100% usage. Something is likely wrong with how the inotify event loop is being handled.Fixed by
e2e85af053.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