Hello everybody,
I've noticed strange behavior when rebooting our VPS that are running Plesk 12.5.30 and Ubuntu 14.04.4. Whenever they're rebooting, MySQL's error_log shows a crash. When issueing /etc/init.d/mysql restart directly afterwards, MySQL starts absolutely fine. This affects three different servers, all running the same versions of Plesk and Ubuntu.
I'm posting on this forum because a server setup the very same way but not running Plesk, doesn't show this behavior. I also noticed MySQL isn't being started from /etc/rc*.d but from somewhere else. I'm figuring maybe the way (timing?) the other servers (with Plesk) are trying to start MySQL has something to do with it.
Here's the relevant part of /var/log/mysql/error_log:
And here's the log of the sucessful startup after issueing /etc/init.d/mysql restart directly after the automatic startup try:
Any help is greatly appreciated!
I've noticed strange behavior when rebooting our VPS that are running Plesk 12.5.30 and Ubuntu 14.04.4. Whenever they're rebooting, MySQL's error_log shows a crash. When issueing /etc/init.d/mysql restart directly afterwards, MySQL starts absolutely fine. This affects three different servers, all running the same versions of Plesk and Ubuntu.
I'm posting on this forum because a server setup the very same way but not running Plesk, doesn't show this behavior. I also noticed MySQL isn't being started from /etc/rc*.d but from somewhere else. I'm figuring maybe the way (timing?) the other servers (with Plesk) are trying to start MySQL has something to do with it.
Here's the relevant part of /var/log/mysql/error_log:
Code:
[Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
[Warning] option 'innodb-buffer-pool-size': signed value 2097152 adjusted to 5242880
[Warning] option 'innodb-additional-mem-pool-size': signed value 512000 adjusted to 524288
[Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.8
InnoDB: Using Linux native AIO
InnoDB: Initializing buffer pool, size = 5.0M
InnoDB: Completed initialization of buffer pool
InnoDB: highest supported file format is Barracuda.
InnoDB: Waiting for the background threads to start
InnoDB: 5.5.47 started; log sequence number 62921204727
[Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
[Note] - '0.0.0.0' resolves to '0.0.0.0';
[Note] Server socket created on IP: '0.0.0.0'.
Status information:
Current dir: /var/lib/mysql/
Running threads: 0 Stack size: 196608
Current locks:
lock: 0x7f135b0add00:
lock: 0x7f135b0ae240:
lock: 0x7f135b0ae300:
lock: 0x7f135b0ae3c0:
lock: 0x7f135b0addc0:
lock: 0x7f135b0ade80:
lock: 0x7f135b0adc40:
lock: 0x7f135b0adac0:
lock: 0x7f135b0adb80:
lock: 0x7f135b0ae480:
lock: 0x7f135b0adf40:
lock: 0x7f135b0ae180:
lock: 0x7f135b0ae0c0:
lock: 0x7f135b0ae000:
lock: 0x7f135b0ad880:
lock: 0x7f135b0ad940:
lock: 0x7f135b0ada00:
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: 1
Open streams: 0
Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0
21:59:26 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.
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 346701 K bytes of memory
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 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x20)[0x7f135a8426b0]
/usr/sbin/mysqld(handle_fatal_signal+0x3d5)[0x7f135a72c1c5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f13594bb340]
/usr/sbin/mysqld(_ZN15Event_scheduler20dump_internal_statusEv+0x1f)[0x7f135a82340f]
/usr/sbin/mysqld(_ZN6Events20dump_internal_statusEv+0xaa)[0x7f135a6ce2ba]
/usr/sbin/mysqld(_Z18mysql_print_statusv+0x4b0)[0x7f135a6a9cc0]
/usr/sbin/mysqld(signal_hand+0x2b5)[0x7f135a5d9845]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7f13594b3182]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f1358bd647d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
And here's the log of the sucessful startup after issueing /etc/init.d/mysql restart directly after the automatic startup try:
Code:
mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
[Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
[Note] /usr/sbin/mysqld (mysqld 5.5.47-0ubuntu0.14.04.1) starting as process 3563 ...
[Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
[Warning] option 'innodb-buffer-pool-size': signed value 2097152 adjusted to 5242880
[Warning] option 'innodb-additional-mem-pool-size': signed value 512000 adjusted to 524288
[Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.8
InnoDB: Using Linux native AIO
InnoDB: Initializing buffer pool, size = 5.0M
InnoDB: Completed initialization of buffer pool
InnoDB: highest supported file format is Barracuda.
InnoDB: Waiting for the background threads to start
InnoDB: 5.5.47 started; log sequence number 62921204727
[Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
[Note] - '0.0.0.0' resolves to '0.0.0.0';
[Note] Server socket created on IP: '0.0.0.0'.
[Note] Event Scheduler: Loaded 0 events
[Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.47-0ubuntu0.14.04.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)
Any help is greatly appreciated!