Skip to content

Comment on PostgreSQL, Memory and the Cloudparent

Comments

The fork issue is solved by adding swap. Making sure you have plenty of swap solves these issues, and I'd like to argue that it is more reliable than using overcommit.

To be clear: I hate that overcommit exists. I think the whole situation the OOM killer makes zero sense for servers.

Having plenty of swap can help with programs that use a lot of virtual memory. AFAICT, there's no solution for the cgroups issue though.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.