[Devel] another mem-leak?

Klaus Darilion klaus.mailinglists at pernau.at
Thu May 10 15:04:52 CEST 2007


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



More information about the Devel mailing list