# My mysql server has started crashing intermittently

**URL:** <https://forums.percona.com/t/my-mysql-server-has-started-crashing-intermittently/36567>\
**Category:** MySQL & MariaDB\
**Tags:** mysql\
**Created:** [February 6, 2025, 11:29am UTC](https://forums.percona.com/t/my-mysql-server-has-started-crashing-intermittently/36567 "2025-02-06T11:29:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![km99](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@km99](https://forums.percona.com/u/km99)\
**Post date:** [February 6, 2025, 11:29am UTC](https://forums.percona.com/t/my-mysql-server-has-started-crashing-intermittently/36567/1 "2025-02-06T11:29:50Z")

</div>

Server crashes, and restarts. This entry occurs in the syslog immediately before the crash:

kernel: audit: type=1400 audit(1738811012.496:50): apparmor==“DENIED” operation=“open” profile=“/usr/sbin/mysqld” name=“/proc/29800/task/29890/mem” pid=29800 comm=“mysqld” requested\_mask=“r” denied\_mask=“r” fsuid=111 ouid=111

Am I right in thinking that this is a out of memory problem?

This is the mysql error log:  
mysqld got signal 11 ;  
…  
key\_buffer\_size=268435456  
read\_buffer\_size=1048576  
max\_used\_connections=431  
max\_threads=1000  
thread\_count=8  
connection\_count=8  
…  
Thread pointer: 0x7f87380ce7e0  
…  
Query (7f873814e200): is an invalid pointer  
Connection ID (thread ID): 5810908  
Status: NOT\_KILLED

---

<div class="post-metadata">

**Author:** ![dogs\_Cute](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dogs_cute/32/12754_2.png) [@dogs\_Cute](https://forums.percona.com/u/dogs_Cute)\
**Post date:** [February 7, 2025, 9:13am UTC](https://forums.percona.com/t/my-mysql-server-has-started-crashing-intermittently/36567/2 "2025-02-07T09:13:34Z")

</div>

If mysql is shut down because of OOM. Then there will be such information in the system log:  
`Out of memory: Kill process 21451 (mysqld) score 169 or sacrifice child`

You can check whether there is such information.

---

<div class="post-metadata">

**Author:** ![km99](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@km99](https://forums.percona.com/u/km99)\
**Post date:** [February 7, 2025, 9:28am UTC](https://forums.percona.com/t/my-mysql-server-has-started-crashing-intermittently/36567/3 "2025-02-07T09:28:34Z")

</div>

Many thanks for the reply. There are no such entries.

I thought I had seen that signal 11 was likely to be a memory problem.

The ‘apparmor’ message appears immediately before each crash. Should this give me any clues?
