On Thu, Apr 26, 2018 at 11:21 PM, Infoomatic <infooma...@gmx.at> 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