Java bonecp使如此多的会话和进程处于非活动状态

Java bonecp使如此多的会话和进程处于非活动状态,java,jdbc,oracle11g,connection,bonecp,Java,Jdbc,Oracle11g,Connection,Bonecp,我使用了bone cp 0.8.0 release.jar,尽管数据库上没有连接,但进程和会话仍在急剧显示 以下是配置: boneCPConfig.setUsername(obj.getProperty("username")); boneCPConfig.setPassword(obj.getProperty("password")); boneCPConfig.setMinConnectionsPerPartition(0); boneCPConfig.setMaxConnectionsPe

我使用了bone cp 0.8.0 release.jar,尽管数据库上没有连接,但进程和会话仍在急剧显示

以下是配置:

boneCPConfig.setUsername(obj.getProperty("username"));
boneCPConfig.setPassword(obj.getProperty("password"));
boneCPConfig.setMinConnectionsPerPartition(0);
boneCPConfig.setMaxConnectionsPerPartition(10);
boneCPConfig.setPartitionCount(1);
boneCPConfig.setAcquireIncrement(2);
boneCPConfig.setConnectionTimeoutInMs(10000);
boneCPConfig.setIdleMaxAgeInSeconds(300);
boneCPConfig.setStatementsCacheSize(20);
boneCPConfig.setLazyInit(false);
boneCPConfig.setMaxConnectionAgeInSeconds(0);
boneCPConfig.setTransactionRecoveryEnabled(false);
boneCPConfig.setDisableConnectionTracking(false);
boneCPConfig.setCloseConnectionWatch(false);
boneCPConfig.setAcquireRetryAttempts(5);
boneCPConfig.setCloseConnectionWatchTimeoutInMs(0);
boneCPConfig.setIdleConnectionTestPeriodInMinutes(10);
有人能帮我吗?是否需要设置任何配置来删除保存进程的非活动会话