tcprstat reaches ULONG_MAX or ULLONG_MAX limit on 'max' column

Bug #628371 reported by Santiago del Castillo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tcprstat
Confirmed
Undecided
Unassigned

Bug Description

Sometimes the 'max' column shows 18446744073709551615, which is the maximum value for ULONG_MAX and ULLONG_MAX on 64bits.

Running on CentOS 5.5
Linux box32 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Command:
tcprstat -p 11211 -t 1 -n 0

Output:
timestamp count max min avg med stddev 95_max 95_avg 95_std 99_max 99_avg 99_std
1283373173 2898 615 0 22 18 25 42 18 9 81 20 11
1283373174 2990 1110 0 27 19 45 61 20 12 169 23 18
1283373175 2877 1078 0 28 20 39 91 23 14 119 26 21
1283373176 2761 1037 0 33 22 38 104 28 22 126 31 27
1283373177 2976 1113 0 36 24 48 106 30 24 135 34 28
1283373178 2999 18446744073709551615 0 30 22 33 98 25 18 116 28 24
1283373179 2757 258 0 29 22 27 101 25 18 119 28 25
1283373180 3060 455 0 33 23 31 103 29 23 124 32 28
1283373181 3038 18446744073709551615 0 31 22 30 104 26 21 132 30 26
1283373182 3307 1181 0 31 23 44 97 24 17 134 28 22
1283373183 3109 823 0 35 26 40 102 30 21 129 33 26
1283373184 2892 1840 0 39 26 52 107 34 26 145 37 30
1283373185 2974 387 0 31 22 30 101 26 20 140 30 25
1283373186 2810 766 0 33 22 36 104 28 23 138 32 28
1283373187 2872 761 0 34 23 36 104 29 24 136 32 29
1283373188 3251 583 0 44 29 43 111 39 29 156 42 34
1283373189 2733 995 0 51 34 48 113 45 33 159 48 37
1283373190 2256 897 0 48 30 45 114 42 33 156 46 37
1283373191 2530 18446744073709551615 0 47 31 45 114 42 31 162 45 36
1283373192 2820 894 0 38 25 37 105 32 26 147 36 30
1283373193 3618 4761 0 45 23 153 113 29 22 376 35 39
1283373194 3065 18446744073709551615 0 47 28 102 113 32 22 435 39 45
1283373195 3090 401 0 36 24 33 106 31 25 135 34 30
1283373196 3040 1078 0 29 21 41 91 24 14 143 27 22
1283373197 2990 719 0 34 23 39 105 28 23 146 32 28
1283373198 2878 210 0 35 24 31 104 30 24 138 33 29
1283373199 2998 296 0 33 22 31 105 28 24 134 32 28
1283373200 3087 603 0 27 20 27 94 23 16 112 26 22
1283373201 3097 787 0 34 24 40 104 28 20 172 31 27

I am running tcpstat on a memcached default port, with ~318 connections established on that port. Total established connections are ~2000

Revision history for this message
Santiago del Castillo (delcas) wrote :

Here's a link to pastebin for better output formatting: http://pastebin.com/6gLginUE

Revision history for this message
Bharath (bharathkumarreddy) wrote :
Download full text (3.5 KiB)

I am also noticing the same problem. The 'max' response time field goes up to 20 digit values:

1301347218 43 5428930 513 261789 63558 837498 471273 88497 116861 1424005 138761 259362
1301347248 203 18446744073709538560 38 131720 1898 374876 545300 69313 115585 1263588 103096 208025
1301347278 23 2344325 323 223076 358 507811 419112 80957 111702 1086316 126655 236146
1301347308 108 7234561 38 303564 1826 1029153 1272419 81102 245384 3800026 190552 610533
1301347338 127 18446744073708975507 44 227438 2011 766770 1239956 88484 192421 4375599 186148 5530311301347368 4 601 539 580 599 24 599 573 25 599 573 25
1301347398 0 0 0 0 0 0 0 0 0 0 0 0
1301347428 117 3013174 53 79588 2599 304337 175033 33581 51334 858339 45162 95236
1301347458 2 6026326 124 3013225 6026326 3013101 124 124 0 124 124 0
1301347488 5 3011556 17 602825 651 1204365 1283 642 448 1283 642 4481301347518 1 3011587 3011587 3011587 3011587 0 0 0 0 0 0 0
1301347548 7 3016675 128 431807 1187 1055268 2145 996 637 2145 996 637
1301347578 96 18446744073709551428 1 182262 2023 782917 1029109 43606 158234 6514176 184182 786802
1301347608 46 18446744073709489137 302 114285 15175 197922 499921 88344 137611 975557 118213 198328
1301347638 0 0 0 0 0 0 0 0 0 0 0 0
1301347668 6 1579 438 1308 1498 396 1552 1254 412 1552 1254 412
1301347698 0 0 0 0 0 0 0 0 0 0 0 0
1301347728 6 59394 551 30111 59309 29252 59383 24255 28653 59383 24255 28653
1301347758 0 0 0 0 0 0 0 0 0 0 0 0
1301347788 2 585 571 578 585 7 571 571 0 571 571 0
1301347818 0 0 0 0 0 0 0 0 0 0 0 0
1301347848 5 653 405 526 548 83 550 494 61 550 494 61
1301347878 0 0 0 0 0 0 0 0 0 0 0 0
1301347908 325 18446744073709384607 31 78756 2165 173670 438343 53037 82680 1190586 78960 158085
1301347938 0 0 0 0 0 0 0 0 0 0 0 0
1301347968 5 569 411 515 544 59 562 501 62 562 501 621301347998 0 0 0 0 0 0 0 0 0 0 0 0
1301348028 1 668 668 668 668 0 0 0 0 0 0 0
13...

Read more...

Revision history for this message
Bharath (bharathkumarreddy) wrote :

The tpcrstat version used is as follows:

[root@mdw ~]# tcprstat --version
tcprstat 0.3.1, libpcap version 1.1.1.

Revision history for this message
fengyi (fengyi) wrote :

I have encountered this problem too.

Changed in tcprstat:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.