Skip to content

activeCount不释放,达到maxActive后,服务不可用 #4438

@BruceZhangXL

Description

@BruceZhangXL

druid版本 1.1.22
参数:
{"initialSize":70,"minIdle":70,"maxActive":80,"maxWait":1500,"removeAbandoned":false,"removeAbandonedTimeoutMillis":180000,"timeBetweenEvictionRunsMillis":15000,"minEvictableIdleTimeMillis":54000,"maxEvictableIdleTimeMillis":54000,"validationQuery":"SELECT 'x'","testWhileIdle":true,"testOnBorrow":false,"testOnReturn":false,"keepAlive":true,"useUnfairLock":true,"filters":"stat"}

问题:线上突然有部分机器activeCount持续缓慢增长,直到达到maxActive,服务不可用

dump内存�发现 activeCount=65,但是此时应用上没有使用连接的线程

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions