[SOLVED] Verification Job duration shows 2 different times

neon068

New Member
Nov 1, 2024
4
0
1
Carson City, NV, USA
EDIT: Already known bug :)

Not sure if this is already known, or if I'm just reading it wrong...

The verify job task Status tab shows a duration of 9h 34.7s and the actual last duration was 2m 1s as seen correctly in the Verify Jobs schedule.

I attached the output of the job log as well showing it only took 2 minutes.

Really not a big deal, but wasn't sure if I was just reading it wrong, have something configured wrong, or if it's an actual bug.

pbs verification job duration ss1.png
 

Attachments

  • task-pbsremote-verificationjob-2024-11-01T07_00_00Z.log
    30.8 KB · Views: 1
Last edited:
Ah I see what's going on... I checked it again and it keeps increasing in time each time I open the window. The Duration time on the Status page is checking if there's currently a PID in the system with the same Process ID still running, in this case "PID 911". Since it sees a process with a PID of 911 running, even though this isn't the actual verification job PID, it thinks that the job is still running and calculates how long it has been since the job start time and now. The real PID 911 has been running since it booted:
root 991 0.0 0.0 0 0 ? S Oct29 0:00 [z_upgrade]


I checked this out on another PBS instance, and I'm able to reproduce. This is showing a GC Job with a PID of 211 that only took 5s to run, is still running (15h and counting) in the Show Log -> Status tab of the GC task. The real PID 211 is:
root@pbs:~# ps aux | grep 211
backup 211 0.4 1.3 4236252 57036 ? Ssl Oct27 29:37 /usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy


Screenshot 2024-11-01 175106.png

So... bug? Yeah. Priority? Nah.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!