-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Galera Load Balancer connections crush #7
Comments
Sorry for late reply. As you can see, it looks very much like a system issue, at least it reports assertion failure in malloc code. This of course is very unlikely, but to find the offending code in glbd we need a backtrace. For that, please
Post stack.dump here, together with the glbd command line. Thanks, |
Don't remove the core file, it may be needed for further investigation. |
Hi, Alex. Router: Pool: connections per thread: 0 0 0 *** glibc detected *** glbd: realloc(): invalid pointer: 0x095961c0 *** It's created core dump file. root@galera1: Thread 10 (LWP 18828): Thread 9 (LWP 18824): Thread 8 (LWP 18822): Thread 7 (LWP 18821): Thread 6 (LWP 18820): Thread 5 (LWP 18819): Thread 4 (LWP 18818): Thread 3 (LWP 18875): Thread 2 (LWP 18874): Thread 1 (LWP 18833): That's all. Don't hesitate to push me if you need something else ;) Regards, |
Hi!
root@galera1:
Regards, |
Sorry for late response. I was on vacation and throw out computer :) root@galera1:
192.168.55.114:3308 : + 1.000 READY 0.21450 1.000 Destinations: 3 Router:
192.168.55.114:3308 : 1.000 0.000 N/A 0 Destinations: 2, total connections: 0 of 493 max Pool: connections per thread: 0 0 0 *** glibc detected *** ./src/glbd: realloc(): invalid pointer: 0x09481208 *** After it, dumped core was delivered to gdb. root@galera1:~/glb-1.0.1# gdb ./src/glbd -c core -batch -ex "thr apply all bt" > stack.dump warning: Can't read pathname for load map: Input/output error. Thread 10 (Thread 0xb4cdbb70 (LWP 13399)): Thread 9 (Thread 0xb54dcb70 (LWP 13395)): Thread 8 (Thread 0xb5cddb70 (LWP 13393)): Thread 7 (Thread 0xb64deb70 (LWP 13392)): Thread 6 (Thread 0xb6cdfb70 (LWP 13391)): Thread 5 (Thread 0xb74e0b70 (LWP 13390)): Thread 4 (Thread 0xb75ae6c0 (LWP 13389)): Thread 3 (Thread 0xb34d6b70 (LWP 13447)): Thread 2 (Thread 0xb3cd7b70 (LWP 13446)): Thread 1 (Thread 0xb44d8b70 (LWP 13402)): I hope, it helps, |
Hi there!
I try to connect more than 2 clients to galera cluster through glb.
What have i got:
root@galera1:~/glb-1.0.1# glbd -w exec:"/root/glb-1.0.1/files/mysql.sh -uroot -proot" -m 512 -t 3 3306 galera3:3308 galera2:3308 galera1:3308
Watchdog:
Address : exp setw state lat curw
192.168.55.115:3308 : + 1.000 READY 0.18607 1.000
192.168.55.114:3308 : + 1.000 READY 0.17800 1.000
127.0.1.1:3308 : + 1.000 READY 0.17787 1.000
Destinations: 3
Router:
Address : weight usage map conns
127.0.1.1:3308 : 1.000 0.500 N/A 1
192.168.55.114:3308 : 1.000 0.500 N/A 1
192.168.55.115:3308 : 1.000 0.500 N/A 1
Destinations: 3, total connections: 3 of 512 max
Pool: connections per thread: 1 1 1
glbd: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
INFO: glb_signal.c:42: Received signal 6. Terminating.
Aborted
I can send you virtualbox vm with galera cluster and glb.
Please, fix it.
Sincerely,
from Russia, with love.
The text was updated successfully, but these errors were encountered: