I am suffering from frequent lock-ups of my desktop system (see Memory full, mostly taken by "shared", GUI unresponsive).

Example output of free -m:

              total        used        free      shared  buff/cache   available
Mem:          15943        2583        3176        9063       10183        3574
Swap:             0           0           0

Why are > 9 GB taken by shared? How do I force this to be less?

  • Increase the swappines! – George Udosen Dec 1 '17 at 7:32
  • 1
    swappiness won't help if Swap: 0 0 0. It appears he has no swap set up. – DavidO Dec 1 '17 at 7:35
  • @DavidO why does one setup Ubuntu xenial without swap, OP did you remove your swap or never created one? – George Udosen Dec 1 '17 at 8:37
  • @George you will have to ask the OP why he did that and how. I just made the observation that it appears he has no swap. – DavidO Dec 1 '17 at 14:41
  • @DavidO I agree with you on that just wondering why one who has no experience with Ubuntu will do such a thing rather than follow the standard setup process! – George Udosen Dec 1 '17 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.