I have 40 core machines, but I only get /dev/zram0 .. 25 used.
# lsb_release -d
Description: Ubuntu 18.04.1 LTS
# systemctl --all --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
Ï zram-config.service loaded failed failed Initializes zram swaping
# systemctl status zram-config.service
Ï zram-config.service - Initializes zram swaping
Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-12-19 14:07:29 CET; 3s ago
Process: 41212 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=255)
Main PID: 41212 (code=exited, status=255)
Dec 19 14:07:29 host init-zram-swapping[41212]: no label, UUID=49e2e5a0-af6f-46e9-9cff-4df9be04acc5
Dec 19 14:07:29 host init-zram-swapping[41212]: swapon: /dev/zram38: swapon failed: Operation not permitted
Dec 19 14:07:29 host init-zram-swapping[41212]: sh: echo: I/O error
Dec 19 14:07:29 host init-zram-swapping[41212]: mkswap: /dev/zram39: warning: wiping old swap signature.
Dec 19 14:07:29 host init-zram-swapping[41212]: Setting up swapspace version 1, size = 400.8 MiB (420233216 byte
Dec 19 14:07:29 host init-zram-swapping[41212]: no label, UUID=e6b6cd37-8036-4466-a98d-df3e15af5626
Dec 19 14:07:29 host init-zram-swapping[41212]: swapon: /dev/zram39: swapon failed: Operation not permitted
Dec 19 14:07:29 host systemd[1]: zram-config.service: Main process exited, code=exited, status=255/n/a
Dec 19 14:07:29 host systemd[1]: zram-config.service: Failed with result 'exit-code'.
Dec 19 14:07:29 host systemd[1]: Failed to start Initializes zram swaping.
I have 40 core machines, but I only get /dev/zram0 .. 25 used.
# lsb_release -d
Description: Ubuntu 18.04.1 LTS
# systemctl --all --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
Ï zram-config.service loaded failed failed Initializes zram swaping
# systemctl status zram-config.service system/ zram-config. service; enabled; vendor preset: enabled) /usr/bin/ init-zram- swapping (code=exited, status=255)
Ï zram-config.service - Initializes zram swaping
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2018-12-19 14:07:29 CET; 3s ago
Process: 41212 ExecStart=
Main PID: 41212 (code=exited, status=255)
Dec 19 14:07:29 host init-zram- swapping[ 41212]: no label, UUID=49e2e5a0- af6f-46e9- 9cff-4df9be04ac c5 swapping[ 41212]: swapon: /dev/zram38: swapon failed: Operation not permitted swapping[ 41212]: sh: echo: I/O error swapping[ 41212]: mkswap: /dev/zram39: warning: wiping old swap signature. swapping[ 41212]: Setting up swapspace version 1, size = 400.8 MiB (420233216 byte swapping[ 41212]: no label, UUID=e6b6cd37- 8036-4466- a98d-df3e15af56 26 swapping[ 41212]: swapon: /dev/zram39: swapon failed: Operation not permitted service: Main process exited, code=exited, status=255/n/a service: Failed with result 'exit-code'.
Dec 19 14:07:29 host init-zram-
Dec 19 14:07:29 host init-zram-
Dec 19 14:07:29 host init-zram-
Dec 19 14:07:29 host init-zram-
Dec 19 14:07:29 host init-zram-
Dec 19 14:07:29 host init-zram-
Dec 19 14:07:29 host systemd[1]: zram-config.
Dec 19 14:07:29 host systemd[1]: zram-config.
Dec 19 14:07:29 host systemd[1]: Failed to start Initializes zram swaping.