Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch RAM usage on local install #1848

Open
VlaK0r opened this issue Feb 24, 2024 · 2 comments
Open

Elasticsearch RAM usage on local install #1848

VlaK0r opened this issue Feb 24, 2024 · 2 comments

Comments

@VlaK0r
Copy link

VlaK0r commented Feb 24, 2024

Hello!
Thank you for your hard work.

The instance is installed on raspberrypi (Debian GNU/Linux 12 64bit / Linux 6.1.0-rpi8-rpi-v8)

image
image
image
image

The installation uses a large amount of RAM.
But after the installation is finished, the RAM remains occupied, plus it starts to fill up SWAP.
If you stop the db_elasticsearch container, then the consumption of RAM drops significantly.

Please tell me, is this the normal state of a working NewsBlur? Or is something not working correctly?

@VlaK0r
Copy link
Author

VlaK0r commented Feb 24, 2024

  db_elasticsearch:
    container_name: db_elasticsearch
    image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
    mem_limit: 512mb

I found this line in the file docker-compose.yml
But it turns out that this restriction does not work.

@VlaK0r
Copy link
Author

VlaK0r commented Feb 24, 2024

image

I read the documentation on elasticsearch.
mem_limit: 512mb - not right.
It is necessary to specify in bytes mem_limit: 536870912
Everything is working correctly now.

@samuelclay samuelclay changed the title RAM usage Elasticsearch RAM usage on local install Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant