memoria cached e usata
Inviato: dom 11 dic 2005, 10:15
La mia Slack dopo qualche giorno di funzionamento riempie la memoria cached fino a consumare quasi tutta la memoria libera.
Dopo aver killato tutti i processi che consumano memoria,
facendo free -m:
total used free shared buffers cached
Mem: 503 449 54 0 83 234
-/+ buffers/cache: 131 371
Swap: 941 0 941
come faccio a liberarla ?
...e questo facendo top con shift+m :
3213 root 11 0 1836 1832 1500 S 0.0 0.4 0:00.33 sshd
3216 root 17 0 1700 1700 1224 S 0.0 0.3 0:00.11 bash
1535 root 9 0 1504 1504 1244 S 0.0 0.3 0:00.93 sshd
3290 root 18 0 1040 1040 836 R 0.4 0.2 0:00.02 top
1548 daemon 9 0 672 672 584 S 0.0 0.1 0:00.00 atd
1546 root 0 0 616 616 532 S 0.0 0.1 0:00.00 crond
60 root 9 0 584 584 508 S 0.0 0.1 0:00.09 syslogd
1531 root 8 0 512 512 460 S 0.0 0.1 0:00.01 inetd
1614 root 9 0 480 480 432 S 0.0 0.1 0:00.02 agetty
1615 root 9 0 480 480 432 S 0.0 0.1 0:00.01 agetty
1616 root 9 0 480 480 432 S 0.0 0.1 0:00.00 agetty
1617 root 9 0 480 480 432 S 0.0 0.1 0:00.00 agetty
1618 root 9 0 480 480 432 S 0.0 0.1 0:00.00 agetty
1621 root 9 0 480 480 432 S 0.0 0.1 0:00.01 agetty
173 root 7 -4 456 456 404 S 0.0 0.1 0:00.04 udevd
63 root 9 0 448 448 396 S 0.0 0.1 0:00.01 klogd
1 root 4 0 244 244 216 S 0.0 0.0 0:06.62 init
2 root 8 0 0 0 0 S 0.0 0.0 0:00.00 keventd
3 root 19 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd_CPU0
4 root 9 0 0 0 0 S 0.0 0.0 0:00.31 kswapd
5 root 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
6 root 9 0 0 0 0 D 0.0 0.0 0:00.36 kupdated
10 root -1 -20 0 0 0 S 0.0 0.0 0:00.00 mdrecoveryd
11 root 9 0 0 0 0 S 0.0 0.0 0:00.12 kreiserfsd
283 root 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd
Considerato che non lancio lo startx, quale processo posso killare per liberare altra memoria ?
Dopo aver killato tutti i processi che consumano memoria,
facendo free -m:
total used free shared buffers cached
Mem: 503 449 54 0 83 234
-/+ buffers/cache: 131 371
Swap: 941 0 941
come faccio a liberarla ?
...e questo facendo top con shift+m :
3213 root 11 0 1836 1832 1500 S 0.0 0.4 0:00.33 sshd
3216 root 17 0 1700 1700 1224 S 0.0 0.3 0:00.11 bash
1535 root 9 0 1504 1504 1244 S 0.0 0.3 0:00.93 sshd
3290 root 18 0 1040 1040 836 R 0.4 0.2 0:00.02 top
1548 daemon 9 0 672 672 584 S 0.0 0.1 0:00.00 atd
1546 root 0 0 616 616 532 S 0.0 0.1 0:00.00 crond
60 root 9 0 584 584 508 S 0.0 0.1 0:00.09 syslogd
1531 root 8 0 512 512 460 S 0.0 0.1 0:00.01 inetd
1614 root 9 0 480 480 432 S 0.0 0.1 0:00.02 agetty
1615 root 9 0 480 480 432 S 0.0 0.1 0:00.01 agetty
1616 root 9 0 480 480 432 S 0.0 0.1 0:00.00 agetty
1617 root 9 0 480 480 432 S 0.0 0.1 0:00.00 agetty
1618 root 9 0 480 480 432 S 0.0 0.1 0:00.00 agetty
1621 root 9 0 480 480 432 S 0.0 0.1 0:00.01 agetty
173 root 7 -4 456 456 404 S 0.0 0.1 0:00.04 udevd
63 root 9 0 448 448 396 S 0.0 0.1 0:00.01 klogd
1 root 4 0 244 244 216 S 0.0 0.0 0:06.62 init
2 root 8 0 0 0 0 S 0.0 0.0 0:00.00 keventd
3 root 19 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd_CPU0
4 root 9 0 0 0 0 S 0.0 0.0 0:00.31 kswapd
5 root 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
6 root 9 0 0 0 0 D 0.0 0.0 0:00.36 kupdated
10 root -1 -20 0 0 0 S 0.0 0.0 0:00.00 mdrecoveryd
11 root 9 0 0 0 0 S 0.0 0.0 0:00.12 kreiserfsd
283 root 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd
Considerato che non lancio lo startx, quale processo posso killare per liberare altra memoria ?