Skip to content

Commit df48ff8

Browse files
committed
Update comment for OOM killer adjustments.
At least on modern debian installations, you still see the adjustment, so it makes sense to keep it: ``` $ cat /etc/debian_version ; echo ; cat /proc/$(pgrep sshd)/oom_score_adj 13.1 -1000 ```
1 parent 720b750 commit df48ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

judge/runguard.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ int main(int argc, char **argv)
12891289

12901290
/* Check if any Linux Out-Of-Memory killer adjustments have to
12911291
* be made. The oom_adj or oom_score_adj is inherited by child
1292-
* processes, and at least older versions of sshd seemed to set
1292+
* processes, and at least some configurations of sshd set
12931293
* it, leading to processes getting a timelimit instead of memory
12941294
* exceeded, when running via SSH. */
12951295
FILE *fp = nullptr;

0 commit comments

Comments
 (0)