Re: [SR-Users] last pkg.stats entry

2017-09-01 Thread Juha Heinanen
Daniel-Constantin Mierla writes:

> Should be fixed now in master -- secondary timer was counted twice,
> resulting in an extra entry in process table that was not filled
> (overall harmless, just empty content) -- I will backport in 5.0 as
> well.

Thanks for the fix.  Tested and extra entry is gone.

-- Juha

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] last pkg.stats entry

2017-09-01 Thread Daniel-Constantin Mierla
Should be fixed now in master -- secondary timer was counted twice,
resulting in an extra entry in process table that was not filled
(overall harmless, just empty content) -- I will backport in 5.0 as well.

Cheers,
Daniel

On 01.09.17 11:23, Daniel-Constantin Mierla wrote:
> OK - I will look into it soon.
>
> Daniel
>
>
> On 01.09.17 11:07, Juha Heinanen wrote:
>> Daniel-Constantin Mierla writes:
>>
>>> Can you do ps and see the list of kamailio processes, then compare by
>>> pid and see if there is one missing in the kamctl output or is one too
>>> much in the kamctl output?
>> There is one too much in pkg.stats output and that is the last one with
>> pid 0:
>>
 ...
 {
entry: 28
pid: 14675
rank: -4
used: 9450336
free: 2354944
real_used: 10227968
total_size: 12582912
total_frags: 310
 }
 {
entry: 29
pid: 0
rank: -128
used: 0
free: 0
real_used: 0
total_size: 12582912
total_frags: 0
 }
>> -- Juha

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] last pkg.stats entry

2017-09-01 Thread Daniel-Constantin Mierla
OK - I will look into it soon.

Daniel


On 01.09.17 11:07, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> Can you do ps and see the list of kamailio processes, then compare by
>> pid and see if there is one missing in the kamctl output or is one too
>> much in the kamctl output?
> There is one too much in pkg.stats output and that is the last one with
> pid 0:
>
>>> ...
>>> {
>>> entry: 28
>>> pid: 14675
>>> rank: -4
>>> used: 9450336
>>> free: 2354944
>>> real_used: 10227968
>>> total_size: 12582912
>>> total_frags: 310
>>> }
>>> {
>>> entry: 29
>>> pid: 0
>>> rank: -128
>>> used: 0
>>> free: 0
>>> real_used: 0
>>> total_size: 12582912
>>> total_frags: 0
>>> }
> -- Juha

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] last pkg.stats entry

2017-09-01 Thread Daniel-Constantin Mierla
Can you do ps and see the list of kamailio processes, then compare by
pid and see if there is one missing in the kamctl output or is one too
much in the kamctl output?

Cheers,
Daniel


On 01.09.17 08:42, Juha Heinanen wrote:
> When I make pkg.stats query (latest master), I get a weird last entry.
> What is it?
>
> -- Juha
>
> ...
> {
>   entry: 28
>   pid: 14675
>   rank: -4
>   used: 9450336
>   free: 2354944
>   real_used: 10227968
>   total_size: 12582912
>   total_frags: 310
> }
> {
>   entry: 29
>   pid: 0
>   rank: -128
>   used: 0
>   free: 0
>   real_used: 0
>   total_size: 12582912
>   total_frags: 0
> }
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] last pkg.stats entry

2017-09-01 Thread Juha Heinanen
When I make pkg.stats query (latest master), I get a weird last entry.
What is it?

-- Juha

...
{
entry: 28
pid: 14675
rank: -4
used: 9450336
free: 2354944
real_used: 10227968
total_size: 12582912
total_frags: 310
}
{
entry: 29
pid: 0
rank: -128
used: 0
free: 0
real_used: 0
total_size: 12582912
total_frags: 0
}

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users