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

How to keep Elastic Search running?

Big Dan

Active member
#1
Hi Guys,

I wondering how to keep elastic search running on my server. I'm running CentOS 5.7.

The reason I ask is my users were reporting errors with search it turned out Elastic Search wasn't running for some reason. :confused:

I issued ./elasticsearch start and everything is working again but is there away to make sure the daemon is always running?

Thanks,
Dan
 

Coop1979

Well-known member
#4
Is there a deeper issue there? I've had elasticsearch go down on me twice in the last few hours. Logs don't give me any indication as to why.
 

Coop1979

Well-known member
#6
When I look at how big my ES folder is, it shows as 1.9 GB. I only gave ES 2GB of RAM to use. Could it be trying to index new posts and running into a space issue?
 

Slavik

XenForo moderator
Staff member
#7
When I look at how big my ES folder is, it shows as 1.9 GB. I only gave ES 2GB of RAM to use. Could it be trying to index new posts and running into a space issue?
You would get a memory related error in the ACP if that was the case.
 

Coop1979

Well-known member
#10
This is all it says.

Code:
[2012-06-01 13:59:34,087][INFO ][node                    ] [Nital, Adri] {0.18.7}[2020]: stopping ...
[2012-06-01 13:59:34,165][INFO ][node                    ] [Nital, Adri] {0.18.7}[2020]: stopped
[2012-06-01 13:59:34,166][INFO ][node                    ] [Nital, Adri] {0.18.7}[2020]: closing ...
[2012-06-01 13:59:34,190][INFO ][node                    ] [Nital, Adri] {0.18.7}[2020]: closed
 

Coop1979

Well-known member
#12
I found out a weird quirk - I was starting my ES instance within a Terminal window on my machine (via SSH). As soon as I closed the connection to the remote server, the ES instance was quitting.

A normal startup of ES worked fine.