An error occurred when accepting connection in the local socket. Code: 24

Tried the following

sysctl net.core.somaxconn
net.core.somaxconn = 4096
sudo sysctl -w net.core.somaxconn=8192

but without a success.

Finally fixed this error with

ulimit -n 65535

The command sets the maximum number of descriptors, a process run within current BASH session can use.

1 Response to An error occurred when accepting connection in the local socket. Code: 24

Leave a Reply to dmitriano Cancel reply

Your email address will not be published. Required fields are marked *