Skip to main content
Topic: runsv cronie is writting 300 MiB every hour to disk (Read 273 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

runsv cronie is writting 300 MiB every hour to disk

Using iotop I've just noticed that runsv is writting 300 MiB per hour on my ssd, that's really high.

Back on Arch I had a similar problem where it was writing 150 MiB per hour which ended up being journald due to a bunch of ipv6 errors.

As far as I know I don't know any journaling daemon installed on Artix, so I don't know what is causing runsv to write that much data.

EDIT: The issue is the runsv cronie service that is constantly writting to disk.

EDIT2: I just unlinked the service since it is only needed by timeshift and I don't have automatic snapshots setup, now the issue stopped. That's very weird though that it is writing that much data.

Re: runsv cronie is writting 300 MiB every hour to disk

Reply #1
sounds to me like you might have some custom cron jobs running and instead of stdout to dev null, its logging to /var/log
as to your ipv6 errors, unless you really need it, disable it

Add these three lines to the /etc/sysctl.conf file:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Supercalifragilisticexpialidocious

 

Re: runsv cronie is writting 300 MiB every hour to disk

Reply #2
sounds to me like you might have some custom cron jobs running and instead of stdout to dev null, its logging to /var/log

Actually the cronie service was down, but that didn't stop runsv from writing that much data.  I had to remove the symlink to stop it.

I just linked it again and it began to write to disk:



I don't know why the first sv status says run? I only made the symlink but didn't start it, and right after it changes back to down while still writting data.

More weird is that I just ran `sv up cronie` followed by`sv down cronie` and it stopped writing to disk, seems like some bug with runsv not knowing what do to when the symlink is present but no sv up or down is given?

Can you please try to replicate this? I only had cronie installed because it is a dependency of timeshift, I never setup something that would use it.

And about ipv6, that's something that happened when I was using archlinux, I don't have that issue here.