Unable to fill pool (no buffer space available)

前端 未结 2 2401
不知归路
不知归路 2021-02-20 16:41

I\'m using Wildfly 8.2 and fire a series of DB requests when a certain web page is opened. All queries are invoked thru JPA Criteria API, return results as expected - and - none

相关标签:
2条回答
  • 2021-02-20 17:09

    Do you use openvz? I think this question should be asked on serverfault. It is related to linux configuration. You can read: tcpsndbuf. You should count opened sockets and check condition:

    0 讨论(0)
  • 2021-02-20 17:18

    Try adding this Hibernate property:

    <property name="hibernate.connection.release_mode">after_transaction</property>
    

    By default, JTA mandates that connection should be released after each statement, which is undesirable for most use cases. Most Drivers don't allow multiplexing a connection over multiple XA transactions anyway.

    0 讨论(0)
提交回复
热议问题