• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Elasticsearch Server Impact Thread

Rudy

Well-known member
#21
I'm going to watch this carefully. We probably can't afford a server upgrade for awhile, and we're maxed out on our server at 4GB right now. If ES is going to exhaust our limited memory, we may have to pay someone to do an update to the Sphinx add-on instead. Or just tough it out and stick with vB 3.7 (which I have grown to really dislike lately).
 

DeltaHF

Well-known member
#22
I'm on vB 3.8. When I do eventually move over to XF, I'm going to try running ElasticSearch on a cheap Amazon EC2 instance so it won't affect the memory usage of my primary server. The "Small", standard instances (1.7GB RAM, 160GB HD) can be reserved for $97 per year.
 

duderuud

Active member
#23
Testmigration
Posts Indexed: ~22.5 million
Size on Disk: 19GB Total
Min/Max Ram Allocated in config: 2gb/6gb

19GB..quite a lot!
 

craigiri

Well-known member
#25
1.1 million posts....

That command lists hundreds of items, but at the bottom is
2.5 Gig.....nodes/indices

Speaking of that, the list still includes a ES instance that I installed (well, Slavik installed) on my test XF installation. I have removed that XF instance and even the db.

Does ES eventually "forget" this? This was over a month ago and it still shows up in that du.
 

Slavik

XenForo moderator
Staff member
#26
1.1 million posts....

That command lists hundreds of items, but at the bottom is
2.5 Gig.....nodes/indices

Speaking of that, the list still includes a ES instance that I installed (well, Slavik installed) on my test XF installation. I have removed that XF instance and even the db.

Does ES eventually "forget" this? This was over a month ago and it still shows up in that du.
You need to delete the relevent folder from within the ES data directory for your test installation :)
 

craigiri

Well-known member
#27
You need to delete the relevent folder from within the ES data directory for your test installation :)
OK.....so I can delete it from the command line instead of with the ES delete index command?
And everything else will then adjust itself as the ongoing indexes update?

For clarity, there are two directories in "indices" - one for the older test setup and one for the existing live setup. I assume I simply delete the older one completely??

"Better to be safe than sorry", I say.......
:)
 

Slavik

XenForo moderator
Staff member
#28
OK.....so I can delete it from the command line instead of with the ES delete index command?
And everything else will then adjust itself as the ongoing indexes update?

For clarity, there are two directories in "indices" - one for the older test setup and one for the existing live setup. I assume I simply delete the older one completely??

"Better to be safe than sorry", I say.......
:)

Yes for example it would be something like

/var/elasticsearch/*your es name*/nodes/0/indices

In there you would have 2 folders, one for your old and one for your new.

Just delete the old folder outright. It will have no effect on your new one.