doc:appunti:linux:sa:linux_virtual_memory
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:linux_virtual_memory [2023/12/18 12:06] – [Diagnosi di Out of Memory Killer] niccolo | doc:appunti:linux:sa:linux_virtual_memory [2023/12/18 12:42] (current) – [Come rilasciare la cache] niccolo | ||
|---|---|---|---|
| Line 51: | Line 51: | ||
| ^ Active(file)  | ^ Active(file)  | ||
| + | ===== Come rilasciare la cache ===== | ||
| + | Per rilasciare le **PageCache** si può usare il comando: | ||
| + | |||
| + | < | ||
| + | sync; echo 1 > / | ||
| + | </ | ||
| + | |||
| + | Dovrebbero andare a zero diversi contatori, tra cui quello della **Active** memory. | ||
| + | |||
| + | Il parametro **1** scritto nello pseudofile può assumere valori diversi, a seconda di cosa si voglia rilasciare: | ||
| + | |||
| + | ^ 1  | Clears only the page cache.  | ||
| + | ^ 2  | Clears dentries and inodes.  | ||
| + | ^ 3  | Clears page cache, dentries, and inodes.  | ||
| ===== Web References ===== | ===== Web References ===== | ||
| Line 57: | Line 71: | ||
|   * **[[https:// |   * **[[https:// | ||
|   * **[[https:// |   * **[[https:// | ||
| + |   * **[[https:// | ||
doc/appunti/linux/sa/linux_virtual_memory.1702897618.txt.gz · Last modified:  by niccolo
                
                