Skip to content

Spin trigger-cron is reserving 100% CPU usage. #31

@seungjin

Description

@seungjin
$ spin --version
spin 3.2.0 (c9be6d8 2025-03-24)
$ spin plugins list | grep cron
trigger-cron 0.2.0 [installed]

Spin trigger-cron is reserving 100% CPU usage.
The fastest cron job I'm running is every hour, but it keeps using 100% of the CPU

From htop:

    PID USER       PRI  NI  VIRT   RES   SHR S  CPU%▽MEM%   TIME+  Command
 454838 seungjin    20   0 4035G  131M 20740 S 100.5  1.7  0:41.63 /home/seungjin/.local/share/spin/plugins/trigger-cron/trigger-cron --runtime-config-file runtime-config.toml
 454848 seungjin    20   0 4035G  131M 20740 R 100.5  1.7  0:40.46 /home/seungjin/.local/share/spin/plugins/trigger-cron/trigger-cron --runtime-config-file runtime-config.toml

I use the released spin version (downloaded from github) and installed trigger-cron with spin plugins install --url https://github.com/fermyon/spin-trigger-cron/releases/download/canary/trigger-cron.json

It is Debian GNU/Linux 12 (bookworm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions