Comment 1 for bug 1690723

Revision history for this message
Nickolay Ihalainen (ihanick) wrote :

32bit integer overflow in https://github.com/percona/percona-server/blob/5.7/sql/threadpool_unix.cc#L571
set_timespec_nsec(&ts, timer->tick_interval*1000000);
tick_interval defined as int.

In oracle mysql code thread_pool_stall_limit value is limited to 600 (600M, no overflow for 32bit int):
https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_thread_pool_stall_limit

Workaround, do not use thread_pool_stall_limit bigger than 2 seconds

commit b0aaa59271fd268dbf8d56eb5026ad7c18bb15a9
Merge: b4104b2 2071aee
Author: Laurynas Biveinis <email address hidden>
Date: Fri Dec 4 13:16:08 2015 +0200

    Merge Percona Server 5.6 to MySQL 5.7.9, producing Percona Server 5.7.9