3 ms·
The problem with notifications is always "deadlocks". Even without deadlocks it's common to accidentally create a loop that quickly starts using 100% CPU until
by o11c 2y ago
The problem with notifications is always "deadlocks".
Even without deadlocks it's common to accidentally create a loop that quickly starts using 100% CPU until you kill it. This isn't theoretical, e.g. I ran across it after encountering a program that used `bash -l` to run scripts (fundamentally wrong, but not the bug here), when my `~/.bash_login` happened to touch the part of the filesystem it was watching.
- throwaway127482 2y agoThe problems you're describing sound rather niche - I can see how a deadlock or a 100% CPU issue could happen, but the biggest problem in my experience is the resource usage associated with the file watches, at least on Linux.