OpenVZ Forum


Home » General » Support » Debug numtcpsock growing without bounds (networking)
Debug numtcpsock growing without bounds [message #52121] Mon, 13 July 2015 13:58 Go to previous message
stompro is currently offline  stompro
Messages: 3
Registered: July 2015
Location: Moorhead, MN
Junior Member
Hello, I'm trying to figure out what numtcpsock is counting in my container. The number just keeps climbing, but the number of connections stays steady according to the various methods of showing connections (netstat, ss -s, /proc/sockstat)

How can I reconcile the numtcpsock number with what the container reports?

The following shows that I have 507 connections, 114 in time_wait, but numtcpsock says that 1711 socket connections are in use? How do I track down why openvz thinks that there are 1204 more connections than the container knows about?


# cd /proc/net && netstat -nat | wc && netstat -na |grep TIME_WAIT | wc && cat sockstat && cat sockstat6 && grep numtcpsock /proc/user_beancounters && ss -s && uname -a
    507    3044   40534
    114     684    9120
sockets: used 7222
TCP: inuse 216 orphan 0 tw 608 alloc 2721 mem 1575
UDP: inuse 8 mem 11
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
TCP6: inuse 175
UDP6: inuse 4
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
            numtcpsock                   1711                 1717                 9048                 9048                    0
Total: 7222 (kernel 0)
TCP:   3329 (estab 362, closed 2938, orphaned 0, synrecv 0, timewait 608/0), ports 0

Transport Total     IP        IPv6
*         0         -         -
RAW       0         0         0
UDP       12        8         4
TCP       391       216       175
INET      403       224       179
FRAG      0         0         0

Linux virt-egapp1 2.6.32-39-pve #1 SMP Wed Jun 24 06:39:42 CEST 2015 x86_64 GNU/Linux



I'm running proxmox 3.4 using openvz with a Debian 8 template.

Thanks
Josh
 
Read Message
Read Message
Read Message
Previous Topic: cpulimit - core / CPU?
Next Topic: Is Grsecurity still available or has it been removed?
Goto Forum:
  


Current Time: Mon Nov 04 03:17:48 GMT 2024

Total time taken to generate the page: 0.03436 seconds