ElasticSearch: Difference between revisions

From neuromatch
No edit summary
No edit summary
Line 1: Line 1:
Up to: [[Part Of::Tech WG]], [[Part Of::Search]]
== Config ==
== Config ==


Line 38: Line 40:


Since we are running on a small VPS, we might need to configure it for a low memory environment!
Since we are running on a small VPS, we might need to configure it for a low memory environment!
== See also ==
* [[Search]]


== Discord ==
== Discord ==
Line 49: Line 55:
|Link=https://discord.com/channels/1049136631065628772/1167287930742652958/1167289017205792969
|Link=https://discord.com/channels/1049136631065628772/1167287930742652958/1167289017205792969
}}
}}
[[Category:Search]]
[[Category:Config]]
[[Category:Services]]

Revision as of 02:52, 27 October 2023

Up to: Tech WG, Search

Config

List any changed config values here!!!

/etc/elasticsearch/elasticsearch.yml:

network.host: localhost
discovery.type: single-node
xpack.security.enabled: true

/home/mastodon/.env.production

idk if we should put this part online but there is some config here too

Memory

the ES docs say to allocate half your available memory to the heap. At the moment (23-10-26) we are using 2.5G/8G memory at rest. Going to try allocating 3GB and see what happens

/lib/systemd/system/elasticsearch.service

[Service]
Environment=ES_HEAP_SIZE=3g


References

Docs:

Since we are running on a small VPS, we might need to configure it for a low memory environment!

See also

Discord

sneakers.the.rat#elasticsearch23-10-27 02:29:48

OK yet again starting thread on getting ElasticSearch running