Hello all,
I've recently installed elasticsearch 5.5 on a Windows Server 2012 with 16GB RAM. It has been working for a 3-4 weeks correctly. Yesterday server was restarted and the elasticsearch service can not start. We see this errors:
Service cannot be started. Elastic.ProcessHosts.Process.StartupException: Could not start process within (00:02:00): D:\Program Files\Java\jdk1.8.0_141\bin\java.exe -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -XX:+HeapDumpOnOutOfMemoryError -Xmx8192m -Xms8192m -Delasticsearch -Des.path.home="D:\Elasticsearch-5.5" -cp "D:\Elasticsearch-5.5\lib\elasticsearch-5.5.0.jar;D:\Elasticsearch-5.5\lib\HdrHistogram-2.1.9.jar;D:\Elasticsearch-5.5\lib\hppc-0.7.1.jar;D:\Elasticsearch-5.5\lib\jackson-core-2.8.6.jar;D:\Elasticsearch-5.5\lib\jackson-dataformat-cbor-2.8.6.jar;D:\Elasticsearch-5.5\lib\jackson-dataformat-smile-2.8.6.jar;D:\Elasticsearch-5....
Application: elasticsearch.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Elastic.ProcessHosts.Process.StartupException
Stack:
at Elastic.ProcessHosts.Process.ProcessBase.HandleException(System.Exception)
at System.Reactive.Observer1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception) at System.Reactive.Linq.ObservableImpl.AsObservable
1+_[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception)
at System.Reactive.AutoDetachObserver1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnErrorCore(System.Exception) at Elastic.ProcessHosts.Process.ObservableProcess+<>c__DisplayClass22_0.<CreateProcessExitSubscription>b__0(System.Reactive.EventPattern
1<System.Object>)
at System.Reactive.AnonymousSafeObserver`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnNext(System.__Canon)
at System.EventHandler.Invoke(System.Object, System.EventArgs)
at System.Diagnostics.Process.RaiseOnExited()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
Faulting application name: elasticsearch.exe, version: 5.5.0.0, time stamp: 0x5956e851
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18666, time stamp: 0x58f33794
Exception code: 0xe0434352
Fault offset: 0x00000000000095fc
Faulting process id: 0xc3c
Faulting application start time: 0x01d35e2bd2da71ef
Faulting application path: D:\Elasticsearch-5.5\bin\elasticsearch.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 256e286d-ca1f-11e7-80f4-0050569757d6
Faulting package full name:
Faulting package-relative application ID:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: elasticsearch.exe
P2: 5.5.0.0
P3: 5956e851
P4: Elastic.ProcessHosts
P5: 1.0.0.0
P6: 5956e850
P7: 57
P8: 24
P9: 4CY0JEX2JKCFD2IPWRSCWFYWSHBZ0QKL
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_elasticsearch.ex_746e7346f392df7b3de3e7e27adb669f51275a5_45fdfff9_16cbe6eb
Analysis symbol:
Rechecking for solution: 0
Report Id: 256e286d-ca1f-11e7-80f4-0050569757d6
Report Status: 4100
Hashed bucket:
Environment information:
D:\Elasticsearch-5.5\bin>elasticsearch.exe --debug-env
Elasticsearch
ES_HOME (in order of precedence)
- HomeDirectoryProcessVariable = D:\Elasticsearch-5.5\
- HomeDirectoryUserVariable =
- HomeDirectoryMachineVariable = D:\Elasticsearch-5.5\
- From executable location = D:\Elasticsearch-5.5
ES_CONFIG (in order of precedence) - ConfigDirectoryProcessVariable = D:\Elasticsearch-5.5\config
- ConfigDirectoryUserVariable =
- ConfigDirectoryMachineVariable = D:\Elasticsearch-5.5\config
- Fallback to ES_HOME = D:\Elasticsearch-5.5\config
Java
Java paths
- current = D:\Program Files\Java\jdk1.8.0_141\bin\java.exe
Java Candidates (in order of precedence) - JavaHomeProcessVariable =
- JavaHomeUserVariable =
- JavaHomeMachineVariable =
- JdkRegistry64 = D:\Program Files\Java\jdk1.8.0_141
- JreRegistry64 = D:\Program Files\Java\jre1.8.0_141
- JdkRegistry32 =
- JreRegistry32 =
Java checks - Using32BitJava = False
- JAVA_HOME as machine and user variable = Fals
Any help will be welcome.
Thanks