Threadpool "thread limit reached" / "failed to create thread" should be printed on the 1st occurrence too

Bug #1636500 reported by Laurynas Biveinis on 2016-10-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Fix Released
Medium
Laurynas Biveinis
5.6
Fix Released
Medium
Laurynas Biveinis
5.7
Fix Released
Medium
Laurynas Biveinis

Bug Description

Currently, threadpool prints "max thread limit reached" and "failed to create a thread" messages only if 1) the above situation has already occurred, 2) more than 30 seconds have passed, and 3) the above situation has occured again.

It should be changed that the thread limit situation is diagnosed on the 1st occurrence immediately, and then not more often than every 30 seconds if it continues.

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers