Elasticsearch 6.2.2 not starting

Hi,

Been able to do this before but a fresh install of Elasticsearch on a 1GB DigitalOcean server is not starting.

  • DO server 1GB, Debian 9.3
  • Fairly vanilla install via deb package (looks like 6.2.2) and default-jdk
  • Only change is the jvm.options (from 1g to 512m for min/max) to match 50% of available RAM
  • sudo /etc/init.d/elasticsearch start just generates gc.log.0.current
velocimedia@dev-els1:~$ java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

Would appreciate any leads to see what is wrong with this "basic" install?

  • GC (Allocation Failure) - seems to be the issue but not sure how to fix that, nothing else really running on this server
tail: /var/log/elasticsearch/gc.log.0.current: file truncated
OpenJDK 64-Bit Server VM (25.151-b12) for linux-amd64 JRE (1.8.0_151-8u151-b12-1~deb9u1-b12), built on Nov  1 2017 14:17:57 by "pbuilder" with gcc 6.3.0 20170516
Memory: 4k page, physical 1020464k(168376k free), swap 0k(0k free)
CommandLine flags: -XX:+AlwaysPreTouch -XX:CMSInitiatingOccupancyFraction=75 -XX:GCLogFileSize=67108864 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/lib/elasticsearch -XX:InitialHeapSize=536870912 -XX:MaxHeapSize=536870912 -XX:MaxNewSize=87244800 -XX:MaxTenuringThreshold=6 -XX:NewSize=87244800 -XX:NumberOfGCLogFiles=32 -XX:OldPLABSize=16 -XX:OldSize=174489600 -XX:-OmitStackTraceInFastThrow -XX:+PrintGC -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:ThreadStackSize=1024 -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseGCLogFileRotation -XX:+UseParNewGC
2018-02-25T23:13:34.169+0000: 0.738: Total time for which application threads were stopped: 0.0001549 seconds, Stopping threads took: 0.0000323 seconds
2018-02-25T23:13:34.920+0000: 1.489: Total time for which application threads were stopped: 0.0002971 seconds, Stopping threads took: 0.0000378 seconds
2018-02-25T23:13:34.945+0000: 1.514: Total time for which application threads were stopped: 0.0002669 seconds, Stopping threads took: 0.0000340 seconds
2018-02-25T23:13:35.485+0000: 2.054: Total time for which application threads were stopped: 0.0003968 seconds, Stopping threads took: 0.0000359 seconds
2018-02-25T23:13:35.840+0000: 2.409: Total time for which application threads were stopped: 0.0005003 seconds, Stopping threads took: 0.0000597 seconds
2018-02-25T23:13:35.878+0000: 2.447: Total time for which application threads were stopped: 0.0004029 seconds, Stopping threads took: 0.0000521 seconds
2018-02-25T23:13:36.143+0000: 2.712: [GC (Allocation Failure) 2018-02-25T23:13:36.144+0000: 2.713: [ParNew
Desired survivor size 4358144 bytes, new threshold 1 (max 6)
- age   1:    8692312 bytes,    8692312 total
: 68160K->8511K(76672K), 0.0472273 secs] 68160K->8649K(515776K), 0.0483065 secs] [Times: user=0.04 sys=0.01, real=0.05 secs]
2018-02-25T23:13:36.192+0000: 2.761: Total time for which application threads were stopped: 0.0489699 seconds, Stopping threads took: 0.0000638 seconds
2018-02-25T23:13:36.530+0000: 3.099: Total time for which application threads were stopped: 0.0003200 seconds, Stopping threads took: 0.0000320 seconds
2018-02-25T23:13:36.832+0000: 3.401: Total time for which application threads were stopped: 0.0003295 seconds, Stopping threads took: 0.0000357 seconds
2018-02-25T23:13:37.398+0000: 3.968: [GC (Allocation Failure) 2018-02-25T23:13:37.399+0000: 3.968: [ParNew
Desired survivor size 4358144 bytes, new threshold 6 (max 6)
- age   1:    4242760 bytes,    4242760 total
: 76671K->6219K(76672K), 0.0355456 secs] 76809K->8949K(515776K), 0.0361273 secs] [Times: user=0.04 sys=0.00, real=0.03 secs]
2018-02-25T23:13:37.435+0000: 4.004: Total time for which application threads were stopped: 0.0365202 seconds, Stopping threads took: 0.0000366 seconds
2018-02-25T23:13:37.863+0000: 4.432: [GC (Allocation Failure) 2018-02-25T23:13:37.863+0000: 4.433: [ParNew
Desired survivor size 4358144 bytes, new threshold 6 (max 6)

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