Skip to content

Resolve high thread count when using findSocketUsingThreading#2104

Merged
Jeffery-Wasty merged 46 commits intomainfrom
infiniteThreads
Jun 6, 2023
Merged

Resolve high thread count when using findSocketUsingThreading#2104
Jeffery-Wasty merged 46 commits intomainfrom
infiniteThreads

Conversation

@Jeffery-Wasty
Copy link
Copy Markdown
Contributor

@Jeffery-Wasty Jeffery-Wasty commented Mar 31, 2023

findSocketUsingThreading can reach high thread counts for some users. This was due to an uncaught exception.

@Jeffery-Wasty Jeffery-Wasty added this to the 12.3.0 milestone Apr 3, 2023
@Jeffery-Wasty Jeffery-Wasty marked this pull request as draft April 11, 2023 19:36
@Jeffery-Wasty Jeffery-Wasty modified the milestones: 12.3.0, 12.3.1 May 4, 2023
@Jeffery-Wasty Jeffery-Wasty marked this pull request as ready for review May 16, 2023 17:15
@lilgreenbird lilgreenbird requested a review from David-Engel May 17, 2023 19:52
Comment thread src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java Outdated
Comment thread src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java Outdated
Comment thread src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java Outdated
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/SQLServerConnectionTest.java Outdated
tkyc
tkyc previously approved these changes May 24, 2023
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/SQLServerConnectionTest.java Outdated
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/SQLServerConnectionTest.java Outdated
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/SQLServerConnectionTest.java Outdated
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/SQLServerConnectionTest.java Outdated
@Jeffery-Wasty Jeffery-Wasty merged commit 0eec249 into main Jun 6, 2023
@Jeffery-Wasty Jeffery-Wasty deleted the infiniteThreads branch June 7, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinite loop in SQLServerConnection.login, spawning thousands of threads, causes high CPU and threads consumption

4 participants