0

my nginx web server sits on a linux virtual machine running cent os 6.4. when using sar command to check socket info ,it output mistake socket count like this :

05:00:01 PM    totsck    tcpsck    udpsck    rawsck   ip-frag    tcp-tw
05:10:01 PM     16436     16944         9         0         0      4625
05:20:01 PM     16457     16844         9         0         0      2881
05:30:01 PM     16501     16835         9         0         0      2917
05:40:01 PM     16486     16842         9         0         0      3083
05:50:02 PM     16436     16885         9         0         0      2962

pay attention to the totsck and tcpsck,the later is more than the former, this is suppose to be less than the former, why ?

junfei wang
  • 111
  • 1
  • 5

1 Answers1

0

I suppose that's due to tcp-tw. that correspond to the Number of TCP sockets in TIME_WAIT state.

http://linux.die.net/man/1/sar

Samuel LEMAITRE
  • 1,041
  • 7
  • 8