Re:Replacing a $3000/mo Heroku bill with a $55/mo server
by CGamesPlay on Wednesday October 22, 2025 @02:10AM
(#45665401)
Specifically, earlyoom’s README says it repeatedly checks (“periodically polls”) the memory pressure, using CPU each time even when there is no change. The “poll” system call waits for the kernel to notify the process that the file has changed, using no CPU until the call resolves. It’s unclear what systemd-oomd does, because it uses the phrase “periodically polls”,
[ Parent
| on HN ]
Re:Replacing a $3000/mo Heroku bill with a $55/mo server
by immibis on Wednesday October 22, 2025 @04:11AM
(#45666160)
The "poll" system call does not wait until a file changes.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server
by CGamesPlay on Wednesday October 22, 2025 @05:20AM
(#45666622)
s/the file has changed/it has published new data to the file descriptor/