PreBuiltTransportClient :available processors value [30] did not match current value [45], IllegalStateException


(Amit) #1

Hi,

I am using ES 5.6.10 :

My ES Tcp Client component resides on multiple JVM, so multiple instances Of TranpsortClient send request to Elastic Search cluster.

I am seeing following IllegalStateException:
[http-nio-31078-exec-20] PreBuiltTransportClient :available processors value [30] did not match current value [45]
java.lang.IllegalStateException: available processors value [30] did not match current value [45]
at org.elasticsearch.transport.netty4.Netty4Utils.setAvailableProcessors(Netty4Utils.java:96)
at org.elasticsearch.transport.netty4.Netty4Transport.(Netty4Transport.java:140)
at org.elasticsearch.xpack.security.transport.netty4.SecurityNetty4Transport.(SecurityNetty4Transport.java:72)

I was referring:

Since I have multiple instances of Transport client and no other utilities which can invoke Netty, so should I set following:

es.set.netty.runtime.available.processors to false

Thanks,
Amit