Bug #98667 "All pipe instances are busy" exception on multiple connections to named Pipe
Submitted: 19 Feb 12:55
Reporter: Veera P Email Updates:
Status: Open Impact on me:
Category:Connector / J Severity:S2 (Serious)
Version:8.0.17 OS:Microsoft Windows
Assigned to: CPU Architecture:Any
Tags: All pipes, Busy

[19 Feb 12:55] Veera P
We are using mysql-connector-java-8.0.17.jar to connect to mysql DB via sockets. Sometimes we see \\.\pipe\MySQL (All pipe instances are busy) issue when we try to connect to open multiple connections. Not sure this reproduces all the windows machines, but we observe this when windows connected to domain network.

Similar issue also reported on MariaDB and other open source connectors, where they had already fixed. Here is the link to them:

Stack traces will be attached soon.

How to repeat:
There is no special case here to reproduce, but we observe this, when we login to machine which is placed on domain network, as user and run the process (which intern installs mysql and start) as admin, and trying to connect to DB after successful start of mysql.

Suggested fix:
I believe, when pipes are busy issue occurred, retry connection may fix issue.
[19 Feb 12:57] Veera P
Stacktrace to the bug

Attachment: stacktrace.log (application/octet-stream, text), 8.66 KiB.