Skip to content

memory overcommit var bir de

"16 GB RAM var, 2-3 GB'dan fazla swap ayırma" diye büyütüldük... Uyutulmuşuz:


  /proc/sys/vm/overcommit_memory
              This file contains the kernel virtual  memory  accounting  mode.
              Values are:

                     0: heuristic overcommit (this is the default)
                     1: always overcommit, never check
                     2: always check, never overcommit

              In  mode 0, calls of mmap(2) with MAP_NORESERVE are not checked,
              and the default check is very weak, leading to the risk of  get‐
              ting a process "OOM-killed".  Under Linux 2.4 any non-zero value
              implies mode 1.  In mode 2  (available  since  Linux  2.6),  the
              total  virtual  address  space on the system is limited to (SS +
              RAM*(r/100)), where SS is the size of the swap space, and RAM is
              the  size  of  the physical memory, and r is the contents of the
              file /proc/sys/vm/overcommit_ratio.

       /proc/sys/vm/overcommit_ratio
              See the description of /proc/sys/vm/overcommit_memory.

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

Bora Güngören on :

Yaa ben bir şey biliyorum en az bellek kadar swap açalım, hatta mümkünse farklı diskte açalım derken. :-)

Devrim GÜNDÜZ on :

Valla üstteki günlük girdimi bastırıp astım odama. O derece. Uyumuşum bugüne kadar.

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options