Comment 4 for bug 1144595

Revision history for this message
Peter Zaitsev (pz-percona) wrote : Re: [Bug 1144595] Re: Unexpected Error message from PXC running sysbench

Thanks.

Here is the exact command and output

root@nuc1:/# sysbench --max-requests=0 --max-time=60000000
--num-threads=128 --test=oltp --oltp-table-size=10000000
--mysql-host=192.168.200.1 --mysql-port=33306 --mysql-user=root
--mysql-password=password run
sysbench 0.4.12: multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 128

Doing OLTP test.
Running mixed OLTP test
Using Special distribution (12 iterations, 1 pct of values are returned in
75 pct cases)
Using "BEGIN" for starting transactions
Using auto_inc on the id column
Threads started!
ALERT: failed to execute mysql_stmt_execute(): Err1317 Query execution was
interrupted
FATAL: database error, exiting...
Done.

You obviously need to prepare database before that.

On Thu, Jun 26, 2014 at 9:18 AM, Alexey Kopytov <email address hidden>
wrote:

> I don't see any differences between 0.4 and 0.5 that would result in
> such a difference in server behavior.
>
> As in, provided that both 0.4 and 0.5 are executing identical tests
> (i.e. same types, compatible options, etc.), generated queries should be
> the same.
>
> Can I have exact command lines that do and do not reproduce the
> "interrupted query" issue?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1144595
>
> Title:
> Unexpected Error message from PXC running sysbench
>
> Status in Percona XtraDB Cluster - HA scalable solution for MySQL:
> New
> Status in SysBench: a system performance benchmark:
> New
>
> Bug description:
> Running Sysbench on 2 nodes of the cluster at the same time results
> in this:
>
> root@dpe02:/etc/mysql# sysbench --test=oltp --mysql-user=root
> --mysql-password="" --oltp-table-size=1000000 --num-threads=32
> --init-rng=on --max-requests=0 --oltp-auto-inc=off --max-time=3000 run
> sysbench 0.4.12: multi-threaded system evaluation benchmark
>
> No DB drivers specified, using mysql
> Running the test with following options:
> Number of threads: 32
> Initializing random number generator from timer.
>
>
> Doing OLTP test.
> Running mixed OLTP test
> Using Special distribution (12 iterations, 1 pct of values are returned
> in 75 pct cases)
> Using "BEGIN" for starting transactions
> Not using auto_inc on the id column
> Threads started!
> ALERT: failed to execute mysql_stmt_execute(): Err1317 Query execution
> was interrupted
> FATAL: database error, exiting...
> Done.
>
> This does not happen running the load on the single load/single server
> ever in my experience.
>
> This needs to ether be fixed or we should ensure it is clearly
> documented as error code which can be injected in the cluster in cases
> it does not happen in stand alone MySQL server or it starts to happen
> dramatically more frequently.
>
> note Sysbench version is important to repeat this problem.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1144595/+subscriptions
>

--
Peter Zaitsev, CEO, Percona
Tel: +1 888 401 3401 ext 501 Skype: peter_zaitsev
24/7 Emergency Line +1 888 401 3401 ext 911