Percona-Lab / sysbench-tpcc

Sysbench scripts to generate a tpcc-like workload for MySQL and PostgreSQL
Apache License 2.0
292 stars 104 forks source link

FATAL: `thread_run' function failed: ./tpcc_common.lua:649: bad argument #3 to 'bor' (number expected, got function) #31

Open qiuwenhuifx opened 4 years ago

qiuwenhuifx commented 4 years ago

./tpcc.lua --pgsql-host=10.10.10.10 --pgsql-port=5432 --pgsql-user=sysbench --pgsql-password=sysbench --pgsql-db=sysbench --threads=64 --tables=1 --scale=100 --trx_level=RC --db-ps-mode=auto --db-driver=pgsql prepare

./tpcc.lua --pgsql-host=10.10.10.10 --pgsql-port=5432 --pgsql-user=sysbench --pgsql-db=sysbench --pgsql-password=sysbench --threads=64 --tables=1 --scale=100 --trx_level=RC --db-ps-mode=auto --db-driver=pgsql --time=360 --report-interval=5 run sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)

Running the test with following options: Number of threads: 64 Report intermediate results every 5 second(s) Initializing random number generator from current time

Initializing worker threads...

DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public DB SCHEMA public Threads started!

FATAL: `thread_run' function failed: ./tpcc_common.lua:649: bad argument #3 to 'bor' (number expected, got function)

yumitter commented 2 years ago

the same error,how to fix it?