I trying to load test a new site and I am seeing alarming performance degradations with high concurrency using both the jTDS 1.3.1 JDBC driver and the Microsoft JDBC 4.0 driver.
Setup:
My app connects to the database fine and runs with no issues under minimal load. Once the load is increased to about 100 concurrent connections (using JMeter) requests get slower and slower, all waiting for database calls. I have already posted on both the MSDN and SourceForge forums, but I have started to wonder if the issue does not lie in Railo or if you guys can at least help me troubleshoot this.
Here are the two posts I have done already in the respective driver forums. Each of these posts has a full thread dump taken during load testing with that driver:
https://sourceforge.net/p/jtds/discussion/104389/thread/c1d78794/
Note this apparent Java deadlock I'm seeing when using the jTDS driver. The two classes blocking each other are internal Railo classes:
"http-bio-8888-exec-29" Id=151 BLOCKED on railo.runtime.db.DCStack@26c9b4c owned by "http-bio-8888-exec-9" Id=110 at railo.runtime.db.DatasourceConnectionPool.releaseDatasourceConnection(DatasourceConnectionPool.java:86) - blocked on railo.runtime.db.DCStack@26c9b4c at railo.runtime.db.DatasourceManagerImpl.releaseConnection(DatasourceManagerImpl.java:111)
and...
"http-bio-8888-exec-9" Id=110 BLOCKED on railo.runtime.db.DCStack@26c9b4c owned by "http-bio-8888-exec-29" Id=151 at railo.runtime.db.DatasourceConnectionPool.getDatasourceConnection(DatasourceConnectionPool.java:40) - blocked on railo.runtime.db.DCStack@26c9b4c at railo.runtime.orm.hibernate.HibernateORMEngine.createSession(HibernateORMEngine.java:128)
See the second link for the full thread dump. Can anyone help me troubleshoot this? Unfortunately, it's keeping my app from going live and I can't figure out why I'm seeing similar lockups with two different JDBC drivers.
Thanks!
~Brad
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/5228F0BD.5090007%40getrailo.com.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.
For more options, visit https://groups.google.com/groups/opt_out.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/5228FE59.6090809%40getrailo.com.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/31b15bcf-0a17-4e03-80aa-e0d593a6cc4b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAJVB4jd-a5K_spOCZ7Q8TrCe%3D_DWGD5BgsCaXXNfn_NFg%2Bqngw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAJVB4jdLQqFjncRjNrrb1y6kQKJNBkv0qyjNvbTQUYEkGdz17Q%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAB%3DtfTposd40HOY8yvKh812zekubOCQTF3i6D6bW0Ri9-AbcaQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/062a61fa-5186-402d-8721-a4c66bd8e07a%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.To view this discussion on the web visit https://groups.google.com/d/msgid/railo/81C7ACFD-000B-40C1-A4EF-CE9DF5B91807%40getrailo.com.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/522A451F.80308%40getrailo.com.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to a topic in the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/522AB8B0.2050500%40getrailo.com.