Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.0.17
-
None
-
FreeBSD 10.1-RELEASE-p7 / x86-64 / MariaDB 10.0.17
Description
I have a production MariaDB server which is occasionally experiencing a hang; it refuses new connections, does not create any more threads, and stays at 0% cpu until forced to restart.
I'm using threadpool:
thread_handling=pool-of-threads
thread_pool_size=48
thread_pool_max_threads=128
thread_pool_idle_timeout=30
and xtrabackup. The issue always occurs around the same time of day (once every week or two) so I suspect it may be related to xtrabackup's pausing the server to backup.
Captured a gdb backtrace in this state, but imposed a workaround of restarting the process rather than try to debug further, since the server is being used.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Labels | need_feedback |
Assignee | Jan Lindström [ jplindst ] |
Assignee | Jan Lindström [ jplindst ] |
Component/s | OTHER [ 10125 ] | |
Fix Version/s | N/A [ 14700 ] | |
Resolution | Incomplete [ 4 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Attachment | mariadb-hang.txt [ 40415 ] |
Labels | need_feedback |
Resolution | Incomplete [ 4 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Fix Version/s | 10.0 [ 16000 ] | |
Fix Version/s | N/A [ 14700 ] | |
Assignee | Vladislav Vaintroub [ wlad ] |
Component/s | Platform FreeBSD [ 10139 ] | |
Component/s | OTHER [ 10125 ] | |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Resolution | Incomplete [ 4 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 69800 ] | MariaDB v4 [ 149227 ] |
Hi,
Did you, by any chance, happen to capture two consequent backtraces in this state, so we could be sure it totally froze and wasn't doing anything at all?
In the provided stack trace, at least thread 88 does not appear to be waiting on anything, so it would be useful to understand whether it was really stuck in this strange place, or it was still doing something, even though so lazily and slowly that the CPU usage appeared to be 0.