Hey everyone
I'm running ES on a single server through a single node with persistent
data. Following some guides I found online, I added the following to
elasticsearch.yml:
Not refreshing the index
index.refresh_interval: -1
Uses less memory this way (default 1)
index.term_index_divisor: 5
also less memory usage
index.term_index_interval: 256
Nevertheless, the server becomes really sluggish after some time (about a
week). The last things I see in the log are:
[2013-06-16 21:15:23,349][DEBUG][action.search.type ] [Pretty
Persuasions] [186556171] Failed to execute fetch phase
org.elasticsearch.search.SearchContextMissingException: No search context
found for id [186556171]
at org.elasticsearch.search.SearchService.findContext(SearchService.java:
455)
at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.
java:428)
at org.elasticsearch.search.action.SearchServiceTransportAction.
sendExecuteFetch(SearchServiceTransportAction.java:345)
at org.elasticsearch.action.search.type.
TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(
TransportSearchQueryThenFetchAction.java:149)
at org.elasticsearch.action.search.type.
TransportSearchQueryThenFetchAction$AsyncAction$2.run(
TransportSearchQueryThenFetchAction.java:136)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:615)
at java.lang.Thread.run(Thread.java:722)
[2013-06-16 21:18:19,913][WARN ][monitor.jvm ] [Pretty
Persuasions] [gc][ParNew][867853][376928] duration [1.2s], collections [1]/[
1.2s], total [1.2s]/[2.6h], memory [854.3mb]->[531.4mb]/[2.9gb], all_pools
{[Code Cache] [7.7mb]->[7.7mb]/[48mb]}{[Par Eden Space] [502.8mb]->[366.7kb
]/[532.5mb]}{[Par Survivor Space] [28.4mb]->[66.5mb]/[66.5mb]}{[CMS Old Gen]
[323mb]->[464.5mb]/[2.3gb]}{[CMS Perm Gen] [31.8mb]->[31.8mb]/[82mb]}
[2013-06-16 21:21:24,234][INFO ][monitor.jvm ] [Pretty
Persuasions] [gc][ParNew][868037][377034] duration [997ms], collections [1
]/[1.1s], total [997ms]/[2.6h], memory [1.1gb]->[1010.8mb]/[2.9gb],all_pools
{[Code Cache] [7.7mb]->[7.7mb]/[48mb]}{[Par Eden Space] [406.3mb]->[943kb]/[
532.5mb]}{[Par Survivor Space] [23.3mb]->[66.5mb]/[66.5mb]}{[CMS Old Gen] [
796.2mb]->[943.4mb]/[2.3gb]}{[CMS Perm Gen] [31.8mb]->[31.8mb]/[82mb]}
When I restart the server, the performance goes up again. Did I make some
mistake in my configuration?
Thanks in advance.
--
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.