Here is the output of service status:
Code: Select all
[root@nagiosls1 knapsack]# systemctl status elasticsearch.service
● elasticsearch.service - LSB: This service manages the elasticsearch daemon
Loaded: loaded (/etc/rc.d/init.d/elasticsearch; bad; vendor preset: disabled)
Active: active (exited) (Result: exit-code) since Wed 2019-05-29 08:24:20 EDT; 24min ago
Docs: man:systemd-sysv-generator(8)
Process: 1206 ExecStop=/etc/rc.d/init.d/elasticsearch stop (code=exited, status=0/SUCCESS)
Process: 1319 ExecReload=/etc/rc.d/init.d/elasticsearch reload (code=exited, status=7)
Process: 1214 ExecStart=/etc/rc.d/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
May 29 08:24:20 nagiosls1.ux.corp.local systemd[1]: Started LSB: This service manages the elasticsearch daemon.
May 29 08:24:20 nagiosls1.ux.corp.local elasticsearch[1214]: OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000002e9990...no=12)
May 29 08:24:20 nagiosls1.ux.corp.local elasticsearch[1214]: #
May 29 08:24:20 nagiosls1.ux.corp.local elasticsearch[1214]: # There is insufficient memory for the Java Runtime Environment to continue.
May 29 08:24:20 nagiosls1.ux.corp.local elasticsearch[1214]: # Native memory allocation (mmap) failed to map 20776943616 bytes for com...emory.
May 29 08:24:20 nagiosls1.ux.corp.local elasticsearch[1214]: # An error report file with more information is saved as:
May 29 08:24:20 nagiosls1.ux.corp.local elasticsearch[1214]: # /tmp/hs_err_pid1239.log
May 29 08:24:30 nagiosls1.ux.corp.local systemd[1]: Reloading LSB: This service manages the elasticsearch daemon.
May 29 08:24:30 nagiosls1.ux.corp.local systemd[1]: elasticsearch.service: control process exited, code=exited status=7
May 29 08:24:30 nagiosls1.ux.corp.local systemd[1]: Reload failed for LSB: This service manages the elasticsearch daemon.
Hint: Some lines were ellipsized, use -l to show in full.Code: Select all
[root@nagiosls1 /]# free -m
total used free shared buff/cache available
Mem: 32173 22642 4316 33 5214 9049
Swap: 3999 1907 2092
Code: Select all
top - 08:54:42 up 26 days, 13:00, 2 users, load average: 0.12, 0.12, 0.18
Tasks: 271 total, 1 running, 270 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.2 us, 0.1 sy, 0.4 ni, 99.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 32946004 total, 4413728 free, 23192152 used, 5340124 buff/cache
KiB Swap: 4095996 total, 2142840 free, 1953156 used. 9261048 avail Mem