Skip to content

关于druid连接池中拿不到连接的问题 #2168

@ChangFeng2015

Description

@ChangFeng2015

我这边项目使用了druid作为连接池,但是时常出现connection holder is null,除了这个还有Lock wait timeout exceeded; try restarting transaction,我想分析一下第一个报错是不是由第二种第二种报错引起的,想问您,druid中的连接在产生锁等待超时后,对该连接有没有做相应的回收处理,没有回收连接的话,很可能导致过多的connection被占用

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions