Total socket count steadily increasing, tcp/udp sockets steady. Why?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a server (Ubuntu 16.04.5) running sockets.io and a few other things
TCP connections are as follows:
root@01:~# netstat -an| awk '/tcp/ print $6'|sort|uniq -c
44 CLOSE_WAIT
518 ESTABLISHED
71 FIN_WAIT1
15 FIN_WAIT2
5 LAST_ACK
10 LISTEN
26 SYN_RECV
However the total socket allocated count is much higher and steadily increasing...why?
root@01:~# ss -s
Total: 6128 (kernel 6144)
TCP: 6028 (estab 523, closed 5381, orphaned 7, synrecv 0, timewait 0/0), ports 0
Transport Total IP IPv6
* 6144 - -
RAW 0 0 0
UDP 4 3 1
TCP 647 644 3
INET 651 647 4
FRAG 0 0 0
This server is running about 5 or 6 different python apps and sockets.io. When the server reaches this level of ~6144 sockets it stops accepting new ones. As you can see, there aren't really that many active connections so what is going on here? It's got me stumped.
Thanks
linux ubuntu tcp unix-sockets
New contributor
add a comment |Â
up vote
0
down vote
favorite
I have a server (Ubuntu 16.04.5) running sockets.io and a few other things
TCP connections are as follows:
root@01:~# netstat -an| awk '/tcp/ print $6'|sort|uniq -c
44 CLOSE_WAIT
518 ESTABLISHED
71 FIN_WAIT1
15 FIN_WAIT2
5 LAST_ACK
10 LISTEN
26 SYN_RECV
However the total socket allocated count is much higher and steadily increasing...why?
root@01:~# ss -s
Total: 6128 (kernel 6144)
TCP: 6028 (estab 523, closed 5381, orphaned 7, synrecv 0, timewait 0/0), ports 0
Transport Total IP IPv6
* 6144 - -
RAW 0 0 0
UDP 4 3 1
TCP 647 644 3
INET 651 647 4
FRAG 0 0 0
This server is running about 5 or 6 different python apps and sockets.io. When the server reaches this level of ~6144 sockets it stops accepting new ones. As you can see, there aren't really that many active connections so what is going on here? It's got me stumped.
Thanks
linux ubuntu tcp unix-sockets
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a server (Ubuntu 16.04.5) running sockets.io and a few other things
TCP connections are as follows:
root@01:~# netstat -an| awk '/tcp/ print $6'|sort|uniq -c
44 CLOSE_WAIT
518 ESTABLISHED
71 FIN_WAIT1
15 FIN_WAIT2
5 LAST_ACK
10 LISTEN
26 SYN_RECV
However the total socket allocated count is much higher and steadily increasing...why?
root@01:~# ss -s
Total: 6128 (kernel 6144)
TCP: 6028 (estab 523, closed 5381, orphaned 7, synrecv 0, timewait 0/0), ports 0
Transport Total IP IPv6
* 6144 - -
RAW 0 0 0
UDP 4 3 1
TCP 647 644 3
INET 651 647 4
FRAG 0 0 0
This server is running about 5 or 6 different python apps and sockets.io. When the server reaches this level of ~6144 sockets it stops accepting new ones. As you can see, there aren't really that many active connections so what is going on here? It's got me stumped.
Thanks
linux ubuntu tcp unix-sockets
New contributor
I have a server (Ubuntu 16.04.5) running sockets.io and a few other things
TCP connections are as follows:
root@01:~# netstat -an| awk '/tcp/ print $6'|sort|uniq -c
44 CLOSE_WAIT
518 ESTABLISHED
71 FIN_WAIT1
15 FIN_WAIT2
5 LAST_ACK
10 LISTEN
26 SYN_RECV
However the total socket allocated count is much higher and steadily increasing...why?
root@01:~# ss -s
Total: 6128 (kernel 6144)
TCP: 6028 (estab 523, closed 5381, orphaned 7, synrecv 0, timewait 0/0), ports 0
Transport Total IP IPv6
* 6144 - -
RAW 0 0 0
UDP 4 3 1
TCP 647 644 3
INET 651 647 4
FRAG 0 0 0
This server is running about 5 or 6 different python apps and sockets.io. When the server reaches this level of ~6144 sockets it stops accepting new ones. As you can see, there aren't really that many active connections so what is going on here? It's got me stumped.
Thanks
linux ubuntu tcp unix-sockets
linux ubuntu tcp unix-sockets
New contributor
New contributor
New contributor
asked 6 mins ago
Rob P
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Rob P is a new contributor. Be nice, and check out our Code of Conduct.
Rob P is a new contributor. Be nice, and check out our Code of Conduct.
Rob P is a new contributor. Be nice, and check out our Code of Conduct.
Rob P is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477885%2ftotal-socket-count-steadily-increasing-tcp-udp-sockets-steady-why%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password