[ previous ] [ next ] [ threads ]
 To :  Yate mailing list <yate@v...>
 From :  Maciek Kaminski <maciejka@t...>
 Subject :  chan.attach override leaves zombie threads
 Date :  Thu, 27 Sep 2007 12:04:43 +0200
Hi ppl,

First of all congratulations to Null Team for getting yate 2 closer to beta.

Second, I have a problem with(probably) chan.attach in override mode 
that I had no time to investigate, probably someone has already found a 
solution.

It seems that chan.attach in override mode leaves WaveSource thread 
uncleaned. Problem is that those threads occupy some scheduler resources 
since as the time goes on, load increases (around 100) and performance 
decreases. They are cleaned at yate shutdown, which is a bit to late:
 Trying to kill ThreadPrivate 'WaveSource' [0x807b030], attempt 1
 WaveSource cleanup, total=0, alive=true, autoclean=false 
chan=(nil) [0x8079570]
 Trying to kill ThreadPrivate 'WaveSource' [0x807b030], attempt 2
 Trying to kill ThreadPrivate 'WaveSource' [0x8083180], attempt 1
 WaveSource cleanup, total=0, alive=true, autoclean=false 
chan=(nil) [0x80742b0]
...

Any suggestions?

mk