# maybe a pmm bug

**URL:** <https://forums.percona.com/t/maybe-a-pmm-bug/5114>\
**Category:** PMM 1.x\
**Created:** [September 28, 2016, 3:45am UTC](https://forums.percona.com/t/maybe-a-pmm-bug/5114 "2016-09-28T03:45:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seagen](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@seagen](https://forums.percona.com/u/seagen)\
**Post date:** [September 28, 2016, 3:45am UTC](https://forums.percona.com/t/maybe-a-pmm-bug/5114/1 "2016-09-28T03:45:10Z")

</div>

## mysqld would be forced to restart when pmm-admin add mysql. The version is 5.7.13-6-log Percona Server. The following info is from mysql error log.

07:26:06 UTC - mysqld got signal 11 ;  
This could be because you hit a bug. It is also possible that this binary  
or one of the libraries it was linked against is corrupt, improperly built,  
or misconfigured. This error can also be caused by malfunctioning hardware.  
Attempting to collect some information that could help diagnose the problem.  
As this is a crash and something is definitely wrong, the information  
collection process might fail.  
Please help us make Percona Server better by reporting any  
bugs at [http://bugs.percona.com/](http://bugs.percona.com/)

key\_buffer\_size=33554432  
read\_buffer\_size=131072  
max\_used\_connections=879  
max\_threads=100001  
thread\_count=17  
connection\_count=1  
It is possible that mysqld could use up to  
key\_buffer\_size + (read\_buffer\_size + sort\_buffer\_size)\*max\_threads = 38516969 K bytes of memory  
Hope that’s ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f954e8dd000  
Attempting backtrace. You can use the following information to find out  
where mysqld died. If you see no messages after this, something went  
terribly wrong…  
stack\_bottom = 7f9d6ee3bbe8 thread\_stack 0x40000  
/data/soft/mysql/bin/mysqld(my\_print\_stacktrace+0x2c)[0xec501c]  
/data/soft/mysql/bin/mysqld(handle\_fatal\_signal+0x461)[0x79d141]  
/lib64/libpthread.so.0(+0xf7e0)[0x7fa1c77577e0]  
/data/soft/mysql/bin/mysqld(\_ZN23PFS\_connection\_iterator12visit\_globalEbbbbbP22PFS\_connection\_visitor+0x164)[0xf6cd44]  
/data/soft/mysql/bin/mysqld(\_ZN30table\_ews\_global\_by\_event\_name13make\_idle\_rowEP15PFS\_instr\_class+0x46)[0xf80f06]  
/data/soft/mysql/bin/mysqld(\_ZN30table\_ews\_global\_by\_event\_name8rnd\_nextEv+0x85)[0xf81145]  
/data/soft/mysql/bin/mysqld(\_ZN13ha\_perfschema8rnd\_nextEPh+0x66)[0xf39716]  
/data/soft/mysql/bin/mysqld(\_ZN7handler11ha\_rnd\_nextEPh+0x164)[0x7fe174]  
/data/soft/mysql/bin/mysqld(\_Z13rr\_sequentialP11READ\_RECORD+0x20)[0xc0db90]  
/data/soft/mysql/bin/mysqld(\_Z10sub\_selectP4JOINP7QEP\_TABb+0x147)[0xc7c0b7]  
/data/soft/mysql/bin/mysqld(\_ZN4JOIN4execEv+0x237)[0xc74e77]  
/data/soft/mysql/bin/mysqld(\_Z12handle\_queryP3THDP3LEXP12Query\_resultyy+0x17d)[0xce40cd]  
/data/soft/mysql/bin/mysqld[0x75c79d]  
/data/soft/mysql/bin/mysqld(\_Z21mysql\_execute\_commandP3THDb+0x46ae)[0xca75fe]  
/data/soft/mysql/bin/mysqld(\_Z11mysql\_parseP3THDP12Parser\_state+0x5d5)[0xcaa675]  
/data/soft/mysql/bin/mysqld(\_Z16dispatch\_commandP3THDPK8COM\_DATA19enum\_server\_command+0x92f)[0xcab02f]  
/data/soft/mysql/bin/mysqld(\_Z10do\_commandP3THD+0x1b7)[0xcac9c7]  
/data/soft/mysql/bin/mysqld(\_Z26threadpool\_process\_requestP3THD+0xcf)[0xd4fe2f]  
/data/soft/mysql/bin/mysqld[0xd5efbe]  
/data/soft/mysql/bin/mysqld(pfs\_spawn\_thread+0x1b4)[0xf3ab44]  
/lib64/libpthread.so.0(+0x7aa1)[0x7fa1c774faa1]  
/lib64/libc.so.6(clone+0x6d)[0x7fa1c5a4a93d]

Trying to get some variables.  
Some pointers may be invalid and cause the dump to abort.  
Query (7f956bfbe030): is an invalid pointer  
Connection ID (thread ID): 1411714  
Status: NOT\_KILLED

You may download the Percona Server operations manual by visiting  
[http://www.percona.com/software/percona-server/](http://www.percona.com/software/percona-server/). You may find information  
in the manual which will help you identify the cause of the crash.  
2016-09-28T07:26:09.111231Z mysqld\_safe Number of processes running now: 0  
2016-09-28T07:26:09.113019Z mysqld\_safe mysqld restarted

---

<div class="post-metadata">

**Author:** ![weber](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@weber](https://forums.percona.com/u/weber)\
**Post date:** [September 28, 2016, 5:46am UTC](https://forums.percona.com/t/maybe-a-pmm-bug/5114/2 "2016-09-28T05:46:06Z")

</div>

It does not look as PMM bug.

Looks like there is an issue with Percona Server, may be its configuration, may be out of memory.
