[Devel] another mem-leak?

Daniel-Constantin Mierla daniel at voice-system.ro
Thu May 10 15:15:28 CEST 2007


Hello,

please send SIGUSR1 once it has run out of memory and post the output in 
the log. At shut down seems that the memory is cleaned up. Is shm or pkg?

http://openser.org/dokuwiki/doku.php/troubleshooting:memory

Cheers,
Daniel


On 05/10/07 16:04, Klaus Darilion wrote:
> I still use openser 1.2, thus I have to use t_release()
>
> regards
> klaus
>
>
> Klaus Darilion wrote:
>> Hi!
>>
>> I've repeated my presence+postgresql tests on another debian4 server. 
>> This time there is no signal 9, but openser runs out of memory.
>>
>> Process::  ID=0 PID=25877 Type=attendant
>> Process::  ID=1 PID=25881 Type=receiver child=0 sock= xx.xx.xx.xx:6060
>> Process::  ID=2 PID=25882 Type=timer
>> Process::  ID=3 PID=25883 Type=tcp receiver
>> Process::  ID=4 PID=25884 Type=tcp main process
>>
>>
>> relevant config:
>>   if (is_method("SUBSCRIBE")) {
>>    xlog("L_DBG","$ci SUBSCRIBE detected, handle_subscribe ...\n");
>>    handle_subscribe();
>>    xlog("L_DBG","$ci SUBSCRIBE detected, handle_subscribe ... done\n");
>>    exit;
>>   }
>>
>>   if (is_method("PUBLISH")) {
>>    xlog("L_INFO","$ci PUBLISH detected, handle_publish ... outside 
>> t_newtran\n");
>>    if (t_newtran()) {
>>     xlog("L_INFO","$ci PUBLISH detected, handle_publish ... inside 
>> t_newtran\n");
>>     handle_publish();
>>     xlog("L_INFO","$ci PUBLISH detected, handle_publish ... done\n");
>>     t_release();
>>     exit;
>>    } else {
>>     sl_reply_error();
>>     exit;
>>    }
>>   }
>>
>>
>> memory-dump at:
>> http://pernau.at/kd/openser/otherPCmemleak.openser.log
>>
>>
>> regards
>> klaus
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list