[Users] memory leak in presence module?
    Daniel-Constantin Mierla 
    daniel at voice-system.ro
       
    Mon Apr 30 13:38:04 CEST 2007
    
    
  
Hello Klaus,
On 04/30/07 13:55, Klaus Darilion wrote:
>
>
> Daniel-Constantin Mierla wrote:
>> Hello Klaus,
>>
>> On 04/27/07 09:27, Klaus Darilion wrote:
>>> Hi Daniel!
>>>
>>> I've tried with t_release and it was running fine several hours 
>>> without leaking. But then, unfortunately openser terminated with 
>>> signal 9. I've never seen this before.
>>
>> signal 9 is KILL, it is very strange if it was not issued by a user 
>> or other process.
>>
>> We discovered the issue (tm/uac.c, line 224), ther eis flag that is 
>> kept to see if there was some operation with the transaction, but in 
>> case of handle_publish() that flag is set by TM api when sending 
>> NOTIFY. The patch is trivial, removing a line, but we have to 
>> investigate if there are some other effects -- so it may take a 
>> while. t_release() should solve meanwhile.
>
> Should solve the memory-leak - but the signal 9?
It might be that it took so long to write the mem long at shut down and 
openser killed itself. If it was not due to a openser stop, then I am 
not aware of any case when signal 9 is sent unless issued by user.
Cheers,
Daniel
>
> regards
> klaus
>
    
    
More information about the Users
mailing list