Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

4.2. sysctl - configure kernel parameters at runtime

4.2.1. sysctl.d

$ ls /etc/sysctl.d/		
$ cat /etc/sysctl.d/30-postgresql-shm.conf
			

4.2.2. vm.overcommit_memory

內存與交換分區分配相關

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-captun.html

vm.overcommit_memory = 1