Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2019 01:20:24 +0500
From:      Nikolay Nevzorov <nevzorovn@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   cannot allocate memory for sockets
Message-ID:  <CAHtHi9nKWiUx_b4att8872uxT_CFuGAEaPifWt2=1Zm1-OPJ5Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I often see in /var/log/messages from unbount and transmission this messages:

Aug 13 00:14:42 homeserver transmission-daemon[1126]: Couldn't connect
socket 51 to 178.127.239.130, port 13508 (errno 12 - Cannot allocate
memory) (/wrkdirs/usr/ports/net-p2p/transmission-daemon/work/transmission-2.94/libtransmission/net.c:290)
Aug 13 00:15:00 homeserver unbound[1070]: [1070:0] notice: sendto
failed: Cannot allocate memory
Aug 13 00:15:00 homeserver unbound[1070]: [1070:0] notice: remote
address is 8.8.8.8 port 53

How to know which buffers small?

FreeBSD homeserver 12.0-STABLE FreeBSD 12.0-STABLE r349024 GENERIC  amd64

Home fileserver, torrent-downloader and internet and tor-gateway with
non-public tor-relay.

Internet via PPPoE on MPD up ti 100mbit/s



loader.conf:
#Squid diskd
kern.ipc.msgmnb=8192
kern.ipc.msgssz=64
kern.ipc.msgtql=2048
#Squid end

kern.ipc.nmbclusters=32768

/etc/syslog.conf
kern.ipc.maxsockbuf=16777216
kern.ipc.somaxconn=1024


-- 
Nikolay Nevzorov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtHi9nKWiUx_b4att8872uxT_CFuGAEaPifWt2=1Zm1-OPJ5Q>