memory errors on startup in postgresql 9.6 log - MAP_HUGETLB failed
Own experience suggests that this is due to PostgreSQL running out-of-memory.

For instance, I ran into this error when attempting to bump max_connections up to a very high value (say, 2000) on a "small" server.