[MDEV-6552] TokuDB requires HUGE setting,... Created: 2014-08-08 Updated: 2014-09-15 Due: 2014-09-13 Resolved: 2014-09-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.10-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Joni-Pekka Kurronen | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu Tryusty |
||
| Attachments: |
|
| Description |
|
hi, I moved from 12.04 Ubuntu 14.04. I had to add line: exec "echo never >/sys/kernel/mm/transparent_hugepage/enabled" before exec mysqld line at startup script to get mariadb functioning. That's needed to get TokuDB functionin and maraiadb goin up. Other abnormal behaviour faced were:
|
| Comments |
| Comment by Joni-Pekka Kurronen [ 2014-08-08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
it it take 3 hours to sync RAID1 disk. bacula.sql size is abt 3G and useing Tokudb Log say's very litle:
This error can be reproduced but take's 8 hours. Manualy started to starup, need's HUGE SETTING
mysql System start's and no entry's at bacula database but all tabel's are created.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-08-08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi,
Yes, this is a documented TokuDB requirement which comes from the engine: https://mariadb.com/kb/en/mariadb/documentation/storage-engines/tokudb/how-to-enable-tokudb-in-mariadb/ .
It's difficult to say anything about hanging without any error messages or a stack trace. As said above, the server was not expected to start, but it should not hang, rather just go down with the failure.
Over many versions and many years by now, mysqld only handles SIGINT (Ctrl+C) when it's started with --gdb option:
http://dev.mysql.com/doc/refman/5.0/fr/news-4-0-14.html
I don't quite understand this part. Please copy-paste the exact message that you received.
What you quoted looks like the general log. You need to find the error log. It might be a separate file or in your syslog or alike. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-08-08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
These two warnings (and quite possibly the error too) are caused by this line in your cnf:
Try to comment it and see if the server is able to find lc-messages-dir on its own.
Maybe you really have corrupted binary logs? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Joni-Pekka Kurronen [ 2014-08-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
hi, Changes to my.cnf removed total crash. So I assume you know reason for TOTAL CRASH and at any case Thank you Elena to workaround ! yours, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-08-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Which TOTAL CRASH do you mean? Please specify, since you described several mutually unrelated issues, mainly caused by misconfiguration. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Joni-Pekka Kurronen [ 2014-08-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
REAL CRASH. TOTAL. power off 4 seconds and start again. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Joni-Pekka Kurronen [ 2014-08-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Solution: stop useing tokudb ! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-09-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Closing as incomplete for now; if you have any new information (namely, explanation which TOTAL/REAL CRASH you are talking about, with the quote from the error log including the stack trace), please comment to re-open the issue. |