#369 pkg mem reporting seems broke in (mostly) latest version

1.6.x
open-accepted
core (110)
7
2011-04-07
2011-04-04
No

I have 15 threads defined in config. The output from opensipsctl doesn't appear to be right for all of them.

opensipsctl fifo get_statistics pkmem: | grep total_size
pkmem:0-total_size = 10485760
pkmem:1-total_size = 10485760
pkmem:2-total_size = 0
pkmem:3-total_size = 0
pkmem:4-total_size = 0
pkmem:5-total_size = 10485760
pkmem:6-total_size = 10485760
pkmem:7-total_size = 0
pkmem:8-total_size = 0
pkmem:9-total_size = 0
pkmem:10-total_size = 10485760
pkmem:11-total_size = 10485760
pkmem:12-total_size = 0
pkmem:13-total_size = 0
pkmem:14-total_size = 0
pkmem:15-total_size = 10485760
pkmem:16-total_size = 10485760
pkmem:17-total_size = 0
pkmem:18-total_size = 0
pkmem:19-total_size = 0
pkmem:20-total_size = 10485760
pkmem:21-total_size = 10485760

[root@pinger-edge-01.dfw ~]# opensipsctl ps
Process:: ID=0 PID=26872 Type=attendant
Process:: ID=1 PID=26874 Type=MI FIFO
Process:: ID=2 PID=26875 Type=MI Datagram
Process:: ID=3 PID=26876 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=4 PID=26877 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=5 PID=26878 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=6 PID=26879 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=7 PID=26880 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=8 PID=26881 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=9 PID=26882 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=10 PID=26883 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=11 PID=26884 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=12 PID=26885 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=13 PID=26886 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=14 PID=26887 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=15 PID=26888 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=16 PID=26889 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=17 PID=26890 Type=SIP receiver udp:x.x.x.x:5060
Process:: ID=18 PID=26891 Type=time_keeper
Process:: ID=19 PID=26892 Type=timer
Process:: ID=20 PID=26893 Type=timer
Process:: ID=21 PID=26894 Type=timer

My logs indicate all PID's are processing messages so this must be some type of reporting problem.

Discussion

  • Bogdan-Andrei Iancu

    info patch

     
  • Bogdan-Andrei Iancu

    Hi Richard,

    To get more info, could you apply the patch I uploaded here and to run again the stats query ?
    Post the INFO output you will get from opensips when running the query.

    Thanks and regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • labels: 1134771 --> core
    • priority: 5 --> 7
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> open-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks