[Tsung] Using tsung in "cluster"

Pascal Cohen pcohen at horizonwimba.com
Thu Oct 19 09:53:20 CEST 2006


Hello
I don't know if the "cluster" word is the right one. Probably 
distributed would be more suitable.
Anyway, when I try to start tsung on several clients, the program stops 
quickly. When I have a look in the controller log I find the message 
like it is starting a new beam on a remote machine but it displays a log 
with timeout and it failed to start the beam. - I add a log at the end 
of this post. If I try to connect with ssh on the remote machine 
everything is OK. I have added the ssh keys to avoid asking for the 
password.

If I try from another machine it works. In fact it has been working 
until a new kernel was installed. I tried to reinstall but it doesn't 
work anymore.
I made tests with a rpm version but it didn't work either.

Currently I can start distributed tests starting the controller on the 
first machine and delegating process to other machines. But it doesn't 
sound really good for me :(
Has anyone had the same problem or any clue ?

Thanks

Pascal

Here is the log:

=INFO REPORT==== 16-Oct-2006::14:11:05 ===
   ts_config_server:(6:<0.44.0>) starting newbeam on host tsung2 from 
tsung1 with Args " -rsh ssh  -detached -setcookie  tsung
    -boot /usr/lib/erlang//lib/tsung-1.2.0/priv/tsung -boot_var 
TSUNGPATH /usr/lib/erlang/ -pa /usr/lib/erlang//lib/tsung-1.2.0/ebin -pa /
usr/lib/erlang//lib/tsung_controller-1.2.0/ebin -tsung debug_level 6 
-tsung dump none -tsung log_file ts_encoded_47home_47pcohen_47.tsung_4
7log_4720061016_4512_5811"

=INFO REPORT==== 16-Oct-2006::14:11:37 ===
   ts_config_server:(0:<0.44.0>) Can't start newbeam on host tsung2 
(reason: timeout) ! Aborting!

=ERROR REPORT==== 16-Oct-2006::14:11:37 ===
** Generic server ts_config_server terminating
** Last message in was {'$gen_cast',{newbeam,tsung2,[]}}
** When Server state == {state,{config,
                                  undefined,
                                  6,
                                  none,
                                  text,
                                  undefined,
                                  [{client,"tsung2",0.500000,800,[]},
                                   {client,"tsung2",0.500000,800,[]},
                                   {client,"tsung3",0.500000,800,[]},
                                   {client,"tsung3",0.500000,800,[]},
                                   {client,"tsung1",0.500000,800,[]},
                                   {client,"tsung1",0.500000,800,[]}],
                                  [{server,"cm1",5222,gen_tcp},
                                   {server,"cm2",5222,gen_tcp},
                                   {server,"cm3",5222,gen_tcp},
                                   {server,"cm4",5222,gen_tcp}],
                                  [],
                                  [{arrivalphase,
                                       1,
                                       215,
                                       undefined,
                                       undefined,
                                       0.100000,
                                       21000}],
                                  undefined,
                                  false,
                                  [],
                                  undefined,
                                  [{session,
                                       3,
                                       60,
                                       ts_jabber,
                                       true,
                                       negociate,
                                       undefined},
                                   {session,
                                       2,
                                       30,
                                       ts_jabber,
                                       true,
                                       negociate,
                                       undefined},
                                   {session,
                                       1,
                                       10,
                                       ts_jabber,
                                       true,
                                       negociate,
                                       undefined}],
                                  17,
                                  false,
                                  50,
                                  117,
                                  117,
                                  undefined,
                                  negociate},
                              "/home/pcohen/.tsung/log/20061016-12:11",
                              undefined,
                              tsung1,
                              0,
                              0,
                              undefined,
                              3.00000}
** Reason for termination ==
** {bad_return_value,{stop,normal}}

=INFO REPORT==== 16-Oct-2006::14:11:37 ===
             ts_mon:(0:<0.45.0>) Aborting by request !

=INFO REPORT==== 16-Oct-2006::14:11:37 ===
          ts_os_mon:(5:<0.50.0>) Terminating ts_os_mon, stop beams: []


More information about the Tsung-users mailing list