title: What is causing Xorg high CPU usage?
body: <p>I am running feh image viewer on Debian and after some hours of normal CPU usage (3% aprox.) , xorg suddenly starts using much more CPU (80% aprox.) and everything runs very slowly. I am not running anything else so the bug should be either on feh or on the xserver...</p>
  
  <p>I am using the command "feh -z -q -D20 -R 1" (-z for random image, -q for quiet, -D20 to change the picture every 20 seconds and -R 1 to refresh the directory every second, as I erase and insert pictures pretty often)</p>
  
  <p>When I use the command "free -m" before the high CPU usage and feh running, I get
                total        used        free      shared  buff/cache   available
  Mem:            923         117         474          19         331         735
  Swap:            99           0          99</p>
  
  <p>And after several hours I get the same for "mem" but the used amount of "swap" is 99.</p>