Bug #24373 | High CPU utilization when no idle connection | ||
---|---|---|---|
Submitted: | 16 Nov 2006 21:35 | Modified: | 27 Feb 2007 11:19 |
Reporter: | Karl Seguin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S5 (Performance) |
Version: | 5.0.x | OS: | Windows (Win32) |
Assigned to: | CPU Architecture: | Any | |
Tags: | .net, pooling, timeout |
[16 Nov 2006 21:35]
Karl Seguin
[16 Nov 2006 21:45]
Karl Seguin
Sorry, the last point about "CreateNewPooledConnection" was just an unrelated remark...
[22 Nov 2006 12:21]
Tonci Grgin
Karl, thanks for your excellent problem report. Verified as described by reporter with latest sources. Until timeout expires, CPU is locked at 100%: Connecting to Mysql DB error connecting: Timeout expired. The timeout period elapsed prior to obtainin g a connection from the pool. This may have occurred because all pooled connect ions were in use and max pool size was reached.
[22 Nov 2006 12:22]
Tonci Grgin
Test case
Attachment: Program.cs (text/plain), 1.50 KiB.
[22 Feb 2007 20:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/20413
[22 Feb 2007 20:07]
Reggie Burnett
Fixed in 1.0.10 and 5.0.4
[22 Feb 2007 20:52]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/20420
[27 Feb 2007 11:19]
MC Brown
A note has been added to the 5.0.4 and 1.0.10 changelogs.