Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于我们的 JDBC 池,我们配置了最大池大小 128,我可以在管理控制台中看到这个设置。
但是,查看 Payara 为该池提供的监控数据,我们可以看到高水位标记值 (NumConnUsed) 大于 128。
怎么会这样?在另一个线程中,我读到这可能与被池认为已死但仍处于打开状态的悬空连接有关。
是否有一些设置可以调整以避免这种情况?