Maxxius Posted November 14, 2019 Posted November 14, 2019 Hi, I wonder is there some configuring needing to be done on the server (or anywhere) except for IPS ACP. The search does wonders but I had this search service stop once and now I'm noticing that thou Elastic search works, you can search and find things but any new topics made in forum and new articles written do not appear on ALL ACTIVITY stream though it clearly should. Switched back to mysql - topics appeared. Something is still wrong..
Maxxius Posted November 14, 2019 Author Posted November 14, 2019 I tried to rebuild the index - missing topic and articles appeared. Its the 3 time I had to rebuild the index for various reasons. What are the do's and don't when setting up Elastic search on one's own server?
jair101 Posted November 15, 2019 Posted November 15, 2019 You most probably need to increase the memory reserved for the elasticsearch service. It needs to be at least the size of the core_search_index (or something similar can't remember the exact name of the table) before you switched from mysql. If you don't know its size, switch back, reindex and check it. https://www.elastic.co/guide/en/elasticsearch/reference/master/jvm-options.html - this page links to brief explanation of the various jvm settings. And this shows precisely the values you need to change: https://www.elastic.co/guide/en/elasticsearch/reference/master/heap-size.html In my experience, heap size is pretty much the only thing you had to tweak to get it working reliably. Also, do you use ES 6.x or 7? I think IPS is still not fully compatible with ES7.
Maxxius Posted November 15, 2019 Author Posted November 15, 2019 Thanks for the tips @jair101 I opened up phpMyadmin found core_search_index table and at my forum is only 6.9 MB is this what I should be looking at? It is running now again on Elastic fully reindexed when I looked at it. This can't be right I think. Perhaps I'm not looking at the posts table, which is the biggest one nearly at 600 MBs? I'm on 6.x as IPS recommends it.
b416 Posted November 15, 2019 Posted November 15, 2019 I added elasticsearch 6.8.4 to my configuration yesterday and not only everything works just fine, but oh boy it's fast !!! Congrats IPS team, you nailed it this time.
jair101 Posted November 15, 2019 Posted November 15, 2019 5 hours ago, Maxxius said: Thanks for the tips @jair101 I opened up phpMyadmin found core_search_index table and at my forum is only 6.9 MB is this what I should be looking at? It is running now again on Elastic fully reindexed when I looked at it. This can't be right I think. Perhaps I'm not looking at the posts table, which is the biggest one nearly at 600 MBs? I'm on 6.x as IPS recommends it. Yeah, I think thats the table. So the default heap size of 1g (I think) should be more then enough as well. Do you have enough ram on your server?
Maxxius Posted November 15, 2019 Author Posted November 15, 2019 I got 16GB Ram, told admin to set aside 3GB RAM for elastic, will see how this works out.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.