The queue sizes are defined in the threadpool section of the configuration. IIRC, they cannot be updated dynamically:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-threadpool.html -- Ivan On Fri, May 30, 2014 at 2:56 PM, srikanth ramineni <[email protected]> wrote: > Hi , > > I am getting below es rejection exception. > problem updating content indexing for entity: > 85539735340578996965234585294218135410438591031260132420 error: > EsRejectedExecutionException[rejected execution (queue capacity 50) > on > org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1@4a444d2e > ] > > Can you please provide me code how to set bulk queue to -1 . > Help would be appreciable. > > Thanks, > Srikanth. > > On Thursday, 30 January 2014 21:48:31 UTC-8, Ramchandra Phadake wrote: >> >> Hi, >> >> Recently we migrated from 0.90.1 to 0.90.9. We did change >> index.codec.bloom.load=false initially but even with true we obsetve same >> behaviour. >> Nothing else has changed from indexing code. We are using bulk API. Any >> pointers why we can get EsRejectedExecutionException? >> This doesn't frequently in indexing process. >> >> We did try by setting with few thousand size but this exception comes but >> rarely. >> After setting bulk queue to -1 it appears to be working. -1 means >> unbounded size so is it safe to set to -1. >> >> Thanks, >> Ram >> >> -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/da25b26f-d168-4733-8b6e-f1f42c1fac7c%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/da25b26f-d168-4733-8b6e-f1f42c1fac7c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCNNNA55zkWx9p-SS3ctZjyX4q%2BgqYgLfHfyF4OTmaN2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
