-
Hi, I am running hammerdbcli v4.6 in a container for TPCC test on Oracle. The monitor VU fails to take the end AWR snapshot. This happens quite consistently. I thought it was some problem with the DB, however the VU has always been able to take the start AWR snapshot. I also tried taking snapshot on the DB with The HammerDB image is built from v4.6-docker From the logs I cannot find any useful info. It just shows "VU1 finished FAILED". It appears VU1 was somehow "killed" silently. The transaction counter is working as expected, though.
Start snapshot taken successfully:
End snapshot cannot be taken, VU1 failed:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Also attaching the part of the log that shows start snapshot taken successfully:
|
Beta Was this translation helpful? Give feedback.
-
The first thing to try is to increase the keepalive_margin https://www.hammerdb.com/docs/ch09s03.html
Note that if you have already loaded the XML and have the dynamic config stored in SQLite you will either need to reset by deleting the SQLite files, so the XML is re-read, or you can do this dynamically as below (example extends keepalive to a minute):
If the AWR report generation is taking longer than 10 seconds after the rampup + duration time then this could be the cause. |
Beta Was this translation helpful? Give feedback.
The first thing to try is to increase the keepalive_margin https://www.hammerdb.com/docs/ch09s03.html
This is set in the generic.xml config file and by default is set to 10 seconds.
Note that if you have already loaded the XML and have the dynamic config stored in SQLite you will either need to reset by deleting the SQLite files, so the XML is re-read, or you can do this dynamically as below (example extends keepalive to a minute):