This bit of code doesn't seem to understand the values for this setting, as described in the documentation for huge_pages the default value of this setting is try, which will use them if available but won't fail to start if they aren't. The recommended value of on will actually prevent the server from starting if there aren't enough pages available!
This should only warn if the value has been explicitly set to off.
https://github.com/jfcoz/postgresqltuner/blob/a12c432b3af908e964b0285de0ccb6431440102c/postgresqltuner.pl#L607-L612
This bit of code doesn't seem to understand the values for this setting, as described in the documentation for
huge_pages
the default value of this setting istry
, which will use them if available but won't fail to start if they aren't. The recommended value ofon
will actually prevent the server from starting if there aren't enough pages available!This should only warn if the value has been explicitly set to
off
.