The bulk thread pool has a cap on the queue size which is 50
(threadpool.bulk.queue_size). Once you reach that cap, you will start
getting the rejected exceptions. That is there for a reason so that the
thread pool does not get out of control. You can try to increase the queue
size slightly but if that still doesn't fix your problem, then you need to
reduce your bulk concurrency/size since you may be reaching the limits of
what your node hardware can handle.
Thanks for your reply.I am setting for *threadpool.bulk.queue_size:
300* in elasticsearch.yml it's okay.
On Thursday, March 27, 2014 6:00:42 PM UTC+5:30, Binh Ly wrote:
The bulk thread pool has a cap on the queue size which is 50
(threadpool.bulk.queue_size). Once you reach that cap, you will start
getting the rejected exceptions. That is there for a reason so that the
thread pool does not get out of control. You can try to increase the queue
size slightly but if that still doesn't fix your problem, then you need to
reduce your bulk concurrency/size since you may be reaching the limits of
what your node hardware can handle.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.