I'm using Ubuntu 16.04 with Xfce on an Intel Core 2 Duo 2.53GHz and 4Gb RAM, which I've had for a while and which isn't keeping up with the increasing demands of software updates to Firefox and Xfce etc.
If I leave the computer unused (but on) for any length of time (typically overnight but often shorter) the GUI becomes unresponsive for a couple of minutes but then comes back to life.
I really only use these apps: Firefox, Handbrake, backuppc, terminal.
Since it also covers various other non-GUI functions like backuppc, iptables, bind, dhcp, there may be a lot of unnecessary server-side stuff going on.
This is my freemem output:
adam@gondor:~$ free -m
total used free shared buff/cache available
Mem: 3883 683 909 144 2290 2771
Swap: 4024 186 3837
adam@gondor:~$
Can I diagnose and fix this without adding more hardware, and apart from not using Firefox anymore?
OFF. It seems that functionality might not work for the brand of hard drive - Western Digital to be specific and mine is a Hitachi, although I turned itONand watched the syslog, which showedudisksddoing its stuff without errors or warnings. I have leftStand-by=OFF, but setAPMtoperform better 255 (disabled).1isspin down permitted. It was justOFF– Adam Jun 28 '18 at 19:01iotopto see what thread is using disk I/O? I frequently need to ionice things liketracker-store, andiotoplets you do this interactively. – Nathaniel M. Beaver Jun 29 '18 at 21:08topovernight. When you come back in the morning is it still updating every few seconds? Press theQkey to exittop. Can you immediately type some terminal command such asllor does it pause for a couple of minutes? – WinEunuuchs2Unix Jun 30 '18 at 17:16