CMON crash after CREATE LOGFILE GROUP
i've just had another problem with cmon when i'm going to create a new "logfile group" to enable tablespace-based datadisks.
I have tried it with the following commands which were described in the blog (http://johanandersson.blogspot.com/2008/12/disk-data-summary.html):
mysql> CREATE LOGFILE GROUP lg ADD UNDOFILE 'undo1.dat' INITIAL_SIZE=3221225472 UNDO_BUFFER_SIZE=134217728 ENGINE=NDB;
Query OK, 0 rows affected (19.24 sec)
mysql> CREATE TABLESPACE ts_1 ADD DATAFILE 'data1.dat' USE LOGFILE GROUP lg INITIAL_SIZE=3221225472 ENGINE=NDB;
Query OK, 0 rows affected (18.73 sec)
After the first command, cmon is crashing with no logentry, but with an segmentation-fault:
Feb 22 09:01:14 testserver1 kernel: [1968933.929745] cmon: segfault at 0 ip 00000000004fe360 sp 00007f5c6b7f08d8 error 4 in cmon[400000+27b000]
When i try to start it again it run 1 minute and than it is crashed again.
Did anybody know this issue and how to fix this?!
Sorry for the late reply, but CMON 1.1.21 is now available for download.
If you are on version say 1.1.17 then you should also download:
(there are no mods files between 1.1.18 --> 1.1.19 and 1.1.20 --> 1.1.21)
You really only have to upgrade the Controller node, and you would like to install the www files.
mysql -ucmon -p cmon < cmon_db_mods-1.1.x-1.1.y.sql
mysql -ucmon -p cmon < cmon_db-1.1.21.sql
mysql -ucmon -p cmon< cmon_data-1.1.21.sql
restart with the new cmon version.
Let me know if you run into any troubles.
Thank you and have a nice weekend.
thanks for fixing this!
I have updated cmon itself (without sql-executions, because i was on 1.1.20 before) and the www-files.
After that the error doesn't occure anymore ;)
But now i have a question:
I have created a 5GB TS, but cmon shows me a 10GB TS in the rrdgraphs as though i think cmon is summarizing all TS on every node.
This can already observed on DM- and IM-Graphs. Is this a bug or a feature? If it's a feature what is the benefit of summarizing this data?
Thank you very much!
Please sign in to leave a comment.