SIGHUP at startup crashes the server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
MySQL patches by Codership |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
High
|
Teemu Ollakka | ||
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Repeatable easily with (for Percona Server 5.5)
=======
Session 1: (to ensure SIGHUP is sent at startup)
[root@Archie percona-
Session 2:
>>sudo mysqld --user=mysql
131108 10:42:20 InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
131108 10:42:20 InnoDB: The InnoDB memory heap is disabled
131108 10:42:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
131108 10:42:20 InnoDB: Compressed tables use zlib 1.2.8
131108 10:42:20 InnoDB: Using Linux native AIO
131108 10:42:20 InnoDB: Initializing buffer pool, size = 128.0M
131108 10:42:20 InnoDB: Completed initialization of buffer pool
131108 10:42:20 InnoDB: highest supported file format is Barracuda.
131108 10:42:20 InnoDB: Waiting for the background threads to start
131108 10:42:21 Percona XtraDB (http://
Status information:
Current dir: /var/lib/mysql/
Running threads: 0 Stack size: 262144
Current locks:
lock: 0x117bd20:
lock: 0x117c260:
lock: 0x117c320:
lock: 0x117c3e0:
lock: 0x117bde0:
lock: 0x117bea0:
lock: 0x117bc60:
lock: 0x117bae0:
lock: 0x117bba0:
lock: 0x117c4a0:
lock: 0x117bf60:
lock: 0x117c1a0:
lock: 0x117c0e0:
lock: 0x117c020:
lock: 0x117b8a0:
lock: 0x117b960:
lock: 0x117ba20:
DB Table Version Thread Open Lock
Current refresh version: 1
Key caches:
default
Buffer_size: 16777216
Block_size: 1024
Division_limit: 100
Age_limit: 300
blocks used: 0
not flushed: 0
w_requests: 0
writes: 0
r_requests: 0
reads: 0
handler status:
read_key: 0
read_next: 0
read_rnd 0
read_first: 0
write: 0
delete 0
update: 0
Table status:
Opened tables: 1
Open tables: 0
Open files: 2
Open streams: 0
Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0
Memory status:
Non-mmapped space allocated from system: 10346496
Number of free chunks: 6
Number of fastbin blocks: 0
Number of mmapped regions: 16
Space in mmapped regions: 32931840
Maximum total allocated space: 0
Space available in freed fastbin blocks: 0
Total allocated space: 7909520
Total free space: 2436976
Top-most, releasable space: 2291568
Estimated memory (with thread stack): 43278336
Events status:
LLA = Last Locked At LUA = Last Unlocked At
WOC = Waiting On Condition DL = Data Locked
Event scheduler status:
05:12:21 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.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=153
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
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 = 0 thread_stack 0x40000
mysqld(
mysqld(
/usr/lib/
mysqld(
mysqld(
mysqld(
mysqld(
/usr/lib/
/usr/lib/
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
=======
This is due to upstream http://
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 28 lines (+14/-3)1 file modifiedsql/mysqld.cc (+14/-3)
- Percona core: Pending requested
- Laurynas Biveinis (community): Approve
- Diff: 0 lines
tags: | added: upstream |
tags: | added: i42230 |
Changed in codership-mysql: | |
status: | New → Invalid |
Tagging with pxc since it affects PXC too (for obvious reasons) and seems people are hitting it more there (may be some like to send SIGHUP at startup). Note, this is not due to mysqladmin debug (as some hypothesized in other forums) since this requires signal to be sent before the socket is open (so mysqladmin can't reach it before).