Re: Configure Exim MailServer Logs With NLS
Posted: Tue Feb 02, 2016 10:41 am
Hm, java can't start and this may be the issue. What is the result of top|head -5 and free -m?
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
[root@logs ~]# top|head -5
top - 22:45:47 up 15 days, 6:07, 1 user, load average: 0.01, 0.02, 0.00
Tasks: 37 total, 1 running, 36 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 0.1%sy, 0.0%ni, 99.7%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 1716980k used, 380172k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 57808k cached
Code: Select all
[root@logs ~]# free -m
total used free shared buffers cached
Mem: 2048 1676 371 3 0 56
-/+ buffers/cache: 1619 428
Swap: 0 0 0 This is the concerning error to me, and it's why we checked your available memory. Is there any chance you could bump the server up to 4GB of memory temporarily to see if that helps resolve the issue?Could not reserve enough space for object heap
Code: Select all
service logstash restart
Restarting Logstash Daemon: [ OK ]
WARNING: Default JAVA_OPTS will be overridden by the JAVA_OPTS defined in the environment. Environment JAVA_OPTS are -Djava.io.tmpdir=/usr/local/nagioslogserver/tmp
[ OK ]
Code: Select all
[root@logs ~]# service logstash status
Logstash Daemon dead but pid file exists
Code: Select all
[root@logs ~]# service logstash start
Starting Logstash Daemon: WARNING: Default JAVA_OPTS will be overridden by the JAVA_OPTS defined in the environment. Environment JAVA_OPTS are -Djava.io.tmpdir=/usr/local/nagioslogserver/tmp
[ OK ]
[root@logs ~]# service logstash status
Logstash Daemon (pid 3894) is running...
[root@logs ~]# service logstash status
Logstash Daemon (pid 3894) is running...
[root@logs ~]# service logstash status
Logstash Daemon dead but pid file exists
Code: Select all
root@logs ~]# top | head -5
top - 12:37:38 up 22:32, 1 user, load average: 0.01, 0.05, 0.09
Tasks: 39 total, 1 running, 38 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 0.1%sy, 0.0%ni, 99.7%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8290304k total, 1132944k used, 7157360k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 67008k cached
Code: Select all
[root@logs ~]# grep -i 'out of memory' /var/log/messages
Feb 9 14:03:46 logs kernel: [1975726.697697] Out of memory in UB 147: OOM killed process 618 (java) score 0 vm:4718000kB, rss:2615528kB, swap:0kB