Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Sergey_SV Posted August 26, 2019 Posted August 26, 2019 Hi may be someone have an idea, we have swithced to the Elastic search while ago, when it was introduced to the IPB. At the begining we have trouble with CPU utilisation, but them it was resolved by the IPB team. Since them Elastic was running smooth and reliable Recently after uprade to 4.4.4 we got the trouble with cashing and switch to Redis from Memcache. After this we strarted having problems with Elasticsearch, since it starting to shutdown after 2-3 days with the error "OutOfMemory error Java heap space". There was no change in config of Elastic. We encreased the Max heap space to 24 GB, but this doesnt help. It just constantly consumes memory, until crash. We also upgraded Elastic to 6.8.2, but didnt help also. Any body have an idea where to look?
bfarber Posted August 26, 2019 Posted August 26, 2019 I've googled the error, and the common solution is to increase the heap size available to Elasticsearch. You can google it, but ultimately many of the links I found point back here: https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html
Sergey_SV Posted August 26, 2019 Author Posted August 26, 2019 @bfarber yeah, I'v been googling it for the last 7 days etensivly. but thess solutions are not working. Before upgrade to 4.4.4 the avaliable heap size was 6gb, and it was running ok since last October. Now we increased this value first to 16 gb, now to 24gb, and it consumes it within 5-7 days, then crashes.
expeditedshipper Posted August 27, 2019 Posted August 27, 2019 @Sergey_SV how did you get it installed on each page...is there a plugin for it?
Sergey_SV Posted August 28, 2019 Author Posted August 28, 2019 @expeditedshipper Sorry, I do not get your question. Coudl you pls elaborate
expeditedshipper Posted August 28, 2019 Posted August 28, 2019 Elasticsearch needs the Javascript Snippet installed on each page...correct? How did you do this?
bfarber Posted August 28, 2019 Posted August 28, 2019 14 minutes ago, expeditedshipper said: Elasticsearch needs the Javascript Snippet installed on each page...correct? How did you do this? No, Elasticsearch does not require a special javascript snippet to be used.
expeditedshipper Posted August 28, 2019 Posted August 28, 2019 I believe it says so here: https://swiftype.com/documentation/site-search/crawler-quick-start Maybe I'm wrong...any guidance on getting it set up? This is the one i was planning on using (please let me know if that's incorrect): https://www.elastic.co/products/elasticsearch
bfarber Posted August 29, 2019 Posted August 29, 2019 That site is a subsidiary of Elasticsearch offering a custom service where anyone can add a search box to their site, and the way the content is indexed is through a javascript snippet. That's not how Elasticsearch integration within our software would work. Basically you need to: Install Elasticsearch, or sign up for a hosted Elasticsearch service Enter the details for your server (namely the URL and port number) into the AdminCP after choosing to use Elasticsearch When you do this and save, the search index will be rebuilt which can take a little time depending on the size of your site. But really that's all there is to it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.