HammerDB on AWS crashes with Segmentation Fault or Bus Error #93
-
Hi Community, I have attached the tcl script and logs from hammerdb strace for more details. Platform: Problem:
I am constantly monitoring the EC2 instance and RDS instance using cloud watch and rds performance insights. I could not find any resource constraints or error logs/alert logs on RDS side. From my observation it looks like an HammerDB issue. Did anyone else faced the similar problems running hammerdb on AWS for RDS? Attached:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Many thanks for the issue and the log files I can take a look. A key aspect is where hammerdb is crashing - in the hammerdb engine itself or the 3rd party library. Are there any system logs or other information that could suggest a cause. One immediate thought is that with the TPC-C/TPC-H workloads it is carefully planned and tested not to have memory leaks from opening cursors and not closing them. So a key check is that the HammerDB client is not running out of memory from the statements that are being run from the trace files. The intention when replaying trace files is that the converted trace is used as a framework to build your own tests rather than a simple capture and re-run. |
Beta Was this translation helpful? Give feedback.
-
Hi looking in the logfile there are a number of errors when you run the script. You would need to resolve these before looking at any crashing issues. As noted before if cursors are being opened and not closed you may run out of memory on the HammerDB client that would cause this effect. Also there are some scenarios that are not currently converted. For example ref cursors and memory dumps. This has been noted and work was started on it however not completed Issue #27 and there is no current commitment to as and when work on trace file conversion will be done (although this would a good project for someone to pick up and work on.)
|
Beta Was this translation helpful? Give feedback.
-
Closing as no further update |
Beta Was this translation helpful? Give feedback.
Hi looking in the logfile there are a number of errors when you run the script. You would need to resolve these before looking at any crashing issues. As noted before if cursors are being opened and not closed you may run out of memory on the HammerDB client that would cause this effect.
Also there are some scenarios that are not currently converted. For example ref cursors and memory dumps. This has been noted and work was started on it however not completed Issue #27 and there is no current commitment to as and when work on trace file conversion will be done (although this would a good project for someone to pick up and work on.)