Update OOM error regexp for oomd
commit0dadd15f6bf32ad9acdf1be5b04b1ae6fca96d7f
authorWilfred Hughes <wilfred@fb.com>
Thu, 1 Jul 2021 17:22:08 +0000 (1 10:22 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 1 Jul 2021 17:23:33 +0000 (1 10:23 -0700)
tree8d7eccab73704eabcd58238a053a143deb377f1f
parente0ec30002c9a8b978849591eade778fb5287bbf7
Update OOM error regexp for oomd

Summary:
oomd has a slightly different error format to the kernel oom killer, so use a regular expression that accepts both forms.

Ports D28454762 to Hack.

Reviewed By: mroch

Differential Revision: D29474351

fbshipit-source-id: 0500883b503bc181b98b57da298c46d55c1f5012
hphp/hack/src/utils/sys/sys_utils.ml