Problem controlling searching thread-pool

Hey,

I followed this http://www.elasticsearch.org/guide/reference/modules/threadpool.htmlto
try and set a fixed thread-pool for queries. I put this snippet in
elasticsearch.yml (using elastic 0.20.5):

threadpool:
search:
type: fixed
size: 200
queue_size: 100
reject_policy: caller

The numbers are not final, just for testing.

In any case elastic didnt start up and nothing useful appeared in the
logs.. am I missing something trivial?

Thanks

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

try size less than queue_size

On Sun, Mar 10, 2013 at 9:00 PM, Shlomi shlomivaknin@gmail.com wrote:

Hey,

I followed this http://www.elasticsearch.org/guide/reference/modules/threadpool.htmlto
try and set a fixed thread-pool for queries. I put this snippet in
elasticsearch.yml (using elastic 0.20.5):

threadpool:
search:
type: fixed
size: 200
queue_size: 100
reject_policy: caller

The numbers are not final, just for testing.

In any case elastic didnt start up and nothing useful appeared in the
logs.. am I missing something trivial?

Thanks

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey, sorry, that was a typo..

threadpool:
search:
type: fixed
size: 200
queue_size: 1000
reject_policy: caller

in my test, i want 100 threads, and a queue of 1000 requests.

Anything else?

On Sunday, March 10, 2013 5:47:10 PM UTC+2, Vineeth Mohan wrote:

try size less than queue_size

On Sun, Mar 10, 2013 at 9:00 PM, Shlomi <shlomi...@gmail.com <javascript:>

wrote:

Hey,

I followed this http://www.elasticsearch.org/guide/reference/modules/threadpool.htmlto
try and set a fixed thread-pool for queries. I put this snippet in
elasticsearch.yml (using elastic 0.20.5):

threadpool:
search:
type: fixed
size: 200
queue_size: 100
reject_policy: caller

The numbers are not final, just for testing.

In any case elastic didnt start up and nothing useful appeared in the
logs.. am I missing something trivial?

Thanks

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I tried this on my machine and it worked well

threadpool:
index:
type: fixed
size: 10
queue_size: 1000
reject_policy: caller

I know it sounds stupid , but can you make sure there is no white space
before threadpool.

Thanks
Vineeth

On Sun, Mar 10, 2013 at 10:32 PM, Shlomi shlomivaknin@gmail.com wrote:

Hey, sorry, that was a typo..

threadpool:
search:
type: fixed
size: 200
queue_size: 1000
reject_policy: caller

in my test, i want 100 threads, and a queue of 1000 requests.

Anything else?

On Sunday, March 10, 2013 5:47:10 PM UTC+2, Vineeth Mohan wrote:

try size less than queue_size

On Sun, Mar 10, 2013 at 9:00 PM, Shlomi shlomi...@gmail.com wrote:

Hey,

I followed this http://www.elasticsearch.org/guide/reference/modules/threadpool.htmlto
try and set a fixed thread-pool for queries. I put this snippet in
elasticsearch.yml (using elastic 0.20.5):

threadpool:
search:
type: fixed
size: 200
queue_size: 100
reject_policy: caller

The numbers are not final, just for testing.

In any case elastic didnt start up and nothing useful appeared in the
logs.. am I missing something trivial?

Thanks

--
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 elasticsearc...@**googlegroups.com.

For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks Vineeth,

the trivial thing that i missed was indeed whitespaces, not before the
thread, but on the search line...

works now

On Monday, March 11, 2013 10:28:58 AM UTC+2, Vineeth Mohan wrote:

I tried this on my machine and it worked well

threadpool:
index:
type: fixed
size: 10
queue_size: 1000
reject_policy: caller

I know it sounds stupid , but can you make sure there is no white space
before threadpool.

Thanks
Vineeth

On Sun, Mar 10, 2013 at 10:32 PM, Shlomi <shlomi...@gmail.com<javascript:>

wrote:

Hey, sorry, that was a typo..

threadpool:
search:
type: fixed
size: 200
queue_size: 1000
reject_policy: caller

in my test, i want 100 threads, and a queue of 1000 requests.

Anything else?

On Sunday, March 10, 2013 5:47:10 PM UTC+2, Vineeth Mohan wrote:

try size less than queue_size

On Sun, Mar 10, 2013 at 9:00 PM, Shlomi shlomi...@gmail.com wrote:

Hey,

I followed this http://www.elasticsearch.org/guide/reference/modules/threadpool.htmlto
try and set a fixed thread-pool for queries. I put this snippet in
elasticsearch.yml (using elastic 0.20.5):

threadpool:
search:
type: fixed
size: 200
queue_size: 100
reject_policy: caller

The numbers are not final, just for testing.

In any case elastic didnt start up and nothing useful appeared in the
logs.. am I missing something trivial?

Thanks

--
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 elasticsearc...@**googlegroups.com.

For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.