[OpenSIPS-Users] memory consumed by t_relay

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jun 25 12:53:30 CEST 2013


Hi Chen-Che,

Aside the "inused_transactions", all the other TM stats are counters
(like how many UAC transactions were so far) - so they never go down.

Try to compare the used_sized (not real_used_size), as real_used_size is
affected by the memory fragmentation (as it includes all memory overhead
of memory manager).

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 06/25/2013 12:04 PM, microx wrote:
> Hi Bogdan-Andrei,
>
> The dialogs related concerns are indeed addressed now. Many thanks for your
> help.
>
> Regarding REGISTERs, they are simply relayed besides that the header fields
> of REGISTERs like contact/Via are modified at the outbound proxy. The
> outbound proxy does not maintain any avp variable or other information. 
>
> I used SIPp to keep sending REGISTERs. After about 200,000 REGISTERs, the
> number of  inused_transactions is fixed at 10. However, shmem:real_used_size
> is nearly three times shmem:real_used_size of OpenSIPS just restarting. I
> also observe that tm:UAS_transactions (414,056) is two times larger than the
> number of REGISTERs (which is basically equal to tm:2xx_transactions and
> tm:4xx_transactions). Is this likely to be the root cause of OpenSIPS at the
> outbound proxy keep consuming memory? The logs of OpenSIPS restarting and
> processing 200,000 REGISTERs are attached below. Please help take a look.
> Thanks so much.
>
> RegRestart.log
> <http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7586999/RegRestart.log>  
> Reg200K.log
> <http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7586999/Reg200K.log>  
>
> Best regards,
> Chen-Che
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/memory-consumed-by-t-relay-tp7586016p7586999.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list