<div dir="ltr"><div dir="ltr"><div>I cloned the repo yesterday but I'll go make sure it's updated.<br></div><div><br></div><div><div>python3 bin/opensips-cli -f /etc/opensips-cli.cfg -x mi get_statistics all</div><div>{</div><div> "shmem:total_size": "33554432",</div><div> "shmem:max_used_size": "4357232",</div><div> "shmem:free_size": "29197200",</div><div> "shmem:used_size": "4280032",</div><div> "shmem:real_used_size": "4357232",</div><div> "shmem:fragments": "905",</div><div> "rpmem:rpm_total_size": "0",</div><div> "rpmem:rpm_used_size": "0",</div><div> "rpmem:rpm_real_used_size": "0",</div><div> "rpmem:rpm_fragments": "0",</div><div> "rpmem:rpm_max_used_size": "0",</div><div> "rpmem:rpm_free_size": "0",</div><div> "core:rcv_requests": "0",</div><div> "core:rcv_replies": "0",</div><div> "core:fwd_requests": "0",</div><div> "core:fwd_replies": "0",</div><div> "core:drop_requests": "0",</div><div> "core:drop_replies": "0",</div><div> "core:err_requests": "0",</div><div> "core:err_replies": "0",</div><div> "core:bad_URIs_rcvd": "0",</div><div> "core:unsupported_methods": "0",</div><div> "core:bad_msg_hdr": "0",</div><div> "core:slow_messages": "0",</div><div> "core:timestamp": "8155",</div><div> "net:waiting_udp": "0",</div><div> "net:waiting_tcp": "0",</div><div> "net:waiting_tls": "0",</div><div> "dns:dns_total_queries": "0",</div><div> "dns:dns_slow_queries": "0",</div><div> "sql:sql_total_queries": "19",</div><div> "sql:sql_slow_queries": "0",</div><div> "cdb:cdb_total_queries": "0",</div><div> "cdb:cdb_slow_queries": "0",</div><div> "tm:received_replies": "0",</div><div> "tm:relayed_replies": "0",</div><div> "tm:local_replies": "0",</div><div> "tm:UAS_transactions": "0",</div><div> "tm:UAC_transactions": "0",</div><div> "tm:2xx_transactions": "0",</div><div> "tm:3xx_transactions": "0",</div><div> "tm:4xx_transactions": "0",</div><div> "tm:5xx_transactions": "0",</div><div> "tm:6xx_transactions": "0",</div><div> "tm:inuse_transactions": "0",</div><div> "sl:1xx_replies": "0",</div><div> "sl:2xx_replies": "0",</div><div> "sl:3xx_replies": "0",</div><div> "sl:4xx_replies": "0",</div><div> "sl:5xx_replies": "0",</div><div> "sl:6xx_replies": "0",</div><div> "sl:sent_replies": "0",</div><div> "sl:sent_err_replies": "0",</div><div> "sl:received_ACKs": "0",</div><div> "dialog:active_dialogs": "0",</div><div> "dialog:early_dialogs": "0",</div><div> "dialog:processed_dialogs": "0",</div><div> "dialog:expired_dialogs": "0",</div><div> "dialog:failed_dialogs": "0",</div><div> "dialog:create_sent": "0",</div><div> "dialog:update_sent": "0",</div><div> "dialog:delete_sent": "0",</div><div> "dialog:create_recv": "0",</div><div> "dialog:update_recv": "0",</div><div> "dialog:delete_recv": "0",</div><div> "tracer:traced_requests": "0",</div><div> "tracer:traced_replies": "0",</div><div> "load:load-proc-1": "0",</div><div> "load:load1m-proc-1": "0",</div><div> "load:load10m-proc-1": "0",</div><div> "load:load-proc-2": "0",</div><div> "load:load1m-proc-2": "0",</div><div> "load:load10m-proc-2": "0",</div><div> "load:load-proc-3": "0",</div><div> "load:load1m-proc-3": "0",</div><div> "load:load10m-proc-3": "0",</div><div> "load:load-proc-4": "0",</div><div> "load:load1m-proc-4": "0",</div><div> "load:load10m-proc-4": "0",</div><div> "load:load-proc-5": "0",</div><div> "load:load1m-proc-5": "0",</div><div> "load:load10m-proc-5": "0",</div><div> "load:load-proc-6": "0",</div><div> "load:load1m-proc-6": "0",</div><div> "load:load10m-proc-6": "0",</div><div> "load:load-proc-9": "0",</div><div> "load:load1m-proc-9": "0",</div><div> "load:load10m-proc-9": "0",</div><div> "load:load-proc-10": "0",</div><div> "load:load1m-proc-10": "0",</div><div> "load:load10m-proc-10": "0",</div><div> "load:load-proc-13": "0",</div><div> "load:load1m-proc-13": "0",</div><div> "load:load10m-proc-13": "0",</div><div> "load:load-proc-14": "0",</div><div> "load:load1m-proc-14": "0",</div><div> "load:load10m-proc-14": "0",</div><div> "load:load-proc-15": "0",</div><div> "load:load1m-proc-15": "0",</div><div> "load:load10m-proc-15": "0",</div><div> "load:load-proc-16": "0",</div><div> "load:load1m-proc-16": "0",</div><div> "load:load10m-proc-16": "0",</div><div> "load:load-proc-17": "0",</div><div> "load:load1m-proc-17": "0",</div><div> "load:load10m-proc-17": "0",</div><div> "load:load-proc-18": "0",</div><div> "load:load1m-proc-18": "0",</div><div> "load:load10m-proc-18": "0",</div><div> "load:load-proc-19": "0",</div><div> "load:load1m-proc-19": "0",</div><div> "load:load10m-proc-19": "0",</div><div> "load:load-proc-20": "0",</div><div> "load:load1m-proc-20": "0",</div><div> "load:load10m-proc-20": "0",</div><div> "load:load-proc-21": "0",</div><div> "load:load1m-proc-21": "0",</div><div> "load:load10m-proc-21": "0",</div><div> "load:load-proc-22": "0",</div><div> "load:load1m-proc-22": "0",</div><div> "load:load10m-proc-22": "0",</div><div> "load:load": "0",</div><div> "load:load1m": "0",</div><div> "load:load10m": "0",</div><div> "load:load-all": "0",</div><div> "load:load1m-all": "0",</div><div> "load:load10m-all": "0",</div><div> "load:processes_number": "19",</div><div> "pkmem:1-used_size": "0",</div><div> "pkmem:1-real_used_size": "0",</div><div> "pkmem:1-max_used_size": "0",</div><div> "pkmem:1-free_size": "0",</div><div> "pkmem:1-fragments": "0",</div><div> "pkmem:2-used_size": "0",</div><div> "pkmem:2-real_used_size": "0",</div><div> "pkmem:2-max_used_size": "0",</div><div> "pkmem:2-free_size": "0",</div><div> "pkmem:2-fragments": "0",</div><div> "pkmem:3-used_size": "0",</div><div> "pkmem:3-real_used_size": "0",</div><div> "pkmem:3-max_used_size": "0",</div><div> "pkmem:3-free_size": "0",</div><div> "pkmem:3-fragments": "0",</div><div> "pkmem:4-used_size": "0",</div><div> "pkmem:4-real_used_size": "0",</div><div> "pkmem:4-max_used_size": "0",</div><div> "pkmem:4-free_size": "0",</div><div> "pkmem:4-fragments": "0",</div><div> "pkmem:5-used_size": "181264",</div><div> "pkmem:5-real_used_size": "263648",</div><div> "pkmem:5-max_used_size": "264072",</div><div> "pkmem:5-free_size": "16513568",</div><div> "pkmem:5-fragments": "1000",</div><div> "pkmem:6-used_size": "181264",</div><div> "pkmem:6-real_used_size": "263312",</div><div> "pkmem:6-max_used_size": "263456",</div><div> "pkmem:6-free_size": "16513904",</div><div> "pkmem:6-fragments": "1000",</div><div> "pkmem:9-used_size": "181264",</div><div> "pkmem:9-real_used_size": "263312",</div><div> "pkmem:9-max_used_size": "263456",</div><div> "pkmem:9-free_size": "16513904",</div><div> "pkmem:9-fragments": "1000",</div><div> "pkmem:10-used_size": "181264",</div><div> "pkmem:10-real_used_size": "263312",</div><div> "pkmem:10-max_used_size": "263456",</div><div> "pkmem:10-free_size": "16513904",</div><div> "pkmem:10-fragments": "1000",</div><div> "pkmem:13-used_size": "181264",</div><div> "pkmem:13-real_used_size": "263312",</div><div> "pkmem:13-max_used_size": "263456",</div><div> "pkmem:13-free_size": "16513904",</div><div> "pkmem:13-fragments": "1000",</div><div> "pkmem:14-used_size": "181264",</div><div> "pkmem:14-real_used_size": "263312",</div><div> "pkmem:14-max_used_size": "263456",</div><div> "pkmem:14-free_size": "16513904",</div><div> "pkmem:14-fragments": "1000",</div><div> "pkmem:15-used_size": "181264",</div><div> "pkmem:15-real_used_size": "263312",</div><div> "pkmem:15-max_used_size": "263456",</div><div> "pkmem:15-free_size": "16513904",</div><div> "pkmem:15-fragments": "1000",</div><div> "pkmem:16-used_size": "181264",</div><div> "pkmem:16-real_used_size": "263312",</div><div> "pkmem:16-max_used_size": "263456",</div><div> "pkmem:16-free_size": "16513904",</div><div> "pkmem:16-fragments": "1000",</div><div> "pkmem:17-used_size": "181264",</div><div> "pkmem:17-real_used_size": "263312",</div><div> "pkmem:17-max_used_size": "263456",</div><div> "pkmem:17-free_size": "16513904",</div><div> "pkmem:17-fragments": "1000",</div><div> "pkmem:18-used_size": "181264",</div><div> "pkmem:18-real_used_size": "263312",</div><div> "pkmem:18-max_used_size": "263456",</div><div> "pkmem:18-free_size": "16513904",</div><div> "pkmem:18-fragments": "1000",</div><div> "pkmem:19-used_size": "181264",</div><div> "pkmem:19-real_used_size": "263312",</div><div> "pkmem:19-max_used_size": "263456",</div><div> "pkmem:19-free_size": "16513904",</div><div> "pkmem:19-fragments": "1000",</div><div> "pkmem:20-used_size": "181264",</div><div> "pkmem:20-real_used_size": "263312",</div><div> "pkmem:20-max_used_size": "263456",</div><div> "pkmem:20-free_size": "16513904",</div><div> "pkmem:20-fragments": "1000",</div><div> "pkmem:21-used_size": "181264",</div><div> "pkmem:21-real_used_size": "263312",</div><div> "pkmem:21-max_used_size": "263456",</div><div> "pkmem:21-free_size": "16513904",</div><div> "pkmem:21-fragments": "1000",</div><div> "pkmem:22-used_size": "124424",</div><div> "pkmem:22-real_used_size": "205656",</div><div> "pkmem:22-max_used_size": "215296",</div><div> "pkmem:22-free_size": "16571560",</div><div> "pkmem:22-fragments": "658"</div><div>}</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 21 May 2019 at 12:50, Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Stupid question, but always worth checking: are you running the latest <br>
opensips-cli source code? Keep<br>
in mind we constantly push updates to it.<br>
<br>
Next, can you start your opensips and paste the output of "opensips-cli <br>
-x mi get_statistics all"?<br>
<br>
PS: please make sure to always keep the list CC'ed by using the "Reply <br>
All" button, not just "Reply".<br>
<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 21.05.2019 14:17, Mark Farmer wrote:<br>
> File <br>
> "/usr/local/lib/python3.6/dist-packages/opensipscli/modules/diagnose.py", <br>
> line 815, in diagnosis_summary<br>
> if not self.diagnosis_summary_loop():<br>
> File <br>
> "/usr/local/lib/python3.6/dist-packages/opensipscli/modules/diagnose.py", <br>
> line 878, in diagnosis_summary_loop<br>
> used = int(stats['pkmem:{}-real_used_size'.format(proc)])<br>
> KeyError: 'pkmem:7-real_used_size'<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>