_XSERVTransSocketUNIXAccept: accept() failed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

_XSERVTransSocketUNIXAccept: accept() failed

Joe M
Hello,

These messages are filling up the Xorg.0.log and xenodm.log to
gigabytes and does not allow additional xterm windows to open.

I see these messages in /var/log/Xorg.0.log

joe:10424$ tail Xorg.0.log
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.044] _XSERVTransSocketUNIXAccept: accept() failed
[2616181.045] _XSERVTransSocketUNIXAccept: accept() failed


joe:10425$ tail /var/log/xenodm.log
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed

Thanks to #openbsd's epony and oldlaptop, the resolution is to:

1. increase daemon openfiles-max to 2048 and openfiles-cur to 1024 in
/etc/login.conf
2. cap_mkdb /etc/login.conf
3. re-login.

Thanks