Hi,

I've noticed that with spooling enabled I see wrong status information about a
job in the 'Terminated Jobs' field.


*status client=xxxx-fd
Connecting to Client xxxx-fd at xxxx:9102

xxxx-fd Version: 2.2.4 (14 September 2007)  x86_64-pc-linux-gnu debian 4.0
Daemon started 02-Okt-07 22:24, 5 Jobs run since started.
 Heap: heap=696,320 smbytes=151,449 max_bytes=294,273 bufs=68 max_bufs=120
 Sizeof: boffset_t=8 size_t=8 debug=1 trace=0

Running Jobs:
Director connected at: 05-Okt-07 15:55
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
======================================================================
[...]
   698  Full        138    163.6 G  OK       05-Okt-07 15:25 xxxx-Volume1



In fact job #698 was still running at 15:55 it was just despooling data. It
seems that the time the job finished spooling was taken as end time.

05-Okt 15:25 xxxx-sd: Job write elapsed time = 00:27:18, Transfer rate = 99.88 
M bytes/second
05-Okt 15:25 xxxx-sd: Committing spooled data to Volume "A00020L4". Despooling 
163,769,682,777 bytes ...


Later after despooling has finished (this time status dir):

*status dir
xxxx-dir Version: 2.0.3 (06 March 2007) x86_64-unknown-linux-gnu debian 4.0
Daemon started 05-Okt-07 14:33, 3 Jobs run since started.
 Heap: bytes=225,905 max_bytes=294,682 bufs=1,499 max_bufs=1,520

Scheduled Jobs:
[...]

Running Jobs:
[...]

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================
[...]
   698  Full        138    163.6 G  OK       05-Okt-07 16:03 xxxx--Volume1


Now the time in the 'Terminated Jobs' list has changed from 15:25 to 16:03 -
which was the real time the job finished.

I can't say what a 'status dir' returns during despooling, but the fact that
the despooling job is in the list of finished jobs is a bit misleading.

I'll watch the 'status dir' output during the next backup and see if it doesn't
report a running job during despooling, but I guess it will show the right 
status.

Ralf

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to