Hi Daniel,<br><br>Thaks for your quick help. It works like a charm now, and round robin is robust now. I tested against many servers, and it really balances doing its best.<br><br>By the way, you mentioned new features for dispatcher. Is there any way I can learn and test them?
<br><br>Thanks again and regards,<br><br>Borislav Ivandic<br><br><br>007/8/21, Daniel-Constantin Mierla <<a href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>the bug was related to some new features added in dispatcher. Hopefully<br>I fixed that, please take the latest svn trunk and try again. Thank you,<br><br>Daniel<br><br><br>On 08/21/07 19:49, Borislav Ivandic wrote:
<br>> Hi Daniel,<br>><br>> Please see the backtrace:<br>><br>> Core was generated by `openser'.<br>> Program terminated with signal 11, Segmentation fault.<br>> #0 0x00000000 in ?? ()<br>> (gdb) bt
<br>> #0 0x00000000 in ?? ()<br>> #1 0xb7d154b5 in ds_connect_db () at dispatch.c:353<br>> #2 0xb7d1e3d7 in mi_child_init () at dispatcher.c:312<br>> #3 0x080e355d in init_mi_child () at mi/mi.c:88<br>> #4 0xb7cf6b96 in fifo_process (rank=0) at mi_fifo.c:197
<br>> #5 0x0809f49c in start_module_procs () at sr_module.c:561<br>> #6 0x080736b9 in main (argc=1, argv=0x0) at main.c:695<br>><br>><br>> Let me know if you need any other thing. By the way, originally I
<br>> tested Dispatcher round robin in 1.2.1 version.<br>><br>> Thanks and regards,<br>><br>> Borislav<br>><br>><br>> 2007/8/21, Daniel-Constantin Mierla <<a href="mailto:daniel@voice-system.ro">
daniel@voice-system.ro</a><br>> <mailto:<a href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</a>>>:<br>><br>> Hello,<br>><br>> On 08/20/07 22:09, Borislav Ivandic wrote:<br>> > Hi Daniel,
<br>> ><br>> > Apologize me for the delay, but it wasn't easy setting-up the lab<br>> > environment. Anyway, downloaded the devel version, and, after<br>> > installing, found a "Segmentation fault (core dumped)" log message.
<br>> > Maybe it's my short experience working with devel versions, but<br>> wasn't<br>> > able to run openser. Please see below the last part of log:<br>> please send the backtrace, you got a coredump.
<br>><br>> gdb /path/to/openser /path/to/corefile<br>> bt<br>><br>> Thanks,<br>> Daniel<br>><br>> ><br>> > Thanks in advance,<br>> ><br>> > Borislav Ivandic
<br>> ><br>> > Log:<br>> ><br>> ><br>> > DEBUG:db_free_rows: Freeing 0 rows<br>> > DEBUG:init_mod_child: CHILD , rank=1, module=registrar<br>> > DEBUG:init_mod_child: CHILD , rank=1, module=nathelper
<br>> > DEBUG:init_mod_child: CHILD , rank=1, module=uri_db<br>> > db_init: Connection 'mysql://root:.acantoflextel@localhost/openser'<br>> > found in pool<br>> > DEBUG:init_mod_child: CHILD , rank=1, module=dispatcher
<br>> > Aug 20 17:40:11 [3897] DBG:dispatcher:child_init: #1 / pid <3897><br>> > Segmentation fault (core dumped)<br>> ><br>> ><br>> ><br>> ><br>> > 2007/8/15, Daniel-Constantin Mierla <
<a href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</a><br>> <mailto:<a href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</a>><br>> > <mailto: <a href="mailto:daniel@voice-system.ro">
daniel@voice-system.ro</a> <mailto:<a href="mailto:daniel@voice-system.ro">daniel@voice-system.ro</a>>>>:<br>> ><br>> > Hello,<br>> ><br>> > can you get latest devel version (trunk) and give it a try?
<br>> I did some<br>> > fix, hopefully. Please report the results.<br>> ><br>> > Cheers,<br>> > Daniel<br>> ><br>> ><br>> > On 08/14/07 23:32, Francisco Ivandic wrote:
<br>> > > Hi All,<br>> > ><br>> > > I'm using dispatcher succesfully, with round robin alg (option<br>> > 4), and<br>> > > also use ds_mark_dst and ds_next_dst to select other proxy in
<br>> > case of<br>> > > failure. It balances great when all servers are active,<br>> but when<br>> > there<br>> > > are inactive servers, round robin alg selects the next in
<br>> the round,<br>> > > even if it's marked as inactive. This results in going through<br>> > > ds_next_dst, and overloads the first active server in the<br>> > dispatcher
<br>> > > file until completing the round. Then, other active<br>> servers are<br>> > > called, and when passing to a group of inactive servers,<br>> starts<br>> > going
<br>> > > through the first active (as much times as inactive<br>> servers there<br>> > > are), and again completing the round.<br>> > ><br>> > > Does anyone know a way to implement a round robin aware of
<br>> inactive<br>> > > servers?<br>> > ><br>> > ><br>> > > Thanks in advance,<br>> > ><br>> > > Borislav Ivandic
<br>> > ><br>> ><br>> ------------------------------------------------------------------------<br>> > ><br>> > > _______________________________________________
<br>> > > Users mailing list<br>> > > <a href="mailto:Users@openser.org">Users@openser.org</a> <mailto:<a href="mailto:Users@openser.org">Users@openser.org</a>><br>> <mailto:
<a href="mailto:Users@openser.org">Users@openser.org</a> <mailto:<a href="mailto:Users@openser.org">Users@openser.org</a>>><br>> > > <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users
</a><br>> <<a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a>><br>> > ><br>> ><br>> ><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openser.org">Users@openser.org</a><br>> <a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>><br></blockquote></div><br>