Skip to content

Aurora MySQL crashes after update from 2.10.1 to 2.11.0 with many hanging "unauthenticated user"

0

Hi,

After updating Aurora MySQL from 2.10.1 to 2.11.0 on Sunday the following problem occurred immediately. Suddenly users (all internal from one IP) can no longer log in. Existing connections are not affected. Later I was able to see in the process list a lot of hanging "unauthenticated user" with a console connection created before the problem. If I try to kill such a process, the status changes to 'killed' but it keeps hanging unlimited. A reboot fixes the issue for a few minutes. Then again no users are able to login. It's a production system (db.r5.xlarge) with rather high traffic - only one internal application (no public web site). I created a clone Sunday night and it was fine for 48 hours. Then again. I suspect that it's caused by a certain pattern of many users at a time because a reboot helped only for a minute. I created another clone, stopped the application before, started it and it worked for 1 hour. Then again. There are no errors in the log, CPU is low and memory is plenty available. I created another clone with a larger machine and switched off some clients that are mainly reading. So far good since 2 hours. It seems like a bug in version 2.11.0. All recommended OS updates are applied.

This is what I found on the web - similar symptoms: https://dba.stackexchange.com/questions/291167/many-unauthenticated-user-on-mysql-processlist Unfortunately no solution.

Many thanks for any suggestions,

Andreas

  • I'm experiencing the exact same problem with an instance of Aurora MySQL 2.11.0 / 5.7.12-log after an update from 2.10.2 and applying the recommended OS update associated with this release. When an application tries to open multiple connections concurrently, they may get stuck in state 'login'. Show full processlist shows status like this: "187" "unauthenticated user" "10.90.100.5:57551" \N "Connect" "89" "login" \N "188" "unauthenticated user" "10.90.100.5:57550" \N "Connect" "89" "login" \N "189" "unauthenticated user" "10.90.100.5:57549" \N "Connect" "89" "login" \N "190" "unauthenticated user" "10.90.100.5:57553" \N "Connect" "89" "login" \N "191" "unauthenticated user" "10.90.100.5:57552" \N "Connect" "89" "login" \N "192" "unauthenticated user" "10.90.100.5:57554" \N "Connect" "89" "login" \N

  • An additional observation: When this happens, calls like "SELECT * FROM INFORMATION_SCHEMA.GLOBAL_STATUS" and "SELECT VARIABLE_NAME, VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME IN ( 'AURORA_VOLUME_BYTES_LEFT_TOTAL')" (the later is called by rdsadmin) will also block, and not complete till the application initiating the stuck connections is stopped.

asked 4 years ago1.3K views

1 Answer
2

Updating to 2.11.1 have fixed the problem for me.

answered 4 years ago

  • Thank you very much. We are going to try it. In our case the problem was caused by special BI/Reporting clients, only. So we moved them temporarily on a green replication that we updated to Aurora 3.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.