[OpenSIPS-Users] pkmem statistics oddity

Jeff Pyle jpyle at fidelityvoice.com
Tue Sep 17 17:07:50 CEST 2013


Update:  On an OpenSIPS instance that has been running for a while (at
least days), the first iteration of get_statistics will show the
zero-values.  Running it again, the zeros have been replaced by values that
make sense.

Could the act of running get_statistics cause memory behavior to change?
 That's how it seems.  Unless the reporting is wrong somehow.


- Jeff



On Tue, Sep 17, 2013 at 11:01 AM, Jeff Pyle <jpyle at fidelityvoice.com> wrote:

> Hello,
>
> We're trying to track down a memory problem on OpenSIPS 1.9.1 compiled
> from github (so no rev number) on Aug 13.  I noticed something weird I
> wanted to present for opinions.
>
> # opensipsctl fifo get_statistics all | grep ^pkmem"
> pkmem:0-total_size = 1048576
> pkmem:0-used_size = 107128
> pkmem:0-real_used_size = 163960
> pkmem:0-max_used_size = 165960
> pkmem:0-free_size = 884616
> pkmem:0-fragments = 61
> pkmem:1-total_size = 1048576
> pkmem:1-used_size = 133960
> pkmem:1-real_used_size = 192496
> pkmem:1-max_used_size = 192496
> pkmem:1-free_size = 856080
> pkmem:1-fragments = 58
> pkmem:2-total_size = 1048576
> pkmem:2-used_size = 107112
> pkmem:2-real_used_size = 163944
> pkmem:2-max_used_size = 165960
> pkmem:2-free_size = 884632
> pkmem:2-fragments = 61
> *pkmem:3-total_size = 0*
> *pkmem:3-used_size = 0*
> *pkmem:3-real_used_size = 0*
> *pkmem:3-max_used_size = 0*
> *pkmem:3-free_size = 859336*
> *pkmem:3-fragments = 0*
> pkmem:4-total_size = 1048576
> pkmem:4-used_size = 129384
> pkmem:4-real_used_size = 188544
> pkmem:4-max_used_size = 197616
> pkmem:4-free_size = 860032
> pkmem:4-fragments = 112
> pkmem:5-total_size = 1048576
> pkmem:5-used_size = 115624
> pkmem:5-real_used_size = 173656
> pkmem:5-max_used_size = 181816
> pkmem:5-free_size = 874920
> pkmem:5-fragments = 102
> pkmem:6-total_size = 1048576
> pkmem:6-used_size = 115632
> pkmem:6-real_used_size = 173760
> pkmem:6-max_used_size = 181960
> pkmem:6-free_size = 874816
> pkmem:6-fragments = 106
> pkmem:7-total_size = 1048576
> pkmem:7-used_size = 115280
> pkmem:7-real_used_size = 172112
> pkmem:7-max_used_size = 172112
> pkmem:7-free_size = 876464
> pkmem:7-fragments = 59
> pkmem:8-total_size = 1048576
> pkmem:8-used_size = 115280
> pkmem:8-real_used_size = 172112
> pkmem:8-max_used_size = 172112
> pkmem:8-free_size = 876464
> pkmem:8-fragments = 59
> pkmem:9-total_size = 1048576
> pkmem:9-used_size = 106808
> pkmem:9-real_used_size = 163544
> pkmem:9-max_used_size = 165960
> pkmem:9-free_size = 885032
> pkmem:9-fragments = 61
> pkmem:10-total_size = 1048576
> pkmem:10-used_size = 115248
> pkmem:10-real_used_size = 172128
> pkmem:10-max_used_size = 173040
> pkmem:10-free_size = 876448
> pkmem:10-fragments = 62
>
>
> Looking at pkmem:3, is it normal to have the 0s in total_size, used_size,
> etc?  I restarted opensips and now they all have a total_size.
>
>
> - Jeff
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130917/2a73ff0a/attachment-0001.htm>


More information about the Users mailing list