On Saturday 01 July 2017 at 01:32:34, Neil Katin wrote:
> On 30-Jun-17 15:07, Antony Stone wrote:
> > SwapTotal: 0 kB
> > SwapFree: 0 kB
>
> Chiming in here: I'm guessing you temporarily filled memory up, and when
> you look at it after the crash there appears to be plenty of free
> memory, since it is after the crash.
Hm, it's *possible* I suppose, although using 400M out of 4G, then suddenly
exhausting the other 90%, seems a bit unlikely to me..
> There's an easy way to test the theory: give the system some swap space,
> and see if the problem stops happening.
Happy to try that - I have plenty of disk on this thing.
There's no configured swap on the other Icinga instance on my identical server,
and that's never said "cannot allocate memory"...
> Alternately: run 'sar -r 10' (sar is in the sysstat package, -r reports
> on memory usage) capturing the output to a file. If you see committed
> memory (%commit) usage growing towards 100%, and then freeing up after
> icinga dies then you have a reasonable diagnosis.
Okay, I'm trying that before adding swap, then - this is not yet a production
machine (although it's supposed to be next week), so if I can get a definite
diagnosis I'll be happier with that than just know "giving it some swap space
made the problem go away".
Initial output:
10:32:55 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit
%commit kbactive kbinact
10:33:05 3814428 379876 9.06 0 246532 0
0.00 249616 99944
10:33:15 3811196 383108 9.13 0 246324 0
0.00 252248 99940
10:33:25 3818444 375860 8.96 0 246560 0
0.00 246528 99964
I'll log to a file and wait...
Antony.
--
Late in 1972 President Richard Nixon announced that the rate of increase of
inflation was decreasing. This was the first time a sitting president used a
third derivative to advance his case for re-election.
- Hugo Rossi, Notices of the American Mathematical Society
Please reply to the list;
please *don't* CC me.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users