cmon - MySQL Cluster monitoring

Comment 2 for bug 875605

Hi,

Do you mind testing with a new binary?

Do you have in /etc/cmon.cnf (on the controller):
mode=controller (or 'dual')

and on the agents (in /etc/cmon.cnf)
mode=agent

Best regards,
Johan

On 2011-10-16 11.41, Василий Алферов wrote:
> Public bug reported:
>
> cmon on all 3 hosts in test install segfaulting in several minutes after
> start.
>
> Oct 16 13:55:51 mysql-c1 kernel: [82828.947741] cmon[10003]: segfault at 6d613365 ip 6d613365 sp b5d7ad90 error 14
> Oct 16 14:26:24 mysql-c1 kernel: [84661.181885] cmon[10043]: segfault at 696d6133 ip 696d6133 sp b5caed90 error 14 in libnss_nis-2.11.2.so[b4c9c000+8000]
> Oct 16 14:40:10 mysql-c1 kernel: [85487.707083] cmon[10117]: segfault at 33363335 ip 33363335 sp b5d92d90 error 14
> Oct 16 14:41:22 mysql-c1 kernel: [85560.097207] cmon[10167]: segfault at 302c3032 ip 302c3032 sp b5c66d90 error 14
> Oct 16 14:44:13 mysql-c1 kernel: [85730.361150] cmon[10197]: segfault at 33372e37 ip 33372e37 sp b5be7d90 error 14
> Oct 16 14:54:51 mysql-c1 kernel: [86368.399732] cmon[10256]: segfault at 20f13134 ip 20f13134 sp b5bf1d90 error 14
> Oct 16 14:55:55 mysql-c1 kernel: [86433.000149] cmon[10273]: segfault at 34323833 ip 34323833 sp b5c0ad90 error 14 in libnss_nis-2.11.2.so[b4af6000+8000]
> Oct 16 14:57:13 mysql-c1 kernel: [86510.723974] cmon[10298]: segfault at 1096628 ip 01096628 sp b5d18d90 error 14 in cmon[8048000+221000]
> Oct 16 14:58:43 mysql-c1 kernel: [86600.257398] cmon[10334]: segfault at 61336568 ip 0806fd25 sp b5c28d90 error 4 in cmon[8048000+221000]
> Oct 16 15:01:32 mysql-c1 kernel: [86769.756589] cmon[10362]: segfault at 2c33362c ip 2c33362c sp b5caed90 error 14 in libnss_nis-2.11.2.so[b4c9c000+8000]
> Oct 16 15:04:00 mysql-c1 kernel: [86917.605745] cmon[10370]: segfault at 61336568 ip 0806fd25 sp b5db4d90 error 4 in cmon[8048000+221000]
>
>
> Last lines from the strace were:
>
> [pid 27979] send(9, "\22\0\0\0\3SET SQL_LOG_OFF=1", 22, 0) = 22
> [pid 27979] recv(9, "\7\0\0\1\0\0\0\2\0\0\0", 16384, 0) = 11
> [pid 27979] poll([{fd=9, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
> [pid 27979] send(9, "\22\0\0\0\3SET SQL_LOG_BIN=0", 22, 0) = 22
> [pid 27979] recv(9, "\7\0\0\1\0\0\0\2\0\0\0", 16384, 0) = 11
> [pid 27979] poll([{fd=9, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
> [pid 27979] send(9, "\205\0\0\0\3select email, company, exp_"..., 137, 0) = 137
> [pid 27979] recv(9, "\1\0\0\1\0052\0\0\2\3def\4cmon\7license\7licen"..., 16384, 0) = 287
> [pid 27979] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> Process 27979 detached
> [pid 27982] +++ killed by SIGSEGV +++
> [pid 27981] +++ killed by SIGSEGV +++
> [pid 27980] +++ killed by SIGSEGV +++
> [pid 27978] +++ killed by SIGSEGV +++
> +++ killed by SIGSEGV +++
> Segmentation fault
>
> Coredump attached
>
> If you need extra information, please feel free contact me
>
> ** Affects: cmon
> Importance: Undecided
> Status: New
>