[MDEV-14781] regression in 10.2 but where ? Created: 2017-12-27 Updated: 2018-11-07 Resolved: 2018-11-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | SSL |
| Affects Version/s: | 10.2.11 |
| Fix Version/s: | 10.2.19 |
| Type: | Bug | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ODBC, SSL, Thread, ThreadPool | ||
| Environment: |
MariaDB-10.2.11+maria~jessie-log |
||
| Description |
|
When connecting with SSL from ODBC via WLAN , we can connect once and than closing ODBC , but after doing so reconnection get impossible. We observe some pending connection in login state
And database SQL become very slow for all operations, i guess that's an effect of thread pool. Note VM has only one core, so thread_pool_size is 1 Killing those unauthenticated treads make the database performance back to normal . So far downgrading to last 10.1 looks a valid workaround Test was done using Connections to user that don't have USING_SSL never trigger this issue custom variables
|
| Comments |
| Comment by Vladislav Vaintroub [ 2018-01-04 ] |
|
stephane@skysql.com, can you provide all threads stacks if this situation occurs? |
| Comment by VAROQUI Stephane [ 2018-01-04 ] |
|
Hi Vlad, Did not mention it but this was using the docker MariaDB images ! There is no debug build of MariaDB docker, as well i have no access to windows ODBC myself but was exposing those services over WAN! Can you expose docker images with debug mode.! /stéphane |
| Comment by Vladislav Vaintroub [ 2018-01-04 ] |
|
that's not a question to me , Stephane. I'm fully oblivious to the docker, but our normal build always generates debug info in the images. I'll try to artificially add some sleeps into client library to emulate slow connections. In the meantime, you can try to decrease thread-pool-stall-limit, to something small like 50ms, or even less. Alternatively increase thread-pool-size slightly. |