2 commsmemfree(2), Active – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 433

Section 10. Troubleshooting
433
mid = (CommsMemFree(1) / 10000) % 100
med = (CommsMemFree(1) / 1000000) % 100
lrg = (CommsMemFree(1) / 100000000) % 100
Table 113. CommsMemFree(1) Defaults and Use Example, TLS Not
Active
Example
Buffer
Catagory
Condition:
reset, TLS not active.
Buffer count:
CommsMemFree(1) =
15251505.
Condition:
in use, TLS not active.
Buffer count:
CommsMemFree(1) =
13241504.
Numbers of
buffers in use
(reset count –
in-use count)
tiny 05
04
1
little 15
15
0
medium 25
24
1
large 15
13
2
huge
Table 114. CommsMemFree(1) Defaults and Use Example, TLS
Active
Example
Buffer
Category
Condition:
reset, TLS active.
Buffer count:
CommsMemFree(1) =
230999960.
Condition:
TLS enabled, no
active
TLS connections.
Connected to
LoggerNet on
TCP/IP.
Buffer Count:
CommsMemFree(1) =
228968437.
Numbers of buffers
in use (reset count –
in-use count)
tiny 160
137
23
little 99
84
15
medium 99
96
3
large 30
28
2
huge* 2
2
0
*If email clients using TLS are active, huge will be decremented along with some of the others.
10.4.3.2 CommsMemFree(2)
CommsMemFree(2) displays the number of memory "chunks" in "keep" memory
(p. 457)
used by communications. It includes memory used for PakBus routing and
neighbor lists, communication timeout structures, and TCP/IP connection
structures. The PakBusNodes setting, which defaults to 50, is included in
CommsMemFree(2). Doubling PakBusNodes to 100 doubles
CommsMemFree(2) from ≈300 to ≈600 (assuming a large PakBus network has
not been just discovered). The larger the discovered PakBus network, and the
larger the number of simultaneous TCP connections, the smaller