
Add a Worker configuration option to configure the Linux out-of-memory behaviour. Add `oom_score_adjust=500` to `flamenco-worker.yaml` to increase the chance that Blender gets killed when the machine runs out of memory, instead of Flamenco Worker itself.
20 lines
263 B
Go
20 lines
263 B
Go
//go:build !linux
|
|
|
|
package oomscore
|
|
|
|
const (
|
|
available = false
|
|
)
|
|
|
|
func getOOMScore() (int, error) {
|
|
return 0, ErrNotImplemented
|
|
}
|
|
|
|
func getOOMScoreAdj() (int, error) {
|
|
return 0, ErrNotImplemented
|
|
}
|
|
|
|
func setOOMScoreAdj(int) error {
|
|
return ErrNotImplemented
|
|
}
|