Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4734 | crash | always | 08-30-11 11:04 | 06-22-12 10:24 | |
|
|||||
Reporter: | drsskelkar | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.10 | ||
Product Build: | Resolution: | no change required | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0004734: Resin hangs on concurrent database connection load | ||||
Description: |
I have noticed strange behavior of resin under concurrent database access load Environment: (1) OS : Ubuntu Linux 10.04.3 32 bit (2) JDK Version 6 and 7 both (3) MySQL Both 5.1 and 5.5 (4) JDBC driver connector J 5.1.17 (5) Resin 3.1.10 On intranet if about 50 user login naturally ( may be one after another ) all are able to login ( which requires database access )and application works properly. But if all user login instantly ( special case to test the load ) resin hangs and becomes totally non-responsive ( Other web applications also get stalled ) database configuration as follows <database> <jndi-name>jdbc/schoolquiz</jndi-name> <driver> <type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type> <url>jdbc:mysql://localhost:3306/schoolquiz?characterEncoding=UTF-8</url> [^] <user>schoolquiz</user> <password>quizmagic</password> </driver> <prepared-statement-cache-size>8</prepared-statement-cache-size> <max-connections>100</max-connections> <max-idle-time>30s</max-idle-time> </database> the jvm-dafault.log file mostly shows errors of type Closing dangling connections. All connections must have a close() in a finally block. I have repeatedly checked the code but there are no dangling connections ! Every connection is closed in finally block Thanks and regards Sharad Kelkar |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|