Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mxqd: killall_over_memory: use sum_rss_anon
  • Loading branch information
donald committed Apr 2, 2022
1 parent f593d69 commit 2e95600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxqd.c
Expand Up @@ -1909,7 +1909,7 @@ static int killall_over_memory(struct ppidcache *ppidcache, struct mxq_server *s
continue;
}

memory = pinfo->sum_rss * pagesize / 1024;
memory = pinfo->sum_rss_anon / 1024;

if (jlist->max_sumrss < memory)
jlist->max_sumrss = memory;
Expand Down

0 comments on commit 2e95600

Please sign in to comment.