[sr-dev] [kamailio/kamailio] t_replicate transaction failures keeps transaction in memory forever (#1220)

Daniel-Constantin Mierla notifications at github.com
Tue Sep 5 15:35:44 CEST 2017


Here is a gdb script snippet to print transaction structures from memory -- hopefully works ok, not tested here yet:

```
set $i=0
while($i<TABLE_ENTRIES)

set $ehead = &_tm_table->entries[$i]
set $tcell = _tm_table->entries[$i].next_c

while($ehead!=(void*)$tcell)
p $tcell
p *$tcell
set $tcell = $tcell->next_c;
end

set $i = $i + 1
end
```

Try to attach to last udp worker, so traffic routing goes ok. You may need to replace `TABLE_ENTRIES` with `2^16` if gdb complains that it cannot find its value.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1220#issuecomment-327177060
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170905/b23e7882/attachment.html>


More information about the sr-dev mailing list