cannot allocate memory for sockets

Nikolay Nevzorov nevzorovn at gmail.com
Mon Aug 12 20:20:40 UTC 2019


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


More information about the freebsd-net mailing list