You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running sysbench with tppc.lua scripts to evaluate the properties of a VM that the database is running. Hence, during sysbench execution, I need to stop MySQL, and restart it afterwards. Sysbench works well when I'm running with a single thread. However, when I increase it to two or more threads, I sysbench stops running.
When I stop MySQL continues working well (around second 6 for the following output). However, I obtain the following error: FATAL: 'thread_run' function failed: (not a string) and sysbench stops running.
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 2
Report intermediate results every 1 second(s)
Initializing random number generator from seed (10).
Initializing worker threads...
Threads started!
1,2,76.79,2144.07,973.31,1009.21,161.55,70.55,0.00,0.00
2,2,71.10,2109.98,962.36,1005.42,142.20,75.82,0.00,0.00
3,2,49.01,1331.40,611.18,622.19,98.03,116.80,0.00,0.00
4,2,55.94,1599.22,732.19,755.16,111.88,127.81,0.00,0.00
5,2,11.97,295.28,134.67,136.67,23.94,102.97,1.00,0.00
6,2,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00
7,2,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00
8,2,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00
9,2,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00
FATAL: `thread_run' function failed: (not a string)
I noticed that thread_run function is in the following lua file:
I am running sysbench with tppc.lua scripts to evaluate the properties of a VM that the database is running. Hence, during sysbench execution, I need to stop MySQL, and restart it afterwards. Sysbench works well when I'm running with a single thread. However, when I increase it to two or more threads, I sysbench stops running.
sysbench /usr/share/sysbench/tpcc.lua --threads=2 --time=3600 --tables=1 --scale=10 --events=100000 --report-csv=yes --report-interval=1 --rand-seed=10 --db-driver=mysql --mysql-host=IP_ADDRESS --mysql-port=3306 --mysql-ignore-errors=all --mysql-db=sbtest --mysql-user=DBtest --mysql-password='Password' run
When I stop MySQL continues working well (around second 6 for the following output). However, I obtain the following error:
FATAL: 'thread_run' function failed: (not a string)
and sysbench stops running.I noticed that thread_run function is in the following lua file:
sysbench/src/lua/internal/sysbench.lua
Line 28 in 2ca9e3f
However, I could not understand why sysbench is throwing this error. Can you provide me some guidance?
The text was updated successfully, but these errors were encountered: