Skip to content

rsync at booting can take too much time #256

Description

@yvs2014

Lately I've noticed that booting is too slow on a couple systems (ubuntu25.10 and debian13 if it matters) with enabled log2ram service, to find out what's on and disabling "quiet splash" on one (ubuntu) of them - spotted out a line like Job log2ram.service/start running (Ns/1min 57s). It's timed out in ~2min. In logs I can see messages like:

22:40:54 <previous message in log>
22:42:57 log2ram[1270]: building file list ... done
22:42:57 log2ram[1556]: <first line with some file>
22:42:57 log2ram[1556]: <last line with some file>

After disabling (suppose so) rsync with USE_RSYNC=false it got about 30sec at that Job log2ram.service/start running point .

Is there a way to speed up a bit rsync on that 'building file list'? (if I got it correctly, it's the slowest operation at boot)

p.s. in log2ram.conf there are SIZE=4G and PATH_DISK="/var/log;/home/myusername/.cache", and du -sh /var/log /home/myusername/.cache displays ~250M and ~1G respectively

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions