Page 1 of 1

ENGINE socket.error 55 on Mac 11.6.1 Big Sur: "No buffer space available"

Posted: December 6th, 2022, 5:23 am
by tk007b
Hi folks,

Got an error message that keeps coming up on Sab (see below). I'm running on a Mac 11.6.1 Big Sur, any ideas how I fix it. Also Sab keep losing and regaining connection when I view it (but downloads files without issue)

Oh and plenty of disk space available but getting "OSError: [Errno 55] No buffer space available" message too

Cheers

TK

WARNING 18 hours ago [05/Dec/2022:16:15:28] ENGINE socket.error 55
Traceback (most recent call last):
File "cheroot/server.py", line 1300, in communicate
File "cheroot/server.py", line 1090, in respond
File "cheroot/wsgi.py", line 145, in respond
File "cheroot/wsgi.py", line 231, in write
File "cheroot/server.py", line 1146, in write
File "cheroot/makefile.py", line 438, in write
File "cheroot/makefile.py", line 36, in write
File "cheroot/makefile.py", line 45, in _flush_unlocked
File "socket.py", line 723, in write
OSError: [Errno 55] No buffer space available

Re: ENGINE socket.error 55 on Mac 11.6.1 Big Sur

Posted: December 6th, 2022, 7:03 am
by sander
"OSError: [Errno 55] No buffer space available" on MacOS / *BSD has to do with network sockets, not disk space.

cheroot is SAB's internal webserver, and "socket.py" confirms the above.

Which version of SABnzbd?

Do you have anything else than a webbrowser accessing your SABnzbd, like *arr application, a plugin or open to Internet?

If you reboot your Mac, does the problem go away (for some time)?

Related: 10055 no buffer space available

Re: ENGINE socket.error 55 on Mac 11.6.1 Big Sur: "No buffer space available"

Posted: December 6th, 2022, 7:38 am
by sander
Technicals notes to self:

Code: Select all

$ lsof 2>&1 | grep -i sabnzb | grep IP | wc -l
63
and

Code: Select all

$ ss -s
Total: 774
TCP:   18 (estab 3, closed 5, orphaned 0, timewait 3)

Transport Total     IP        IPv6
RAW       2         1         1
UDP       8         5         3
TCP       13        8         5
INET      23        14        9
FRAG      0         0         0

Re: ENGINE socket.error 55 on Mac 11.6.1 Big Sur: "No buffer space available"

Posted: December 7th, 2022, 8:35 am
by tk007b
Thanks for the reply

Version details as follows .. (see below) will reboot and check to see if that helps for a short while, as well. No other access, other than SONARR and RADARR

Cheers

TK

Version: 3.7.0 [b6fd915]
Uptime: 1d
Config File: /Users/tk/Library/Application Support/SABnzbd/sabnzbd.ini
Parameters: "/Applications/SABnzbd.app/Contents/MacOS/SABnzbd"
Python Version: 3.11.0 (v3.11.0:deaf509e8f, Oct 24 2022, 14:43:23) [Clang 13.0.0 (clang-1300.0.29.30)] [UTF-8]
OpenSSL: OpenSSL 1.1.1q 5 Jul 2022

Re: ENGINE socket.error 55 on Mac 11.6.1 Big Sur: "No buffer space available"

Posted: December 7th, 2022, 8:49 am
by sander
Versions are OK.

I expect that after a reboot the error is gone ... for some time.
The *arr apps could create half-open connections ... which stay there ... filling up the socket space ... leading to the error (just a thought).

I think that with the commands lsof and ss you can see the number of connections, also on your MacOS

OH: do you use HTTPS towards SAB's own interface? If so, it might be interesting to turn that off and use plain HTTP.

Re: ENGINE socket.error 55 on Mac 11.6.1 Big Sur: "No buffer space available"

Posted: April 6th, 2024, 10:40 am
by shaqeroni
Hey, i'm also encountering the exact same issue with my setup, producing this error a few times an hour:
[06/Apr/2024:22:10:16] ENGINE socket.error 55

OSError: [Errno 55] No buffer space available
Besides the web browser, i also have radarr and sonarr connected to sab.

Has there been any solution to this issue?

Thanks in advance!

Re: ENGINE socket.error 55 on Mac 11.6.1 Big Sur: "No buffer space available"

Posted: April 6th, 2024, 10:44 am
by safihre
Unfortunately, no resolution yet. It's a low level error that we don't have any control over.