More than 1 Couchbase Environments found (2), this can have severe impact on performance and stability. Reuse environments!


#1

More than 1 Couchbase Environments found (2), this can have severe impact on performance and stability. Reuse environments!
Also, in the logs Couchbase is connecting like this(Below are the logs):-
It connects then Disconnects and then again finally Connects and this always happens the same way whenever we are connecting to Couchbase through our application.

2018-05-04 16:36:15.182 INFO 90820 — [ restartedMain] com.couchbase.client.core.CouchbaseCore : CouchbaseEnvironment: {sslEnabled=false, sslKeystoreFile=‘null’, sslKeystorePassword=false, sslKeystore=null, bootstrapHttpEnabled=true, bootstrapCarrierEnabled=true, bootstrapHttpDirectPort=8091, bootstrapHttpSslPort=18091, bootstrapCarrierDirectPort=11210, bootstrapCarrierSslPort=11207, ioPoolSize=3, computationPoolSize=3, responseBufferSize=16384, requestBufferSize=16384, kvServiceEndpoints=1, viewServiceEndpoints=1, queryServiceEndpoints=1, searchServiceEndpoints=1, ioPool=NioEventLoopGroup, coreScheduler=CoreScheduler, memcachedHashingStrategy=DefaultMemcachedHashingStrategy, eventBus=DefaultEventBus, packageNameAndVersion=couchbase-java-client/2.3.7 (git: 2.3.7, core: 1.3.7-dirty), dcpEnabled=false, retryStrategy=BestEffort, maxRequestLifetime=75000, retryDelay=ExponentialDelay{growBy 1.0 MICROSECONDS, powers of 2; lower=100, upper=100000}, reconnectDelay=ExponentialDelay{growBy 1.0 MILLISECONDS, powers of 2; lower=32, upper=4096}, observeIntervalDelay=ExponentialDelay{growBy 1.0 MICROSECONDS, powers of 2; lower=10, upper=100000}, keepAliveInterval=30000, autoreleaseAfter=2000, bufferPoolingEnabled=true, tcpNodelayEnabled=true, mutationTokensEnabled=false, socketConnectTimeout=5000, dcpConnectionBufferSize=20971520, dcpConnectionBufferAckThreshold=0.2, dcpConnectionName=dcp/core-io, callbacksOnIoPool=false, disconnectTimeout=25000, requestBufferWaitStrategy=com.couchbase.client.core.env.DefaultCoreEnvironment$2@7200e56d, queryTimeout=75000, viewTimeout=75000, kvTimeout=2500, connectTimeout=3000000, dnsSrvEnabled=false}
2018-05-04 16:36:15.870 INFO 90820 — [ cb-io-1-1] com.couchbase.client.core.node.Node : Connected to Node localhost
2018-05-04 16:36:16.391 INFO 90820 — [ cb-io-1-1] com.couchbase.client.core.node.Node : Disconnected from Node localhost
2018-05-04 16:36:18.072 INFO 90820 — [ cb-io-1-2] com.couchbase.client.core.node.Node : Connected to Node localhost
2018-05-04 16:36:18.375 INFO 90820 — [-computations-3] c.c.c.core.config.ConfigurationProvider : Opened bucket PAID
2018-05-04 16:36:19.512 WARN 90820 — [ restartedMain] c.c.client.core.env.CoreEnvironment : More than 1 Couchbase Environments found (2), this can have severe impact on performance and stability. Reuse environments!
2018-05-04 16:36:19.513 INFO 90820 — [ restartedMain] c.c.client.core.env.CoreEnvironment : ioPoolSize is less than 3 (2), setting to: 3