Re: ran in to issues with earlyoom & zramen on runit
Reply #3 –
thanks for the reply, new content of my modified zramen run script
#!/bin/sh
[ -r ./conf ] && . ./conf
zramen make
exec chpst -b zramen pause
but the content of sudo rsm is now
rsm
[sudo] password for kronikpillow:
> [rsm] - susanoo (/run/runit/service) - 17 services
SERVICE STATE ENABLED PID COMMAND TIME
✔ NetworkManager run true 943 NetworkManager 1 minute
✔ acpid run true 940 acpid 1 minute
✔ agetty-tty1 run true 916 login -- kronikpi 1 minute
✔ agetty-tty2 run true 917 agetty 1 minute
✔ agetty-tty3 run true 915 agetty 1 minute
✔ agetty-tty4 run true 919 agetty 1 minute
✔ agetty-tty5 run true 918 agetty 1 minute
✔ agetty-tty6 run true 920 agetty 1 minute
✔ alsa run true 936 alsa 1 minute
✔ avahi-daemon run true 935 avahi-daemon: run 1 minute
✔ cronie run true 951 crond 1 minute
✔ dbus run true 937 dbus-daemon 1 minute
✔ earlyoom run true 946 earlyoom 1 minute
✔ elogind run true 980 elogind 1 minute
✔ ntpd run true 1021 ntpd 1 minute
✔ udevd run true 928 udevd 1 minute
✔ zramen run true 948 zramen 1 minute
hence it's command output is not pause anymore, you are correct about this but ... zramen still hangs the login prompt, should it maybe be in the single runlevel?
regarding earlyoom, i did redirect the output to /dev/null and that issue is solved with it, but now due to your post, i'm not even entirely sure, if earlyoom is actually working :-/