My swap gets cluttered up untill I can't hibernate anymore

Hey, usually my setup works really well. Hibernation and so on works mostly pretty smooth. But for some reason my swap gets filled up for no apparent reason when my laptop has longer uptimes (like several days).

So, that's my system:

➜  ~ inxi -F        
System:
  Host: tBook Kernel: 4.19.36-1-MANJARO x86_64 bits: 64 
  Desktop: KDE Plasma ERR-101 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Apple product: MacBookPro10,2 v: 1.0 
  serial: <root required> 
  Mobo: Apple model: Mac-AFD8A9D944EA4843 v: MacBookPro10,2 
  serial: <root required> UEFI: Apple v: 274.0.0.0.0 
  date: 09/17/2018 
Battery:
  ID-1: BAT0 charge: 31.1 Wh condition: 68.2/73.9 Wh (92%) 
CPU:
  Topology: Dual Core model: Intel Core i5-3210M bits: 64 
  type: MT MCP L2 cache: 3072 KiB 
  Speed: 1197 MHz min/max: 1200/3100 MHz Core speeds (MHz): 
  1: 1197 2: 1197 3: 1197 4: 1197 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 
  v: kernel 
  Display: x11 server: X.Org 1.20.4 driver: intel 
  resolution: 1680x1050~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile 
  v: 4.2 Mesa 19.0.3 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio 
  driver: snd_hda_intel 
  Sound Server: ALSA v: k4.19.36-1-MANJARO 
Network:
  Device-1: Broadcom and subsidiaries NetXtreme BCM57786 Gigabit 
  Ethernet PCIe 
  driver: N/A 
  Device-2: Broadcom and subsidiaries BCM4331 802.11a/b/g/n 
  driver: bcma-pci-bridge 
  IF-ID-1: wlp3s0b1 state: up mac: 20:c9:d0:7b:39:41 
Drives:
  Local Storage: total: 113.00 GiB used: 65.82 GiB (58.2%) 
  ID-1: /dev/sda vendor: Apple model: SSD SM128E size: 113.00 GiB 
Partition:
  ID-1: / size: 101.77 GiB used: 62.08 GiB (61.0%) fs: ext4 
  dev: /dev/sda2 
  ID-2: swap-1 size: 8.80 GiB used: 3.74 GiB (42.5%) fs: swap 
  dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 65.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 247 Uptime: 2d 2h 04m Memory: 7.67 GiB 
  used: 3.83 GiB (50.0%) Shell: zsh inxi: 3.0.33 

So I informed myself about swappiness (https://wiki.archlinux.org/index.php/Swap#Swappiness) and put it first to 10 (did not help) and finally to 0. That means my swap should not be used at all by the system. But still it got filled up again half full and it will surely prevent my hibernation again with the error notification of my Power Manager : 'GDBus.Error:org.freedesktop.login1.SleepVerbNotSupported: Not enogh swap sapce for hibernation'

I'll appreciate any help! - Till

I wrote a systemd service that clears a lot of clutter before going into suspend. You may find it helpful.

The only lines you would really need are:

swapoff -a 
swapon -a
2 Likes

you may also try to lower swappiness
if you dont want to use swap much.
or increase the swap size.to 2x ram or 1.5x ram.

1 Like

Thanks guys!
@Librewish I already put the swapiness down to 0. ➜ ~ cat /proc/sys/vm/swappiness 0 Thats the odd thing.

I would love to increase my swap to 2x ram size. Is this a difficult thing to do? I was not sure if you only could do it when reinstalling the hole system.

@tbg sudo swapoff -a actually takes quite some time (like several minutes when the swap is full), but I still can try it out. :slight_smile:

what you have to do is shrink you partition adjacent to swap and delete the swap partition then
create a new swap partition which is bigger.

after doing this edit /etc/fstab
also edit /etc/default/grub and add the new uuid infront of resume=

you can get uuid using blkid

1 Like

I think we should go back to square one and investigate why the Macbook is using so much swap before discussing workarounds.

The data you show is really weird. Only 50 % of your RAM is used and you already have 50 % of your swap used as well. That should not be.

You could use commands like top / htop / glances to see which applications actually consume the RAM. Please share that info.

And what is your current swapiness: cat /sys/fs/cgroup/memory/memory.swappiness

And how is your use case working anyways? You leave the Macbook running for days before you hibernate the first time and that fails? Or did you do some successful hibernations before that already? If so, what is the swap consumption after the Macbook returns from a successful hibernation event?

3 Likes

You are correct of course @mbod, I just love a good systemd service so I can't help myself.

The first thing to try is alternate kernels IMO.

2 Likes

Ok, sounds like a plan. :+1:

My top looks normal, I have like 12% usage of Chrome and another 8% of Pycharm and a lot of smaller stuff.

➜ ~ cat /sys/fs/cgroup/memory/memory.swappiness 0

Yes usually I hibernate my laptop serveral times a day and it works just fine. Its just around the fifth day that I ran into the hibernation-error.
Right now I tested what happens when I hibernate: So the swap definitively spiked. Before hibernation it was at 3GiB and now it counts 3.7GiB.

And @tbg: I tried the linux50-kernel and oddly enough hibernation did not work at all with it. So I switched back.

I would test the LTS kernel 4.14.

If that kernel doesn't work, try one of the newest real time kernels.

1 Like

So just to make sure I understood it the right way, such that I can immediately tell if another kernel fixes the problem:

Swap space is only used in two occasions: 1. For hibernation and 2. while running and the RAM gets full the system can put its memory data there.
So while my RAM's capacity is not fully used, my swap should stay empty?

And after hibernation the RAM should be just as full as before hibernation? (I tested it again 2 times and it seems that my swap gets more cluttered after every hibernation)

That is not necessarily true. It depends how your system is setup. Swap may be used before you exhaust your RAM on many setups.

Because I have been using my cleaning service so long I can't remember if swap usage ever grew after a suspend. I wouldn't think it should do that.

1 Like

For me it just drops back to normal but this is a MAC book your talking about and using 0 setting for swap could actually do more harm than good.

1 Like

Hey guys :slight_smile:, I tried the things you recommended me out over the last week. namely I tried the 4.19.36-1 kernel and I tried to use the script @tbg recommended me.
The kernel did not make any difference. Still the same behaviour, the ram gets clogged and until I can't save my memory there anymore.
The script did not help too much neither. I am not exactly sure what it did. I added sudo to swapoff -a and swapon -a because the status of the service was about some missing rights. But I think I could not change the status message, which is right now:

● clean-n-sleep.service - Clean-n-sleep
   Loaded: loaded (/etc/systemd/system/clean-n-sleep.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-05-27 23:08:48 CEST; 16h ago
  Process: 15163 ExecStart=/usr/local/sbin/clean-n-sleep.sh (code=exited, status=203/EXEC)
 Main PID: 15163 (code=exited, status=203/EXEC)

Mai 27 23:08:48 tBook systemd[1]: Started Clean-n-sleep.
Mai 27 23:08:48 tBook systemd[15163]: clean-n-sleep.service: Failed to execute command: Permission denied
Mai 27 23:08:48 tBook systemd[15163]: clean-n-sleep.service: Failed at step EXEC spawning /usr/local/sbin/clean-n-sleep.sh: Permission denied
Mai 27 23:08:48 tBook systemd[1]: clean-n-sleep.service: Main process exited, code=exited, status=203/EXEC
Mai 27 23:08:48 tBook systemd[1]: clean-n-sleep.service: Failed with result 'exit-code'.

Yeah I really wonder whats going on :neutral_face:. I am hoping we can still find a solution.

see increase the swap size
i also do note that my system also swaps much after its uptime is more.
but its not constant

1 Like

You can't add sudo to a script called by systemd. The service runs as root by default unless you specifically set it to run as user.

EDIT: you need to post the script so we see if we can help. Anyway, I don't think a script turning swap off and on is a proper solution. You need to understand what's going on. You need to run top, htop or another monitoring tool, listing processes by RAM usage and see what's using your RAM. I have always used hibernation and never had such problems. When I resume, sometimes some swap keeps being used (especially if it was used before hibernating), but we're talking about a few MBs.

1 Like

@Librewish I might come back to that!
@mbb, thanks for jumping in! My ram usage looks totally normal, when I look at htop or sth, that does not seem to be the issue. But the swap (which I can only monitor the size of) I cannot really find out what kind of data is filling it up.

These are the scripts:

#!/bin/bash
#script location /usr/local/sbin/clean-n-sleep.sh
#/etc/systemd/system/clean-n-sleep.service
#sudo systemctl enable clean-n-sleep.service
#sudo systemctl start clean-n-sleep.service
#sudo systemctl status clean-n-sleep.service
# sudo -u htpc /usr/bin/trash-empty
# rm -rf /home/htpc/.cache/opera/Cache
# mkdir -p /home/htpc/.cache/opera/Cache 
# rm -rf /home/htpc/.cache/falkon/default/Cache
# sudo -u htpc mkdir -p /home/htpc/.cache/falkon/default/Cache 
# rm -rf /home/htpc/.cache/mozilla/firefox/e5wafpz7.default/cache2/entries
# sudo -u htpc mkdir -p /home/htpc/.cache/mozilla/firefox/e5wafpz7.default/cache2/entries
# rm -rf /home/htpc/.cache/thumbnails/large
# sudo -u htpc mkdir -p /home/htpc/.cache/thumbnails/large 
# rm -rf /home/htpc/.cache/thumbnails/normal
# sudo -u htpc mkdir -p /home/htpc/.cache/thumbnails/normal 
# sync; echo 3 > /proc/sys/vm/drop_caches 
swapoff -a 
swapon -a
exit
#script location /usr/local/sbin/clean-n-sleep.sh
#service location /etc/systemd/system/clean-n-sleep.service
#sudo systemctl enable clean-n-sleep.service
#sudo systemctl start clean-n-sleep.service
[Unit]
Description=Clean-n-sleep
Before=sleep.target

[Service]
Type=simple
ExecStart=/usr/local/sbin/clean-n-sleep.sh

[Install]
WantedBy=sleep.target

As you can see I removed the sudo in front of the swap-commands. But I still get this on sudo systemctl status clean-n-sleep.service:

● clean-n-sleep.service - Clean-n-sleep
   Loaded: loaded (/etc/systemd/system/clean-n-sleep.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-05-28 23:52:20 CEST; 5min ago
  Process: 6246 ExecStart=/usr/local/sbin/clean-n-sleep.sh (code=exited, status=203/EXEC)
 Main PID: 6246 (code=exited, status=203/EXEC)

Mai 28 23:52:20 tBook systemd[1]: Started Clean-n-sleep.
Mai 28 23:52:20 tBook systemd[6246]: clean-n-sleep.service: Failed to execute command: Permission denied
Mai 28 23:52:20 tBook systemd[6246]: clean-n-sleep.service: Failed at step EXEC spawning /usr/local/sbin/clean-n-sleep.sh: Permission denied
Mai 28 23:52:20 tBook systemd[1]: clean-n-sleep.service: Main process exited, code=exited, status=203/EXEC
Mai 28 23:52:20 tBook systemd[1]: clean-n-sleep.service: Failed with result 'exit-code'.

Try /usr/bin/sh "/usr/local/sbin/clean-n-sleep.sh"

I find it very strange the swap fills up without you seeing it on RAM usage from some process. When you get a high amount of used swap with also a high amount of free RAM, please post the output of ps aux --sort -%mem

Also, this happens only upon hibernate/resume cycles or also if you just leave it running?

1 Like

It only runs with sudo and as expected it performs swapoff.

It is only getting cluttered after hibernating. I just hibernated and my swap before was at 3.7 G and after had 4.7 G. After that the swap slowly decreased for a minute to 4.5G again..

This is a typical scenario: I might still be able to hibernate though, but its really close (because ram + swap need to be smaller than 8.8G):

  1  [||||||||                                                                                  7.1%]   Tasks: 149, 832 thr; 1 running
  2  [||||||                                                                                    5.3%]   Load average: 0.25 1.20 1.40 
  3  [||||||||                                                                                  7.1%]   Uptime: 3 days, 23:30:58
  4  [||||||||                                                                                  7.7%]
  Mem[||||||||||||||||||||||||||||||||||||||||||||||||||||||                             3.23G/7.67G]
  Swp[|||||||||||||||||||||||||||||||||||||||||||||||||                                  4.55G/8.80G]

(from htop)

~  ps aux --sort -%mem
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
tbrodbe+ 12539 30.4  7.2 4488236 583468 ?      Sl   11:18   2:19 /usr/lib/jvm/java-8-openjdk//bin/java -classpath /usr/share/pycharm/lib/bootstrap.jar:/usr/share/pycharm/lib/extensions.jar:/usr/share/pycharm/lib/util.jar:/usr/share/pycharm/lib/jdom.jar:/usr/share/pycharm/lib/log4j.jar:/usr/share/pycharm/lib/trove4j.jar:/usr/share/pycharm/lib/jna.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=on -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/tbrodbeck/java_error_in_PYCHARM_%p.log -XX:HeapDumpPath=/home/tbrodbeck/java_error_in_PYCHARM.hprof -Didea.paths.selector=PyCharmCE2018.3 -Djb.vmOptionsFile=/usr/share/pycharm/bin/pycharm64.vmoptions -Didea.platform.prefix=PyCharmCore com.intellij.idea.Main
tbrodbe+  1625  0.0  5.4 1194992 440976 ?      Sl   Mai25   3:02 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=10403728141504847204 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=10403728141504847204 --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1342  1.5  2.6 1703388 209784 ?      Sl   Mai25  86:40 /opt/google/chrome/chrome
tbrodbe+  9110  6.0  2.0 709372 168096 ?       Sl   11:02   1:25 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=15033231711337447064 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=15033231711337447064 --renderer-client-id=2638 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1397  2.8  1.6 592904 134140 ?       Sl   Mai25 166:02 /opt/google/chrome/chrome --type=gpu-process --field-trial-handle=9694369615672753284,4939583565680762027,131072 --gpu-preferences=KAAAAAAAAACAAAAAAQAAAAAAAAAAAGAAAAAAAAEAAAAIAAAAAAAAAAgAAAAAAAAA --service-request-channel-token=314236671067304247
tbrodbe+ 17918  0.2  1.4 1283400 117404 ?      Sl   Mai28   3:17 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=1118622570651049461 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=1118622570651049461 --renderer-client-id=2047 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  6767  0.2  1.4 690972 114984 ?       Sl   Mai28   2:49 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=14847564301197136744 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=14847564301197136744 --renderer-client-id=2476 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  5574  0.0  1.3 643532 111364 ?       Sl   Mai28   0:05 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=5541460320494493753 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=5541460320494493753 --renderer-client-id=2613 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 29473  1.5  1.2 833880 100728 ?       Sl   Mai27  35:08 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=10286538956722341047 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=10286538956722341047 --renderer-client-id=1968 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  4793  0.0  1.2 653636 100528 ?       Sl   Mai28   0:15 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=2933042126106257170 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=2933042126106257170 --renderer-client-id=2353 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  7196  0.0  1.2 1736816 99316 ?       Sl   Mai28   0:35 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=1152824533803782398 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=1152824533803782398 --renderer-client-id=2485 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1863  0.0  1.2 810356 99016 ?        Sl   Mai25   3:24 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=3932290606151202176 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=3932290606151202176 --renderer-client-id=15 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  2935  0.0  1.0 626392 88384 ?        Sl   Mai25   0:12 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=5657843419761805772 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=5657843419761805772 --renderer-client-id=29 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  2969  0.2  1.0 631632 84408 ?        Sl   Mai25  17:05 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=2308318271894817556 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=2308318271894817556 --renderer-client-id=31 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  4773  0.1  1.0 669932 83904 ?        Sl   Mai28   1:21 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=14991563429964582418 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=14991563429964582418 --renderer-client-id=2352 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  2990  0.0  1.0 623952 82052 ?        Sl   Mai25   0:38 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=11859463967695746726 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=11859463967695746726 --renderer-client-id=30 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 21703  0.1  0.9 948512 75464 pts/2    Sl+  Mai28   2:19 /usr/lib/libreoffice/program/soffice.bin /home/tbrodbeck/Documents/informed_mlp_sg/model/scripts/tset.csv --splash-pipe=5
tbrodbe+ 12885  1.4  0.7 290000 58436 ?        Sl   11:18   0:06 /home/tbrodbeck/Documents/informed_mlp_sg/model/venv/bin/python3.5 /usr/share/pycharm/helpers/pydev/pydevconsole.py --mode=client --port=32827
tbrodbe+  6926  0.1  0.6 582564 54592 ?        Sl   Mai27   4:45 emacs
tbrodbe+  5515  0.2  0.6 2962772 54460 ?       Sl   Mai28   3:00 /opt/spotify/spotify
tbrodbe+  5553  0.2  0.6 1580680 53960 ?       Sl   Mai28   3:21 /opt/spotify/spotify --type=renderer --no-sandbox --disable-features=ExtendedMouseButtons --service-pipe-token=16239772446890015945 --lang=en-US --log-file=/opt/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.98.78 --disable-spell-checking --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=16239772446890015945 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 15798  0.0  0.6 981384 52984 ?        Sl   Mai28   0:29 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=10802826460978985599 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=10802826460978985599 --renderer-client-id=2428 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1815  0.1  0.6 691080 52308 ?        Sl   Mai25   7:53 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=2783091673094964707 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=2783091673094964707 --renderer-client-id=13 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1261  0.1  0.6 3085764 51500 ?       Sl   Mai25   7:31 /home/tbrodbeck/.dropbox-dist/dropbox-lnx.x86_64-73.4.118/dropbox /newerversion start
tbrodbe+  1065  0.5  0.6 2082436 48492 ?       Sl   Mai25  29:10 telegram-desktop -startintray
root       739  1.8  0.5 720232 44452 tty7     Ssl+ Mai25 106:31 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
tbrodbe+  1401  0.3  0.5 404876 43972 ?        Sl   Mai25  18:57 /opt/google/chrome/chrome --type=utility --field-trial-handle=9694369615672753284,4939583565680762027,131072 --lang=en-US --service-sandbox-type=network --service-request-channel-token=4227184149092971467 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  8811  0.1  0.5 575536 42076 ?        Sl   10:59   0:01 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=14100548390411712811 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=14100548390411712811 --renderer-client-id=2631 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1713  0.0  0.4 592712 37028 ?        Sl   Mai25   0:25 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=16531793852812111826 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=16531793852812111826 --renderer-client-id=7 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  2041  0.0  0.4 503316 33572 ?        Ssl  Mai25   2:32 /usr/lib/gnome-terminal-server
root       259  0.0  0.3  87220 31864 ?        Ss   Mai25   0:29 /usr/lib/systemd/systemd-journald
tbrodbe+  1695  0.1  0.3 631100 31024 ?        Sl   Mai25   7:39 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=13870908495450912313 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=13870908495450912313 --renderer-client-id=6 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  5533  0.1  0.3 833368 28600 ?        Sl   Mai28   2:08 /opt/spotify/spotify --type=gpu-process --disable-features=ExtendedMouseButtons --no-sandbox --log-file=/opt/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.98.78 --lang=en --gpu-preferences=KAAAAAAAAACAAABAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --log-file=/opt/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.98.78 --lang=en --service-request-channel-token=13838341308995441390
tbrodbe+ 13096  0.0  0.3 932152 27948 ?        Sl   Mai28   0:41 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=3406022201518126050 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=3406022201518126050 --renderer-client-id=2410 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 28103  0.8  0.3 3307960 27928 ?       Sl   Mai28   9:43 goldendict
tbrodbe+  1808  0.0  0.3 557236 25356 ?        Sl   Mai25   0:18 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=16277466219749289185 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=16277466219749289185 --renderer-client-id=12 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1774  0.0  0.3 554328 24628 ?        Sl   Mai25   0:54 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=8254975410475026269 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=8254975410475026269 --renderer-client-id=10 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
root     12331  0.1  0.2 430012 20048 ?        Ssl  11:16   0:00 /usr/bin/NetworkManager --no-daemon
tbrodbe+ 11530  0.0  0.2 635052 17988 ?        Sl   Mai26   3:41 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=17292655827250398551 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=17292655827250398551 --renderer-client-id=651 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 16925  0.0  0.2 700856 17528 ?        Sl   Mai26   0:34 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=1546618228212632115 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=1546618228212632115 --renderer-client-id=1145 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1043  0.0  0.2 568988 17144 ?        Sl   Mai25   0:27 nm-applet
tbrodbe+  1526  0.0  0.2 589876 16732 ?        Sl   Mai25   0:10 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=13003085948898678992 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=13003085948898678992 --renderer-client-id=4 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1838  0.0  0.1 550068 15964 ?        Sl   Mai25   0:05 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=17116239840496482726 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=17116239840496482726 --renderer-client-id=14 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  4570  0.0  0.1 335484 15672 ?        Sl   Mai28   0:59 /home/tbrodbeck/Documents/informed_mlp_sg/model/venv/bin/python3.5 /home/tbrodbeck/Documents/informed_mlp_sg/model/venv/bin/jupyter-notebook --no-browser
tbrodbe+ 16691  0.0  0.1 739980 15048 ?        Sl   Mai26   1:01 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=8088660147645436451 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=8088660147645436451 --renderer-client-id=1131 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 17840  0.0  0.1 596092 14928 ?        Sl   Mai28   0:15 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=17243521759947562248 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=17243521759947562248 --renderer-client-id=2045 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 17870  0.0  0.1 596836 14780 ?        Sl   Mai26   0:32 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=7890193329943303345 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=7890193329943303345 --renderer-client-id=1185 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1760  0.0  0.1 564544 14352 ?        Sl   Mai25   0:07 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=13826032118322444198 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=13826032118322444198 --renderer-client-id=9 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1077  0.0  0.1 263572 12564 ?        Ssl  Mai25   1:25 xfce4-power-manager
tbrodbe+ 11057  0.0  0.1  17952 10396 ?        S    11:10   0:00 python /home/tbrodbeck/Templates/i3scripts/autoname_workspaces.py
tbrodbe+ 13167  0.1  0.1 2340152 10172 ?       Sl   Mai26   4:13 python2 /usr/bin/calibre-parallel
root     12186  0.1  0.1  12632 10000 ?        S<Ls 11:16   0:00 /usr/bin/atop -R -w /var/log/atop/atop_20190529 600
tbrodbe+ 17489  0.0  0.1 561180  8840 ?        Sl   Mai26   0:02 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=11471358629671251911 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=11471358629671251911 --renderer-client-id=1169 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
polkitd    584  0.0  0.0 1983296 7816 ?        Ssl  Mai25   0:13 /usr/lib/polkit-1/polkitd --no-debug
tbrodbe+  1202  0.0  0.0 371720  7808 ?        Ssl  Mai25   0:36 /usr/bin/dunst
tbrodbe+ 10371  0.0  0.0  15312  7680 ?        S    11:08   0:00 python /home/tbrodbeck/Templates/5_sec_checker.py
tbrodbe+  1071  0.0  0.0 437932  7556 ?        Sl   Mai25   0:04 /usr/bin/python /usr/bin/emoji-keyboard
tbrodbe+  7850  0.0  0.0 632912  7252 ?        Sl   Mai26   0:48 okular -- /home/tbrodbeck/Dropbox/resources/Deep Learning.pdf
tbrodbe+  1058  0.0  0.0 131696  6980 ?        Sl   Mai25   2:17 /usr/bin/ruby /usr/bin/fusuma
tbrodbe+ 10580  0.0  0.0 787048  6600 ?        Sl   Mai28   0:07 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=8668773519226351107 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=8668773519226351107 --renderer-client-id=2400 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1746  0.0  0.0 547744  6500 ?        Sl   Mai25   0:03 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=5467733647453901618 --lang=en-US --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=5467733647453901618 --renderer-client-id=8 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1037  0.0  0.0 212540  6008 ?        Sl   Mai25   0:03 volumeicon
tbrodbe+  6943  0.0  0.0 572068  5940 ?        Sl   Mai28   0:09 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=1208089774774632568 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=1208089774774632568 --renderer-client-id=2148 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  2248  0.0  0.0 567448  5876 ?        Sl   Mai25   0:02 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=9934808873718259055 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=9934808873718259055 --renderer-client-id=648 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  2378  0.0  0.0 782112  5860 ?        Sl   Mai25   0:27 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=3620634573982774942 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=3620634573982774942 --renderer-client-id=650 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
root         1  0.0  0.0 197920  5776 ?        Ss   Mai25   0:07 /sbin/init
root       957  0.0  0.0 262960  5696 ?        Ssl  Mai25   1:14 /usr/lib/upowerd
tbrodbe+  2399  0.0  0.0 788760  5640 ?        Sl   Mai25   0:36 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=11976947489940724199 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=11976947489940724199 --renderer-client-id=652 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 31260  0.0  0.0  49912  5492 pts/2    S+   Mai26   1:39 /usr/bin/python -O /usr/bin/ranger
tbrodbe+  1027  0.0  0.0  48648  5328 ?        Ss   Mai25   0:29 i3 -a --restart /run/user/1000/i3/restart-state.1027
tbrodbe+  9126  0.0  0.0 498000  5088 ?        Sl   11:02   0:00 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=3854917465759107533 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=3854917465759107533 --renderer-client-id=2639 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  4352  0.0  0.0  12164  5032 pts/7    Ss   Mai28   0:06 zsh
root       793  0.0  0.0  16700  4784 ?        Ss   Mai25   0:02 /usr/bin/wpa_supplicant -u
tbrodbe+ 11059  0.1  0.0  33340  4772 ?        S    11:10   0:01 i3bar --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-socket.1027
root      3339  0.0  0.0 406776  4716 ?        Ssl  Mai25   0:09 /usr/lib/udisks2/udisksd
tbrodbe+ 11297  0.0  0.0 567492  4628 ?        Sl   Mai26   0:02 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=2574596377525638902 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=2574596377525638902 --renderer-client-id=1037 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+ 28016  0.0  0.0 598428  4220 ?        Sl   Mai28   0:15 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=13914621816748965841 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=13914621816748965841 --renderer-client-id=2266 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  1050  0.0  0.0 391284  4172 ?        Sl   Mai25   4:22 clipit
tbrodbe+  1039  0.0  0.0 326252  3984 ?        Sl   Mai25   0:01 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
root       556  0.0  0.0 318460  3860 ?        Ssl  Mai25   0:00 /usr/bin/ModemManager
tbrodbe+ 13221  0.0  0.0  13488  3676 pts/7    R+   11:25   0:00 ps aux --sort -%mem
tbrodbe+  1367  0.0  0.0 268876  3632 ?        S    Mai25   0:04 /opt/google/chrome/chrome --type=zygote
tbrodbe+ 12487  0.0  0.0   7444  3492 ?        S    11:18   0:00 /bin/sh /usr/share/pycharm/bin/pycharm.sh
dbus       550  0.0  0.0  12836  3292 ?        Ss   Mai25   1:17 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
tbrodbe+  9390  2.2  0.0  13668  3240 pts/6    S+   11:02   0:30 htop
tbrodbe+  2363  0.0  0.0 575064  2868 ?        Sl   Mai25   0:04 /opt/google/chrome/chrome --type=renderer --field-trial-handle=9694369615672753284,4939583565680762027,131072 --service-pipe-token=10785150621795466083 --lang=en-US --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=10785150621795466083 --renderer-client-id=649 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
tbrodbe+  3336  0.0  0.0 280980  2804 ?        Ssl  Mai25   0:01 /usr/lib/gvfs-udisks2-volume-monitor
root       274  0.0  0.0  41576  2768 ?        Ss   Mai25   0:03 /usr/lib/systemd/systemd-udevd
tbrodbe+ 12601  0.0  0.0   7680  2572 ?        S    11:18   0:00 /usr/share/pycharm/bin/fsnotifier64
root       558  0.0  0.0  27856  2332 ?        Ss   Mai25   0:04 /usr/lib/systemd/systemd-logind
tbrodbe+  1092  0.0  0.0 220156  1784 ?        Ssl  Mai25   0:01 xfce4-power-manager
tbrodbe+  1136  0.0  0.0  11380  1784 ?        S    Mai25   2:09 libinput-debug-events
tbrodbe+  1015  0.0  0.0  33536  1664 ?        Ss   Mai25   0:00 /usr/lib/systemd/systemd --user
root       594  0.0  0.0 310920  1524 ?        SLsl Mai25   0:00 /usr/bin/lightdm
avahi      559  0.0  0.0  10780  1500 ?        Ss   Mai25   0:19 avahi-daemon: running [tBook.local]
root       729  0.0  0.0  12296  1500 ?        Ss   Mai25   0:00 /usr/lib/bluetooth/bluetoothd
tbrodbe+ 13222  0.0  0.0   8756  1356 pts/7    S+   11:25   0:00 xclip
tbrodbe+  1034  0.0  0.0  11824  1240 ?        Ss   Mai25   0:02 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
tbrodbe+  1173  0.7  0.0 611904  1196 ?        Sl   Mai25  43:13 conky -c /usr/share/conky/conky_maia
tbrodbe+  1196  0.0  0.0 163824  1108 ?        Sl   Mai25   0:15 /usr/lib/at-spi2-registryd --use-gnome-session
tbrodbe+ 13526  0.0  0.0  29780   944 ?        S    Mai25   0:01 urxvtd -q -o -f
tbrodbe+ 11075  0.0  0.0  32604   860 ?        S    11:10   0:00 i3status
tbrodbe+  1165  0.0  0.0  95588   664 ?        S    Mai25   4:11 conky -c /usr/share/conky/conky1.10_shortcuts_maia
tbrodbe+  1054  0.0  0.0   3956   432 ?        S    Mai25   0:35 xautolock -time 1000 -locker blurlock
tbrodbe+  1194  0.0  0.0  10560   396 ?        S    Mai25   0:02 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
tbrodbe+  1099  0.0  0.0  20004   332 ?        S    Mai25   0:00 /usr/lib/gconfd-2
tbrodbe+  1118  0.0  0.0  40964   316 ?        S    Mai25   0:00 xbindkeys
tbrodbe+  3394  0.0  0.0 315524   276 ?        Sl   Mai25   0:04 /usr/lib/gvfsd-dnssd --spawner :1.5 /org/gtk/gvfs/exec_spaw/3
root       549  0.0  0.0   8788   132 ?        Ss   Mai25   0:00 /usr/bin/crond -n
root       742  0.0  0.0 239264   128 ?        Ssl  Mai25   0:05 /usr/lib/accounts-daemon
tbrodbe+  3363  0.0  0.0 312512    76 ?        Sl   Mai25   0:00 /usr/lib/gvfsd-trash --spawner :1.5 /org/gtk/gvfs/exec_spaw/0
root       265  0.0  0.0  78032     8 ?        Ss   Mai25   0:00 /usr/bin/lvmetad -f
tbrodbe+  1016  0.0  0.0  83600     8 ?        S    Mai25   0:00 (sd-pam)
tbrodbe+  1198  0.0  0.0  18352     8 ?        S    Mai25   0:00 /usr/lib/xfce4/xfconf/xfconfd
tbrodbe+  7849  0.0  0.0   7444     8 ?        S    Mai26   0:00 /bin/sh -c set -- '/home/tbrodbeck/Dropbox/resources/Deep Learning.pdf'; okular -- "$@"
avahi      582  0.0  0.0  10532     4 ?        S    Mai25   0:00 avahi-daemon: chroot helper
tbrodbe+ 23052  0.0  0.0  11524     4 pts/0    Ss+  Mai27   0:00 zsh
root         2  0.0  0.0      0     0 ?        S    Mai25   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        I<   Mai25   0:00 [rcu_gp]
root         4  0.0  0.0      0     0 ?        I<   Mai25   0:00 [rcu_par_gp]
root         6  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kworker/0:0H-kblockd]
root         8  0.0  0.0      0     0 ?        I<   Mai25   0:00 [mm_percpu_wq]
root         9  0.0  0.0      0     0 ?        S    Mai25   0:20 [ksoftirqd/0]
root        10  0.0  0.0      0     0 ?        I    Mai25   1:55 [rcu_preempt]
root        11  0.0  0.0      0     0 ?        I    Mai25   0:00 [rcu_sched]
root        12  0.0  0.0      0     0 ?        I    Mai25   0:00 [rcu_bh]
root        13  0.0  0.0      0     0 ?        S    Mai25   0:31 [rcuc/0]
root        14  0.0  0.0      0     0 ?        S    Mai25   0:00 [rcub/0]
root        15  0.0  0.0      0     0 ?        S    Mai25   0:01 [migration/0]
root        16  0.0  0.0      0     0 ?        S    Mai25   0:00 [idle_inject/0]
root        18  0.0  0.0      0     0 ?        S    Mai25   0:00 [cpuhp/0]
root        19  0.0  0.0      0     0 ?        S    Mai25   0:01 [cpuhp/1]
root        20  0.0  0.0      0     0 ?        S    Mai25   0:00 [idle_inject/1]
root        21  0.0  0.0      0     0 ?        S    Mai25   0:01 [migration/1]
root        22  0.0  0.0      0     0 ?        S    Mai25   0:29 [rcuc/1]
root        23  0.0  0.0      0     0 ?        S    Mai25   0:12 [ksoftirqd/1]
root        25  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kworker/1:0H-kblockd]
root        26  0.0  0.0      0     0 ?        S    Mai25   0:00 [cpuhp/2]
root        27  0.0  0.0      0     0 ?        S    Mai25   0:00 [idle_inject/2]
root        28  0.0  0.0      0     0 ?        S    Mai25   0:01 [migration/2]
root        29  0.0  0.0      0     0 ?        S    Mai25   0:29 [rcuc/2]
root        30  0.0  0.0      0     0 ?        S    Mai25   0:11 [ksoftirqd/2]
root        32  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kworker/2:0H-kblockd]
root        33  0.0  0.0      0     0 ?        S    Mai25   0:02 [cpuhp/3]
root        34  0.0  0.0      0     0 ?        S    Mai25   0:00 [idle_inject/3]
root        35  0.0  0.0      0     0 ?        S    Mai25   0:01 [migration/3]
root        36  0.0  0.0      0     0 ?        S    Mai25   0:28 [rcuc/3]
root        37  0.0  0.0      0     0 ?        S    Mai25   0:11 [ksoftirqd/3]
root        39  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kworker/3:0H-kblockd]
root        40  0.0  0.0      0     0 ?        S    Mai25   0:00 [kdevtmpfs]
root        41  0.0  0.0      0     0 ?        I<   Mai25   0:00 [netns]
root        42  0.0  0.0      0     0 ?        S    Mai25   0:00 [rcu_tasks_kthre]
root        43  0.0  0.0      0     0 ?        S    Mai25   0:00 [kauditd]
root        45  0.0  0.0      0     0 ?        S    Mai25   0:00 [khungtaskd]
root        46  0.0  0.0      0     0 ?        S    Mai25   0:00 [oom_reaper]
root        47  0.0  0.0      0     0 ?        I<   Mai25   0:00 [writeback]
root        48  0.0  0.0      0     0 ?        S    Mai25   0:00 [kcompactd0]
root        49  0.0  0.0      0     0 ?        SN   Mai25   0:00 [ksmd]
root        50  0.0  0.0      0     0 ?        SN   Mai25   0:00 [khugepaged]
root        51  0.0  0.0      0     0 ?        I<   Mai25   0:00 [crypto]
root        52  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kintegrityd]
root        53  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kblockd]
root        54  0.0  0.0      0     0 ?        I<   Mai25   0:00 [edac-poller]
root        56  0.0  0.0      0     0 ?        I<   Mai25   0:00 [devfreq_wq]
root        57  0.0  0.0      0     0 ?        S    Mai25   0:00 [watchdogd]
root        58  0.0  0.0      0     0 ?        S    Mai25   1:55 [kswapd0]
root       101  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kthrotld]
root       102  0.0  0.0      0     0 ?        S    Mai25   0:12 [irq/26-pciehp]
root       103  0.0  0.0      0     0 ?        S    Mai25   0:00 [irq/27-pciehp]
root       104  0.0  0.0      0     0 ?        S    Mai25   0:00 [irq/28-pciehp]
root       105  0.0  0.0      0     0 ?        S    Mai25   0:00 [irq/29-pciehp]
root       109  0.0  0.0      0     0 ?        I<   Mai25   0:00 [acpi_thermal_pm]
root       110  0.0  0.0      0     0 ?        I<   Mai25   0:00 [nvme-wq]
root       111  0.0  0.0      0     0 ?        I<   Mai25   0:00 [nvme-reset-wq]
root       112  0.0  0.0      0     0 ?        I<   Mai25   0:00 [nvme-delete-wq]
root       113  0.0  0.0      0     0 ?        I<   Mai25   0:00 [ipv6_addrconf]
root       122  0.0  0.0      0     0 ?        I<   Mai25   0:00 [kstrp]
root       135  0.0  0.0      0     0 ?        I<   Mai25   0:00 [charger_manager]
root       191  0.0  0.0      0     0 ?        I<   Mai25   0:00 [ata_sff]
root       192  0.0  0.0      0     0 ?        S    Mai25   0:00 [scsi_eh_0]
root       193  0.0  0.0      0     0 ?        I<   Mai25   0:00 [scsi_tmf_0]
root       194  0.0  0.0      0     0 ?        S    Mai25   0:00 [scsi_eh_1]
root       195  0.0  0.0      0     0 ?        I<   Mai25   0:00 [scsi_tmf_1]
root       196  0.0  0.0      0     0 ?        S    Mai25   0:00 [scsi_eh_2]
root       197  0.0  0.0      0     0 ?        I<   Mai25   0:00 [scsi_tmf_2]
root       198  0.0  0.0      0     0 ?        S    Mai25   0:00 [scsi_eh_3]
root       199  0.0  0.0      0     0 ?        I<   Mai25   0:00 [scsi_tmf_3]
root       200  0.0  0.0      0     0 ?        S    Mai25   0:00 [scsi_eh_4]
root       201  0.0  0.0      0     0 ?        I<   Mai25   0:00 [scsi_tmf_4]
root       202  0.0  0.0      0     0 ?        S    Mai25   0:00 [scsi_eh_5]
root       203  0.0  0.0      0     0 ?        I<   Mai25   0:00 [scsi_tmf_5]
root       210  0.0  0.0      0     0 ?        I<   Mai25   0:21 [kworker/0:1H-kblockd]
root       212  0.0  0.0      0     0 ?        I<   Mai25   0:13 [kworker/2:1H-kblockd]
root       219  0.0  0.0      0     0 ?        I<   Mai25   0:13 [kworker/3:1H-kblockd]
root       226  0.0  0.0      0     0 ?        S    Mai25   0:17 [jbd2/sda2-8]
root       227  0.0  0.0      0     0 ?        I<   Mai25   0:00 [ext4-rsv-conver]
root       233  0.0  0.0      0     0 ?        I<   Mai25   0:13 [kworker/1:1H-kblockd]
systemd+   424  0.0  0.0 101940     0 ?        Ssl  Mai25   0:01 /usr/lib/systemd/systemd-timesyncd
root       434  0.0  0.0      0     0 ?        I<   Mai25   0:00 [applesmc-led]
root       474  0.0  0.0      0     0 ?        S    Mai25   0:12 [i915/signal:0]
root       475  0.0  0.0      0     0 ?        S    Mai25   0:00 [i915/signal:1]
root       476  0.0  0.0      0     0 ?        S    Mai25   0:00 [i915/signal:2]
root       526  0.0  0.0      0     0 ?        I<   Mai25   0:00 [cfg80211]
root       590  0.0  0.0  49288     0 ?        Ss   Mai25   0:00 /usr/bin/cupsd -l
colord     621  0.0  0.0 255004     0 ?        Ssl  Mai25   0:00 /usr/lib/colord
root       648  0.0  0.0      0     0 ?        I<   Mai25   0:01 [kworker/u9:1-i915-userptr-acquire]
root       998  0.0  0.0 207456     0 ?        Sl   Mai25   0:00 lightdm --session-child 12 19
tbrodbe+  1102  0.0  0.0 238304     0 ?        Ssl  Mai25   0:00 /usr/lib/gvfsd
tbrodbe+  1108  0.0  0.0 379232     0 ?        Sl   Mai25   0:00 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
tbrodbe+  1117  0.0  0.0 157288     0 ?        Sl   Mai25   0:00 /usr/lib/dconf-service
tbrodbe+  1188  0.0  0.0 306220     0 ?        Ssl  Mai25   0:00 /usr/lib/at-spi-bus-launcher
tbrodbe+  1353  0.0  0.0   5752     0 ?        S    Mai25   0:00 cat
tbrodbe+  1354  0.0  0.0   5752     0 ?        S    Mai25   0:00 cat
tbrodbe+  1361  0.0  0.0   2756     0 ?        S    Mai25   0:00 /opt/google/chrome/chrome-sandbox /opt/google/chrome/chrome --type=zygote
tbrodbe+  1362  0.0  0.0 268876     0 ?        S    Mai25   0:00 /opt/google/chrome/chrome --type=zygote
tbrodbe+  1364  0.0  0.0   2756     0 ?        S    Mai25   0:00 /opt/google/chrome/chrome-sandbox /opt/google/chrome/nacl_helper
tbrodbe+  1365  0.0  0.0  10008     0 ?        S    Mai25   0:00 /opt/google/chrome/nacl_helper
tbrodbe+  2795  0.0  0.0  11504     0 pts/1    Ss   Mai27   0:00 zsh
tbrodbe+  2862  0.0  0.0 337184     0 pts/1    Sl+  Mai27   0:02 python
tbrodbe+  2906  0.0  0.0 388276     0 ?        SLl  Mai25   0:00 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
tbrodbe+  3350  0.0  0.0 236600     0 ?        Ssl  Mai25   0:00 /usr/lib/gvfs-mtp-volume-monitor
tbrodbe+  3354  0.0  0.0 240884     0 ?        Ssl  Mai25   0:00 /usr/lib/gvfs-gphoto2-volume-monitor
tbrodbe+  3358  0.0  0.0 321356     0 ?        Ssl  Mai25   0:00 /usr/lib/gvfs-afc-volume-monitor
tbrodbe+  3371  0.0  0.0 459976     0 ?        Sl   Mai25   0:00 /usr/lib/gvfsd-network --spawner :1.5 /org/gtk/gvfs/exec_spaw/1
tbrodbe+  3380  0.0  0.0 510288     0 ?        Sl   Mai25   0:00 /usr/lib/gvfsd-smb-browse --spawner :1.5 /org/gtk/gvfs/exec_spaw/2
tbrodbe+  5268  0.0  0.0 1207056    0 ?        Ssl  Mai28   0:07 /home/tbrodbeck/Documents/informed_mlp_sg/model/venv/bin/python3.5 -m ipykernel_launcher -f /run/user/1000/jupyter/kernel-ce7bed21-aa6e-4c6c-b4fc-31f8d2a05db9.json
root      5406  0.0  0.0   5740     0 tty6     Ss+  Mai27   0:00 /sbin/agetty -o -p -- \u --noclear tty6 linux
tbrodbe+  5520  0.0  0.0 332640     0 ?        S    Mai28   0:00 /opt/spotify/spotify --type=zygote --no-sandbox --log-file=/opt/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.98.78 --lang=en
root      5987  0.0  0.0      0     0 ?        S    Mai26   0:00 [jfsIO]
root      5988  0.0  0.0      0     0 ?        S    Mai26   0:00 [jfsCommit]
root      5989  0.0  0.0      0     0 ?        S    Mai26   0:00 [jfsCommit]
root      5990  0.0  0.0      0     0 ?        S    Mai26   0:00 [jfsCommit]
root      5991  0.0  0.0      0     0 ?        S    Mai26   0:00 [jfsCommit]
root      5992  0.0  0.0      0     0 ?        S    Mai26   0:00 [jfsSync]
root      5995  0.0  0.0      0     0 ?        I<   Mai26   0:00 [xfsalloc]
root      5998  0.0  0.0      0     0 ?        I<   Mai26   0:00 [xfs_mru_cache]
tbrodbe+  6039  0.0  0.0  11520     0 pts/4    Ss   Mai28   0:00 zsh
root      6109  0.0  0.0  41660     0 pts/4    S    Mai28   0:00 sudo -i
root      6110  0.0  0.0   8056     0 pts/4    S+   Mai28   0:00 -bash
tbrodbe+  6306  0.0  0.0  14000     0 pts/2    S+   Mai28   0:00 /usr/lib/w3m/w3mimgdisplay
root      8995  0.0  0.0   5748     0 ?        Ss   11:01   0:00 /usr/sbin/anacron -s
tbrodbe+  9285  0.0  0.0  11532     0 pts/6    Ss   11:02   0:00 zsh
root     10395  0.0  0.0      0     0 ?        I    11:08   0:00 [kworker/0:2-events]
root     11563  0.0  0.0      0     0 ?        I    11:13   0:00 [kworker/3:0-cgroup_destroy]
root     11588  0.0  0.0      0     0 ?        I    11:13   0:00 [kworker/3:3-mm_percpu_wq]
root     11625  0.0  0.0      0     0 ?        I    11:13   0:00 [kworker/u8:37-phy0]
root     11651  0.0  0.0      0     0 ?        I    11:13   0:00 [kworker/u8:62-events_unbound]
root     11653  0.0  0.0      0     0 ?        D    11:13   0:00 [kworker/u8:64+events_unbound]
root     11710  0.0  0.0      0     0 ?        I    11:13   0:00 [kworker/u8:122-phy0]
root     11725  0.0  0.0      0     0 ?        I    11:14   0:00 [kworker/2:3-events]
root     11727  0.0  0.0      0     0 ?        I    11:14   0:00 [kworker/2:5-mm_percpu_wq]
root     12169  0.0  0.0      0     0 ?        S    11:16   0:00 [irq/30-mei_me]
root     12170  0.0  0.0      0     0 ?        S    11:16   0:00 [irq/17-mmc0]
root     12172  0.0  0.0      0     0 ?        I    11:16   0:00 [kworker/1:3-mm_percpu_wq]
root     12365  0.0  0.0      0     0 ?        S    11:16   0:00 [irq/17-b43]
root     12992  0.0  0.0      0     0 ?        I    11:19   0:00 [kworker/0:1-events]
root     13181  0.0  0.0      0     0 ?        I    11:24   0:00 [kworker/0:0-events]
root     13200  0.0  0.0      0     0 ?        D    11:25   0:00 [kworker/u8:0+events_unbound]
tbrodbe+ 17572  0.0  0.0 289212     0 ?        Sl   Mai25   0:00 /usr/lib/gvfsd-http --spawner :1.5 /org/gtk/gvfs/exec_spaw/4
root     19928  0.0  0.0      0     0 ?        I    Mai28   0:00 [kworker/1:0-cgroup_destroy]
tbrodbe+ 21687  0.0  0.0  97768     0 pts/2    Sl+  Mai28   0:00 /usr/lib/libreoffice/program/oosplash /home/tbrodbeck/Documents/informed_mlp_sg/model/scripts/tset.csv
root     28117  0.0  0.0      0     0 ?        I<   Mai27   0:00 [kworker/u9:2-hci0]
tbrodbe+ 31215  0.0  0.0  11532     0 pts/2    Ss   Mai26   0:00 zsh

Did you try

ExecStart=/usr/bin/sh "/usr/local/sbin/clean-n-sleep.sh"

like I said?

EDIT: you can also add a sleep 1 between swapoff and swapon. I don't think exit is necessary there.

This shows it doesn't happen after hibernating only. It starts filling up before.

Maybe this is the process? It is using almost 4.5GB.

What's your current swappiness value?

1 Like

Oh now I it works! Did not get that I should put it in the service like that. And I did not have to put sleep in there.
But swap still is cluttered. It has now over 6 GB.
The service seems to be a valid workaround now. :slight_smile: Because hibernation did just work. Thanks.

Yeah there are a lot of processes with high storage usage. I killed PyCharm but it did not make a huge difference.
Swappiness is set to 10.

Yeah, mostly because of previous hibernations.