[Tsung] Configuration Problem
Matthias Stiller
fvonx2 at googlemail.com
Fri Apr 18 17:05:59 CEST 2008
Mh. My configuration file doesn't contain the (http://xxx) part. I think the
email client extended the message somehow ...
I found my problem. The <monitoring>-tag was placed after the <load>-tags.
But Tsung still does not produce any data about the servers resources. Both
machines (client and server) run the same erlang virtual machines.
As soon as I start Tsung on the client an erl_crash.dump is generated at the
server. The tsung controller says the following:
=ERROR REPORT==== 18-Apr-2008::16:51:10 ===
** Generic server ts_os_mon terminating
** Last message in was {'$gen_cast',{activate,[{"debby",erlang}]}}
** When Server state == {state,[],[],undefined,10000,{global,ts_mon}}
** Reason for termination ==
** {{badmatch,{error,timeout}},
[{ts_os_mon,start_beam,1},
{ts_os_mon,active_host,2},
{ts_os_mon,handle_cast,2},
{gen_server,handle_msg,6},
{proc_lib,init_p,5}]}
My tsung configuration looks like:
...
<clients>
<client host="localhost" use_controller_vm="false" maxusers="8000" >
</client>
</clients>
<!-- Server configuration -->
<servers>
<server host="192.168.2.106" port="5222" type="tcp"></server>
</servers>
<monitoring>
<monitor host="debby" type="erlang"/>
</monitoring>
...
Do I have to configure something else? Maybe the virtual machines ... ?
Sorry for asking so many questions - I am not very familiar with the erlang
world. :/
2008/4/18, Nicolas Niclausse <nicolas at niclux.org>:
>
> Matthias Stiller ecrivait le 17.04.2008 15:53:
>
> > Hi,
> >
> > thanks for your answer. I have two further questions again.
> > I wonder how the response time in Tsung for every request (including
> > presence and messages) is being measured. Since XMPP is not synchronous you
> > don't get any answer to your messages. Is the receiving entity "waiting" for
> > an incoming message to calculate the response time? Or how is this done? As
> > far as I understand your acknowledgement system ack=local doesn't make sense
> > for presence and message stanzas ... ?! So the ack-attribute is not the
> > answer to my question, or?
> >
> > I would like to monitor the server's resources utilisation using an
> > Erlang agent. I wrote the following to my configuration script:
> > ...
> > <monitoring>
> > <monitor host="192.168.2.106 <http://192.168.2.106>" type="erlang"/>
> >
>
> => what is this (http://xxxx) ???
>
> for erlang monitoring, you should use the hostname instead of IP
>
> </monitoring>
> > ...
> >
> > And get an error message saying:
> >
> > 569- fatal: {failed_validation,
> >
> > {element_seq_not_conform,{wait,sessions},{is,monitoring}}}
> > ["Config Error, aborting !
> > ",{fatal,{{failed_validation,{element_seq_not_conform,{wait,sessions},{is,monitoring}}},{file,"/home/ms/.tsung/tsung.xml"},{line,204},{col,1}}}]
> >
>
>
> Your xml file is not valid.
>
> take a look at line 204
> --
> Nicolas
> _______________________________________________
> Tsung-users mailing list
> Tsung-users at lists.process-one.net
> https://lists.process-one.net/mailman/listinfo/tsung-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080418/15f3e332/attachment.html
More information about the Tsung-users
mailing list