[OpenSER-Users] Dispatcher round robin....

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Aug 21 09:12:28 CEST 2007


Hello,

On 08/20/07 22:09, Borislav Ivandic wrote:
> Hi Daniel,
>
> Apologize me for the delay, but it wasn't easy setting-up the lab 
> environment. Anyway, downloaded the devel version, and, after 
> installing, found a "Segmentation fault (core dumped)" log message. 
> Maybe it's my short experience working with devel versions, but wasn't 
> able to run openser. Please see below the last part of log:
please send the backtrace, you got a coredump.

gdb /path/to/openser /path/to/corefile
bt

Thanks,
Daniel

>
> Thanks in advance,
>
> Borislav Ivandic
>
> Log:
>
>
> DEBUG:db_free_rows: Freeing 0 rows
> DEBUG:init_mod_child: CHILD , rank=1, module=registrar
> DEBUG:init_mod_child: CHILD , rank=1, module=nathelper
> DEBUG:init_mod_child: CHILD , rank=1, module=uri_db
> db_init: Connection 'mysql://root:.acantoflextel@localhost/openser' 
> found in pool
> DEBUG:init_mod_child: CHILD , rank=1, module=dispatcher
> Aug 20 17:40:11 [3897] DBG:dispatcher:child_init:  #1 / pid <3897>
> Segmentation fault (core dumped)
>
>
>
>
> 2007/8/15, Daniel-Constantin Mierla <daniel at voice-system.ro 
> <mailto:daniel at voice-system.ro>>:
>
>     Hello,
>
>     can you get latest devel version (trunk) and give it a try? I did some
>     fix, hopefully. Please report the results.
>
>     Cheers,
>     Daniel
>
>
>     On 08/14/07 23:32, Francisco Ivandic wrote:
>     > Hi All,
>     >
>     > I'm using dispatcher succesfully, with round robin alg (option
>     4), and
>     > also use ds_mark_dst and ds_next_dst to select other proxy in
>     case of
>     > failure. It balances great when all servers are active, but when
>     there
>     > are inactive servers, round robin alg selects the next in the round,
>     > even if it's marked as inactive. This results in going through
>     > ds_next_dst, and overloads the first active server in the
>     dispatcher
>     > file until completing the round. Then, other active servers are
>     > called, and when passing to a group of inactive servers, starts
>     going
>     > through the first active (as much times as inactive servers there
>     > are), and again completing the round.
>     >
>     > Does anyone know a way to implement a round robin aware of inactive
>     > servers?
>     >
>     >
>     > Thanks in advance,
>     >
>     > Borislav Ivandic
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at openser.org <mailto:Users at openser.org>
>     > http://openser.org/cgi-bin/mailman/listinfo/users
>     >
>
>




More information about the sr-users mailing list