Is it possible to run Logstash 7.6.2 on 2GB RAM and 2 Core CPU

Hi Team,

I have only one Linux server with 2GB RAM and 2 core CPUs. Is it possible to tune the JVM limit the memory and use logstash in this server.

I have seen the optimization guide but it is some high level tech to me. Please help.

Regards
Karthik.K

i think it is

I run logstash on a t2.micro instance (1 CPU, 1 GB RAM) so it will run on twice that. Whether it will provide enough performance for your use case is a different question.

Hi Badger,

In my instance the logstash service keeps restarting due to some issues. Donno why and I can see majority of the

My 2 cores are being used 100% and Swap space is used around 65%.

Is there any way we can optimize this and make it to run with a reasonable performance ?

Regards
Karthik.K

Read the logs, find the issues, resolve them....

I have managed to run logstash 7.6.2 on a docker with flags --memory="1024m" and --cpus=1

Its running fine. So I find it better to run logstash as docker container to be resource effective.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.