[OpenSIPS-Devel] [ opensips-Bugs-3274515 ] pkg mem reporting seems broke in (mostly) latest version
SourceForge.net
noreply at sourceforge.net
Thu Apr 7 13:47:21 CEST 2011
Bugs item #3274515, was opened at 2011-04-04 20:35
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3274515&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: core
Group: 1.6.x
Status: Open
>Resolution: Accepted
>Priority: 7
Private: No
Submitted By: Richard Revels (rrevels)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: pkg mem reporting seems broke in (mostly) latest version
Initial Comment:
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 at 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.
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-04-07 14:47
Message:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3274515&group_id=232389
More information about the Devel
mailing list