[torquedev] Bad value Walltime.Remaining

Vikentsy Lapa vlapa at newman.bas-net.by
Thu Nov 18 07:38:47 MST 2010


Hi, All! 


I have following situation: 
Running only pbs_server, so when i do qsub job stay in Q state,
but Walltime.Remaining param is negative, and change in time.
I show my output below.

~$ qstat -f 2

$ /tmp/torque/bin/qstat -f 2 | grep   '\(Rema\|job_state\)'
    job_state = Q
    Walltime.Remaining = -129007105

$ /tmp/torque/bin/qstat -f 2 | grep   '\(Rema\|job_state\)'
    job_state = Q
    Walltime.Remaining = -129007106

$ /tmp/torque/bin/qstat -f 2 | grep   '\(Rema\|job_state\)'
    job_state = Q
    Walltime.Remaining = -129007107

Is it right? 

For cygwin version, situation even worse 

$ qstat -f | grep Wall
    Walltime.Remaining = 352dnK

$ qstat -f | grep Wall
    Walltime.Remaining = 352

$ qstat -f | grep Wall
    Walltime.Remaining = 352�K

Attached patch fix that bug.

I test this on Debian squeeze x86_64
torque-2.5.3 and 
Windows7 torque-2.5.3 and torque-2.5.1 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stat_job.c.patch
Type: text/x-diff
Size: 411 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20101118/41300569/attachment-0001.bin 


More information about the torquedev mailing list