Use pthread_setname_np for meaningful thread names
Bug #1107080 reported by
Raghavendra D Prabhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Glibc since 2.12 allows pthread_setname_np to set thread names (http://
It would be useful for mysqld since it will/may allow to identify individual threads wrt. memory, CPU, disk etc. whenever required.
Naming may be like read/write threads, Innodb thread id (like innodb-123410413) for innodb query threads etc.
It would also be useful to have a correlation between Innodb thread ids (and/or mysql thread id) and thread task ids (the ones under /proc/$(pidof mysqld)/tasks/)
Changed in percona-server: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
The link mentioned above -- http:// sprunge. us/jLLI -- is from atop.