Skip to content

snapraid-runner cronjob using a lot of RAM when not running? #70

@Arakon

Description

@Arakon

Hi.

I'm running Snapraid with MergerFS on 2 12TB merged HDDs with another 12TB drive for parity on Debian 12.

snapraid-runner is taking care of triggering the actual synching.

I currently have the following "sudo crontab -e" entry:

00 04 */2 * * sudo python3 /usr/bin/snapraid-runner/snapraid-runner.py -c /etc/snapraid-runner.conf
This works fine, as intended, every 2 days.

However, I noticed that I now have the "cron" service running continuously with 1.35-1.75GB of memory usage for a day or so after executing, then eventually stops until the next time the cronjob for snapraid-runner is called.

No other cron jobs are currently running (there's one entry for a plex database cleanup, but that only runs once a month and has been on the server for over a year without ever showing this behavior, until snapraid-runner was added).

This also means that cron is using more RAM than any other application or container, including Plex Server, Home Assistant, etc.

top reports:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

6177 root 20 0 1378044 680620 9376 S 3.9 4.2 139:45.49 python3

150223 root 20 0 547280 204296 11480 S 0.3 1.3 29:03.12 python3

as the main memory users.

Any idea what could be going on here? It seems to me like snapraid-runner is not quitting properly after the run or something.

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