Hi.
I've been using Icinga2 for several months now, and I've got quite a few
servers configured in a hierarchy.
This week I've just added a new machine for monitoring a customer's network,
and Icinga keeps on falling over saying "cannot allocate memory".
The machine is a Virtual Server with 4Gbytes of RAM, and at the time icinga
falls over, "free" tells me:
Mem: 4194304
Used: 345328
Free: 3848976
So, I certainly do not believe Icinga has run out of RAM.
The machine is an identical specification VM to one that I've been using since
October 22nd as my Master instance, with all the configuration files on it.
Icinga2 has been running perfectly happily on that since I set it up.
Both machines are running Debian 7 "wheezy", 32 bit, and I've installed
Icinga2 from the debmon repository.
Version: 2.6.3-1~debmon70+1
The server with the problem is running a few standard "local" checks on
itself, and is also running 13 plugin checks over SSH to 18 other servers
(which I think is not a big workload...)
When Icinga shuts down claiming it can't allocate memory, it generates two
reports in /var/log/icinga2/crash; I've attached the latest examples of these
for info. The same sort of thing also goes into /var/log/icinga2/icinga2.log
Googling for the error message, I've found https://dev.icinga.com/issues/10655
and https://dev.icinga.com/issues/10839 however those seem to indicate that
the problem was fixed in Icinga 2.4.2?
Is there any further information I can provide to help pin down what's going
on here?
Can anyone suggest how to fix the problem? It seems strange that I have it on
one machine but not another, both identical spec, identical O/S install, and
identical Icinga2 versions...
Thanks,
Antony.
--
Numerous psychological studies over the years have demonstrated that the
majority of people genuinely believe they are not like the majority of people.
Please reply to the list;
please *don't* CC me.
Caught unhandled exception.
Current time: 2017-06-30 17:07:11 +0200
Application information:
Application version: r2.6.3-1
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Debian GNU/Linux
Platform version: 7 (wheezy)
Kernel: Unknown
Kernel version: Unknown
Architecture: Unknown
Build information:
Compiler: GNU 4.7.2
Build host: moe
Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'
***
* This would indicate a runtime problem or configuration error. If you believe
this is a bug in Icinga 2
* please submit a bug report at https://github.com/Icinga/icinga2 and include
this stack trace as well as any other
* information that might be useful in order to reproduce this problem.
***
Caught unhandled exception.
Current time: 2017-06-30 17:07:12 +0200
Application information:
Application version: r2.6.3-1
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Debian GNU/Linux
Platform version: 7 (wheezy)
Kernel: Linux
Kernel version: 3.2.41-042stab120.20
Architecture: i686
Build information:
Compiler: GNU 4.7.2
Build host: moe
Error: lexical error: invalid char in json text.
� (right here)
------^
(0) libbase.so.2.6.3: <unknown function> (+0xd0474) [0xb7532474]
(1) libbase.so.2.6.3: <unknown function> (+0xd04fe) [0xb75324fe]
(2) libbase.so.2.6.3: icinga::JsonDecode(icinga::String const&)
(+0x1a4) [0xb74c0a54]
(3) libbase.so.2.6.3: icinga::Process::DoEvents() (+0x906) [0xb74f0f96]
(4) libbase.so.2.6.3: icinga::Process::IOThreadProc(int) (+0x361)
[0xb74f2061]
(5) libbase.so.2.6.3: <unknown function> (+0xa8ec6) [0xb750aec6]
(6) libboost_thread.so.1.49.0: <unknown function> (+0xc42c) [0xb778642c]
(7) libpthread.so.0: <unknown function> (+0x5954) [0xb7766954]
(8) libc.so.6: clone (+0x5e) [0xb6d9aaae]
***
* This would indicate a runtime problem or configuration error. If you believe
this is a bug in Icinga 2
* please submit a bug report at https://github.com/Icinga/icinga2 and include
this stack trace as well as any other
* information that might be useful in order to reproduce this problem.
***
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users