Skip to content

[Bug]: Updating to 6.10-beta2 consume all cpu resource to infinity, update never stop #5422

Backlog

Description

@lordrak007

Describe the bug

When i tried start update to v6.10.0-beta.2, LXC comsume all assigned resources (8 CPU)

Steps or original sequence

Run in app update or sudo /bin/update --version v6.10.0-beta.2

Expected behavior

Update Pulse

Additional actionable topics

none

Pulse version

v6.9.0

Last known working Pulse version

v6.9.0

Agent version

neno

Image tag or digest

.

Installation type

ProxmoxVE LXC

OS / environment

No response

Installer or helper source

No response

Upgrade attempt and recovery

No response

Logs, screenshots, or diagnostics

No response

Confirmations

  • I gave the Pulse version at the failure or "unknown" if unavailable; for an install that never started, the attempted version or "unknown"; for a running container I also gave its image tag or digest.
  • I searched existing issues for duplicates.

Activity

  1. added
    bug
    on Nov 28, 2026
  2. changed the title [-][Bug]: Updating to 10rc2 consume all cpu resource to infinity, update never stop[/-] [+][Bug]: Updating to 6.10-beta2 consume all cpu resource to infinity, update never stop[/+] on Nov 28, 2026
  3. added
    affects-6.9.0
    on Nov 28, 2026
  4. pulse-triage commented on Nov 28, 2026

    @pulse-triage
    Contributor

    I checked a clean v6.9.0 to v6.10.0-beta.2 systemd upgrade and it finished without stalling, so I need a few details from your container to see whether the CPU spike happens during the update or once v6.10.0-beta.2 starts.

    There's no need to trigger another hanging update just to check these. From inside the LXC, could you share:

    • What pulse --version reports now, and the last line sudo /bin/update --version v6.10.0-beta.2 printed (or the stage shown in Settings → Updates) if you saw where it stopped.
    • The first 5 lines of /bin/update (head -n 5 /bin/update), so I can tell whether it is Pulse's own updater or a different container helper.
    • Which process was using the 8 CPUs if you saw it in top or ps, and how much RAM is assigned to the container.
    • The last 50 lines of journalctl -u pulse -n 50 --no-pager (or pulse-backend if your unit uses that name) around the attempt, with any private hostnames or secrets removed.

    That will tell me whether the updater, a different /bin/update script, or v6.10.0-beta.2 at startup is pegging the CPU.

    How Pulse handles triage

  5. dispo2 commented on Dec 1, 2026

    @dispo2

    I have run into this twice now

    02/12/2026, 08:52:32	Update	v6.9.0 → v6.10.0-rc.1		In progress	<-- current attempt to upgrade, again had to force kill the LXC and restart
    25/11/2026, 13:57:51	Update	v6.9.0-rc.4 → v6.9.0		Succeeded	<-- second attempt after below
    25/11/2026, 13:52:01	Update	v6.9.0-rc.4 → v6.9.0		In progress	<-- this failed and the LXC had to be force killed and restarted	
    25/11/2026, 08:04:47	Update	v6.9.0-rc.2 → v6.9.0-rc.4	Succeeded	<-- This was the last error free upgrade 
    

    Pulse is running as a LXC, 2 vCPU, 1Gb RAM, 256Mb swap, 8Gb disk (3.4Gb free)

    Process is: Run updater via web gui, update downloads, verifies and hangs at extracting.
    PVE reports the LXC is pegged at 50% CPU so one core should still be available but console access is seriously degraded. Commands can be entered but never output, including basic file system commands. As a result I could not get any debug output during the hung update.

    After the restart I get this, and as shown above pulse still thinks the update is in progress.

    root@pulse-ct:~# pulse --version
    Pulse v6.9.0
    
    root@pulse-ct:~# head -n 5 /bin/update
    #!/usr/bin/env bash
    # Pulse update command
    # This script re-runs the Pulse installer using the configured manual channel
    
    set -euo pipefail
    

    journalctl -u pulse -n 50 --no-pager produces nothing useful due to restart.

    Attempting to upgrade again via the web gui after restarting also failed, catching journalctl before the LXC locked up gave this.

    Dec 02 09:13:52 pulse-ct pulse[91]: {"level":"info","event_id":"01M8STQ377YZZE8BAYHYK6BPEF","status":"in_progress","component":"pulse","time":"2026-12-02T09:13:52+11:00","message":"Updated update history entry"}
    Dec 02 09:13:53 pulse-ct pulse[91]: {"level":"info","component":"pulse","time":"2026-12-02T09:13:53+11:00","message":"Signature verification passed"}
    Dec 02 09:13:55 pulse-ct pulse[91]: {"level":"info","file":"checksums.txt","component":"pulse","time":"2026-12-02T09:13:55+11:00","message":"Found checksum file"}
    Dec 02 09:13:58 pulse-ct pulse[91]: {"level":"info","hash":"b94e363517c3a88b23c34786e1dc69433f459800c24fecafc3f4dc6303b714e4","component":"pulse","time":"2026-12-02T09:13:58+11:00","message":"Checksum verified successfully"}
    Dec 02 09:13:58 pulse-ct pulse[91]: {"level":"info","component":"pulse","time":"2026-12-02T09:13:58+11:00","message":"Checksum verification passed"}
    
    

    On the updater I get this

    No progress reported for a while
    The update may have finished already. Reload the page to check. Pulse keeps updating on the server either way.
    Reload to check
    

    Clicking on reload fails, Pulse LXC needs to be force killed.

    I will test one more time but currently appear to be unable to upgrade beyong 6.9.0 release. I will try again depending on results here or when 6.10.0 is released.

  6. pulse-triage commented on Dec 1, 2026

    @pulse-triage
    Contributor

    Thanks for catching the journalctl lines before the container locked up. That pinpoints the stall to the extraction step right after Checksum verification passed. At that point your running v6.9.0 server is still doing the work, before the new v6.10.0-rc.1 binary is checked or installed. That also explains why you hit the same stall on v6.9.0-rc.4 to v6.9.0.

    In v6.9.0, the in-app updater unpacks the ~300 MB release archive twice while Pulse is still running. First it scans the compressed archive to measure the extracted size, then it extracts it to disk. On a 1 GiB RAM container with 256 MiB swap, doing that alongside the running server can push the container into heavy memory and I/O contention. The In progress row stays in Settings → Updates afterwards because the force-kill stops Pulse before it can mark that update failed.

    If you want to try updating without the in-app extractor running beside the live server, back up the container first. Then stop Pulse to free its memory (sudo systemctl stop pulse, or pulse-backend if your unit uses that name) and run sudo /bin/update --version v6.10.0-rc.1, or sudo /bin/update once v6.10.0 is out. The original report here also hit a hang with /bin/update, so I cannot promise that path avoids it on every LXC, but stopping the service first gives a 1 GiB container much more headroom.

    One quick read-only check would help narrow down whether temporary storage is part of the squeeze. From the running container, with no need to start another update, could you share the output of df -h / /tmp /var/lib/pulse? That shows whether /tmp is mounted on RAM (tmpfs) and whether leftover pulse-update-* folders are taking space.

    How Pulse handles triage

  7. dispo2 commented on Dec 2, 2026

    @dispo2
    root@pulse-ct:~# df -h / /tmp /var/lib/pulse
    
    df: /var/lib/pulse: No such file or directory
    
    Filesystem                        Size  Used Avail Use% Mounted on
    /dev/mapper/pve-vm--351--disk--0  7.8G  4.1G  3.4G  55% /
    
    tmpfs                              16G     0   16G   0% /tmp
    

    I have spare ram capacity so increased to 2Gb, following that the updater worked successfully so I would say the RAM limit is the cause. Will leave at 2Gb for now.

    Has the minimum spec increased with versions > 6.8.0 ?

    Docs still state 1Gb

    CPU			1-2 vCPU
    Memory		1 GiB RAM
    Disk		4 GiB
    

    I need to double check disk too as my system is using 4.1Gb, main culprits are;

    1.9G    etc
    	371M    /etc/pulse.backup.20260813-111917
    	469M    /etc/pulse.backup.20260824-122013
    1.1G    /etc/pulse
    	62M     /etc/pulse/backup-20261125-080552
    	62M     /etc/pulse/backup-20261125-135840
    	62M     /etc/pulse/backup-20261202-114435
    	66M     /etc/pulse/resources
    	126M    /etc/pulse/alerts
    	184M    /etc/pulse/metrics.db
    	240M    /etc/pulse/recovery
    	246M    /etc/pulse/audit
    
    766M    opt
    	766M    /opt/pulse
    		500K    /opt/pulse/scripts
    		765M    /opt/pulse/bin
    442M    usr
    1001M   var
    	748M    /var/log
    		747M    /var/log/journal
    

    Journal seems unnecessarily large but it looks like 4Gb is now too small for Pulse to run and to keep 1.2Gb free
    It also looks like the /etc/pulse.backup.xxx files are old and deprecated so I will delete them.

  8. pulse-triage commented on Dec 2, 2026

    @pulse-triage
    Contributor

    Thanks for running df -h and confirming that 2 GiB let the update finish. That nails down the exact cause.

    Your /tmp is mounted on RAM (tmpfs) and reports 16 GiB free from the Proxmox host, while / has 3.4 GiB free on disk. When the in-app updater picks a temporary directory, it currently chooses whichever candidate reports the most free space. That makes it pick /tmp over your disk-backed /etc/pulse, so it downloads the ~300 MB archive and unpacks ~765 MB of binaries into container RAM alongside the running Pulse server. On a 1 GiB container with 256 MiB swap, that fills memory and swap completely and locks up the container. Raising RAM to 2 GiB gave /tmp enough headroom to finish.

    The documented minimum spec has not been raised above 1 GiB RAM. The in-app updater picking RAM-backed /tmp when real disk has room is a bug, and I am tracking a fix so it prefers disk-backed storage instead of tmpfs and clears interrupted In progress history rows on restart.

    On disk space, your breakdown is very helpful. /opt/pulse/bin is about 765 MiB because the release archive includes the bundled cross-platform agent binaries alongside the server. Once you add a few months of metrics, audit and recovery data in /etc/pulse, automatic config backups, and a 747 MiB systemd journal, 4 GiB total disk gets tight when you also need ~1.2 GiB free for in-place upgrades. An 8 GiB disk is much more comfortable for an active LXC, and capping systemd-journald size helps keep /var/log/journal in check.

    Those two August /etc/pulse.backup.20260813-111917 and /etc/pulse.backup.20260824-122013 folders are old pre-update snapshots from earlier installer upgrades. They are safe to delete if you no longer need to roll back to August, as long as you leave /etc/pulse and your current backups untouched.

    How Pulse handles triage

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

    affects-6.9.0bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions