thats good news, thanks Philip for the info! In the meantime I disabled swap (as well as ntopng) on my firewalls - this is of course not needed on a firewall and was just a left-over from the initial default install. regards,infoomatic Gesendet: Freitag, 27. April 2018 um 13:50 Uhr Von: "Philip Guenther" <[email protected]> An: Infoomatic <[email protected]> Cc: "OpenBSD Misc" <[email protected]> Betreff: Re: crash of OpenBSD 6.3 -stable (amd64 MP kernel) - unswapping kills connectionsOn Thu, Apr 26, 2018 at 11:21 PM, Infoomatic <[email protected]> wrote:
thanks for your input! Actually, I was never really satisfied with the stability of ntopng, so this problem of the memory leak does not really surprise me. However, when killing the process, which also means freeing swap space, I think it is not an expected behaviour that the system does not handle any tcp/ip or icmp connections any more until the swap space is fully freed (which, in my case when ntopng used 3 out of 4GB swap, lastet for nearly 20 minutes). IMHO, unswapping a process should not influence network connectivity that much. You're correct that we don't want the clean up of an exiting process to affect network processing. The issue is that our UVM is still under the kernel lock; work into using more fine-grained locking there has begun but nothing has really hit the tree yet. Philip Guenther

