This board is now closed. The Blackhole image ended in 2020. The board will remain available in Read Only Mode, so all the posts from the last 15+ years are not lost. We thank you for being part of the community for the last 15+ years. You can join the OpenBh board if you have not already done so at www.openbh.net.

La memoria si gonfia

pacut

Vu+ User
Ciao.
La RAM dopo un reset parte con un modesto 40 per cento di occupazione ma dopo qualche giorno arriva al 90. Faccio un reboot ed arriva al 98! Cosa può essere e soprattutto come alleggerirla, magari con un comando script? Allego schermata
Grazie
 

Attachments

  • 20140612_073603.jpg
    20140612_073603.jpg
    607.9 KB · Views: 7
Mi rispondo da solo ;)
Googleando con linux ho trovato questi due comandi che applicati hanno dato il risultato atteso della memoria al 40%.

sync
echo 3 | sudo tee /proc/sys/vm/drop_caches
 
E così, vuotando la cache hai ralentato il sistema.
La RAM in Linux e per essere usata, non per rimanere vuota ;).
 
sara'...ma al 98% di RAM il sistema si rallentava troppo. Meglio...tirare lo sciacquone ogni tanto ;)
 
Back
Top