vi php.ini

...

# if use connection pool
# default value is false
# since V4.05
use_connection_pool = false

# connections whose the idle time exceeds this time will be closed
# unit: second
# default value is 3600
# since V4.05
connection_pool_max_idle_time = 3600

 ...

 

如果use_connection_pool = true

connection_pool_max_idle_time = 3600

这样连接池就会保持3600s时间,这样会导致连接无法释放

相关文章:

  • 2021-07-12
  • 2021-08-21
  • 2021-11-19
  • 2021-11-13
  • 2021-06-07
  • 2021-10-08
猜你喜欢
  • 2022-02-26
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2022-01-18
  • 2021-07-28
相关资源
相似解决方案