monero-project / monero

Monero: the secure, private, untraceable cryptocurrency
https://getmonero.org
Other
8.85k stars 3.09k forks source link

FreeBSD "Listen queue overflow" issues #8210

Open camberkenpas opened 2 years ago

camberkenpas commented 2 years ago

After running monerod (through the FreeBSD port), I get these messages: sonewconn: pcb 0xfffff804083a3d58 (0.0.0.0:18080 (proto 6)): Listen queue overflow: 193 already in queue awaiting acceptance (34 occurrences) sonewconn: pcb 0xfffff804083a3d58 (0.0.0.0:18080 (proto 6)): Listen queue overflow: 193 already in queue awaiting acceptance (21 occurrences) sonewconn: pcb 0xfffff804083a3d58 (0.0.0.0:18080 (proto 6)): Listen queue overflow: 193 already in queue awaiting acceptance (23 occurrences) sonewconn: pcb 0xfffff804083a3d58 (0.0.0.0:18080 (proto 6)): Listen queue overflow: 193 already in queue awaiting acceptance (25 occurrences) sonewconn: pcb 0xfffff804083a3d58 (0.0.0.0:18080 (proto 6)): Listen queue overflow: 193 already in queue awaiting acceptance (24 occurrences)

I set kern.ipc.soacceptqueue=16384 set in /etc/sysctl.conf (and applied the change) and this still happens.

Any idea what's wrong?

This could potentially be due to running monerod in a jail. Currently, I can't run monerod directly on the machine as I need libressl and monerod currently isn't compatible with libressl.

monerod --version Monero 'Oxygen Orion' (v0.17.3.0-release)

camberkenpas commented 2 years ago

After restarting monerod, it doesn't seem like this issue starts immediately, but it seems it also doesn't take too long. I restarted the daemon this morning and received another such message around 20-30 minutes later.

When this happens, monero-wallet-cli stalls when trying to connect to the daemon.