Hello! I've several days trying to figure this out but haven't been able to solve it.
Specs:
- CentOS release 6.8 (Final) with openVZ
- Linux xt5c-c7qk.accessdomain.com 2.6.32-042stab112.15 #1 SMP Tue Oct 20 17:22:56 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
- OpenJDK Runtime Environment (build 1.8.0_111-b15), OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
- RAM 2GB
- Free Drive space: 60%
I installed it via yum, and using that version because ActiveCollab suggested me to do so. I used
sudo chkconfig --add elasticsearch
sudo service elasticsearch start
and everything works ok for random time, from some minutes to some hours.
Log file shows:
[2016-11-30 07:32:28,587][DEBUG][action.search.type ] [Icarus] [active_collab_def09ee9285b569d2998300a04ec29521cc8d2cc][0], node[BUj92ayrRqSGys8IEenl0Q], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@6fda9c1b] lastShard [true]
java.lang.VerifyError: Illegal new instruction
Exception Details:
Location:
org/elasticsearch/index/query/QueryParseContext.cacheFilter(Lorg/apache/lucene/search/Filter;Lorg/elasticsearch/index/cache/filter/support/CacheKeyFilter$Key;)Lorg/apache/lucene/search/Filter; @41: new
Reason:
Invalid type: '' (constant pool 7)
Bytecode:
0x0000000: 2bc7 0005 01b0 2ab4 0096 9a00 112a b400
0x0000010: 789a 000a 2bc1 0105 9900 052b b02b c101
0x0000020: 0799 0013 2bc0 0107 4ebb 0007 592a 2d2c
0x0000030: b701 0ab0 2cc6 000d bb00 2a59 2b2c b701
0x0000040: 0d4c 2ab4 0094 b400 e3b6 0110 2bb9 0116
0x0000050: 0200 b0
Stackmap Table:
same_frame(@6)
same_frame(@27)
same_frame(@29)
same_frame(@52)
same_frame(@66)
at org.elasticsearch.search.internal.SearchContext.setCurrent(SearchContext.java:87)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:566)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:544)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:306)
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
and many blocks like this one. I tried to see kernel logs but it seems openVZ restrict the logging of kernel msgs. And withing /var/log/messages I couldn't find a "memory" problem at all (thinking on "out of memory" messages I've seen on some other threads).
Any help would be highly appreciated!
Thx in advance!