Re: smtpd - high memory usage

2019-07-27 Thread Viktor Dukhovni
On Sun, Jul 28, 2019 at 12:05:33AM +0300, Mantas Mikulėnas wrote: > On Sat, Jul 27, 2019, 22:35 Wietse Venema wrote: > > > > Mantas Mikul?nas: > > > Disregard this; I'm sure I have found the nss module that causes high > > > memory usage. > > > > Which nss module would that be? > > It was libnss

Re: smtpd - high memory usage

2019-07-27 Thread Mantas Mikulėnas
On Sat, Jul 27, 2019, 22:35 Wietse Venema wrote: > > Mantas Mikul?nas: > > Disregard this; I'm sure I have found the nss module that causes high > > memory usage. > > Which nss module would that be? It was libnss_myhostname (specifically the version that is included with systemd). Besides handli

Re: smtpd - high memory usage

2019-07-27 Thread Wietse Venema
Mantas Mikul?nas: > Disregard this; I'm sure I have found the nss module that causes high > memory usage. Which nss module would that be? Postfix does not care how many routes a system has, but it does care about local network interface addresses and netmasks if main.cf:mynetworks does not specify

Re: smtpd - high memory usage

2019-07-27 Thread Mantas Mikulėnas
Disregard this; I'm sure I have found the nss module that causes high memory usage. -- Mantas Mikulėnas

smtpd - high memory usage

2019-07-27 Thread Mantas Mikulėnas
Hello, I have a hobby server that does a little bit of everything, including 1) receiving email via Postfix as a backup MX, 2) receiving ~70k IPv6 routes via BGP. The problem I'm having is that when all ~70k routes are loaded into the kernel (Linux), this somehow causes high memory usage in Postf