Comments (5)
did you resolve this?
from sysbench-tpcc.
I’m experiencing the same issue
My solution is changing command options ‘—time’ value
like from --time=300 to --time=1000
This error happens “db connection closed" still waiting many queries.
So, we could deal with enough total execution time through command option ‘time’ or
being sufficient for the data transfer to complete queries through server system variables. This is reference about server system variables.
https://dev.mysql.com/doc/refman/5.7/en/error-lost-connection.html
Also,
FATAL: thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) ALERT: attempt to fetch row from an empty result set FATAL:
happens when data is not loaded properly. because It says “empty set”. There are no records that match SELECT clause.
So, definitely finish the previous step “prepare data and table” without any error message. Then, it will be fine :)
from sysbench-tpcc.
yeah, if anyone is having this issue, make sure your command options are as same as the prepare stage, and set the time big enough.
from sysbench-tpcc.
@seungwonlee0603
Why is the time parameter relevant to receiving an error or not? Maybe I'm missing something but I'd expect any length of time to work
from sysbench-tpcc.
I just faced this error myself.
The reason was long running transactions, it should be fixed by setting con:query("SET autocommit=1") when loading data
from sysbench-tpcc.
Related Issues (20)
- Execution crashes for PostgreSQL with SQL syntax error HOT 4
- bad argument #3 to 'format' HOT 1
- trx_level issue
- Payment transaction uses wrong warehouse id HOT 3
- FATAL: mysql_drv_query() returned error 1105 (Percona-XtraDB-Cluster prohibits use of DML command on a table HOT 2
- FATAL: `thread_run' function failed: ./tpcc_common.lua:649: bad argument #3 to 'bor' (number expected, got function) HOT 1
- namecnt not made even (?) HOT 1
- tpcc_run.lua:325: attempt to index global 'row' (a nil value) HOT 4
- length of h_data HOT 1
- binary log disabled during prepare HOT 1
- `innodb_flush_log_at_trx_commit` is not reset correctly at the end of `prepare` HOT 1
- Payment choose warehouse incorrectly
- Asking for Clarification About the Delivery Transaction Implementation
- Sysbench Grafana JSON file and datasource for TPC-C for "order-demo"
- segmentation fault (core dumped) ubuntu HOT 1
- Understanding the output of this script
- Question about other_ware function
- No .deb release for Ubuntu 22.04 / Jammy?
- FATAL: `thread_run' function failed: ./tpcc_run.lua:721: bad argument #1 to 'unpack' (table expected, got nil) HOT 1
- FATAL: `thread_run' function failed: ./tpcc_run.lua:721: bad argument #1 to 'unpack' (table expected, got nil)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysbench-tpcc.