4,575,304 th visitor since 2017.2.1 ( Today : 2312 )
Computer ???
No. 30
Name. swindler
Subject. resin pool parameter
Main Cate. Linux
Sub Cate.
Date. 2005-03-11 17:14
Hit. 3158 (211.219.39.230)
File.
Pooling Parameters Attribute Meaning Default

max-connections Maximum number of allowed connections 20
max-idle-time Maximum time an idle connection is kept in the pool 30 sec
max-active-time Maximum time a connection allowed to be active 6 hours
max-pool-time Maximum time a connection is kept in the pool 24 hours
connection-wait-time How long to wait for an idle connection (Resin 1.2.3) 10 minutes
max-overflow-connections How many "overflow" connection are allowed if the connection wait times out. 0


max-active-time과 max-pool-time을 조정하면,(현저히 줄이면)
APP 단에서 DB Release 안 한 경우에 대해서 어느정도 예방할 수 있다.





[바로가기 링크] : http://coolx.net/cboard/computer/30



Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog