Memory

From Alessandro's Wiki
Revision as of 09:44, 20 November 2013 by Xunil (talk | contribs)

top10 processes using moemory

ps auxh | sort -r --key=4 | head -5

Overcommit

  • I hade to tune this setting on a high traffic Postgresql server:
vm.overcommit_memory = 2
  • 0 (default): as before: guess about how much overcommitment is reasonable,
  • 1: never refuse any malloc(),
  • 2: be precise about the overcommit