Page 1 of 1

Common error: Freezing server when deploying

Posted: Wed Jul 15, 2026 3:24 am
by wroomwroom
A common error is that you experience that your server freeze when deploying.

You can limit your write speed to protect against slow disk + hardware raid cache being filled up. This will remove a lot of freeze lagg.

Image

Re: Common error: Freezing server when deploying

Posted: Fri Jul 31, 2026 8:30 pm
by wroomwroom
A way to adjust in pve, just change seq (this example is for vmid 301 to 330)

Code: Select all

for vmid in $(seq 301 330); do
    echo "=== VM $vmid ==="

    scsi0=$(qm config "$vmid" 2>/dev/null | sed -n 's/^scsi0: //p')

    if [ -z "$scsi0" ]; then
        echo "Skipped: no scsi0 disk found"
        continue
    fi

    # Remove an existing mbps_wr value, then add 25 MB/s
    scsi0=$(printf '%s\n' "$scsi0" |
        sed -E 's/(^|,)mbps_wr=[^,]*//; s/^,//; s/,,+/,/g; s/,$//')

    qm set "$vmid" --scsi0 "${scsi0},mbps_wr=25"
done