Sander Devrieze | 5 Sep 2004 23:23
Picon

ejabberd under Mac OS X?


Hello,

Is someone running ejabberd under Mac OS X? Or can someone try it? I want to 
know that because the listing on jabber.org says it isn't 
( http://www.jabber.org/software/servers.php ) but on erlang.org I see there 
exists an Erlang package for Mac OS X. Alexey said that it wasn't listed 
there because he doesn't knows for sure....so if someone can answer this 
question, ejabberd's feature score on jabber.org can increase again! ;)

--

-- 
Mvg, Sander Devrieze.

xmpp:sander <at> l4l.be -- ( http://jabber.l4l.be/ )
Andrew Taylor | 6 Sep 2004 15:48
Picon
Favicon

some questions, threads, concurrent users

I am not familiar with Erlang (but it sure seems neat), so I have a few questions about ejabberd...
 
 
1) is there an OS thread for each jabber client ?
2) is there an Erlang PID for each jabber client ?
3) does a PID equate to an OS thread ?
4) is the thread answer different on windows/linux ?
5) any input on the max concurrent users/sessions that a single ejabberd can handle (say 2GB, 3Ghz machine)
 
My main requirement for an upcoming project is a lot of concurrent users, and the main functional requirements are authentication and messaging (ie no registration, presence, roster, etc).  Mainly just a message router.
 
-- Thanks for any answers, Andrew Taylor
 
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Mickael Remond | 6 Sep 2004 16:35

Re: some questions, threads, concurrent users

Andrew Taylor wrote:
> I am not familiar with Erlang (but it sure seems neat), so I have a few 
> questions about ejabberd...
>  
>  
> 1) is there an OS thread for each jabber client ?

No. An Erlang virtual machine schedule its on process inside a single OS 
thread. For question 4: This is why the behaviour of an Erlang 
application is strictly the same on Windows and Linux for example.
This is also why Erlang thread are very light.

> 2) is there an Erlang PID for each jabber client ?

Yes. At least one.

> 3) does a PID equate to an OS thread ?

No. See my answer to 1.

> 4) is the thread answer different on windows/linux ?

No. See my answer to 1.

> 5) any input on the max concurrent users/sessions that a single ejabberd 
> can handle (say 2GB, 3Ghz machine)

I think it should be at least 4000 concurrent users/sessions. Could be 
more but this figure is highly dependendant of the activity intensity of 
each user/session.

I hope this helps.

--

-- 
Mickaël Rémond
  http://www.erlang-projects.org/
jad | 6 Sep 2004 14:57

mnesia on a diskless client - starting up

I am trying to implement a jabber cluster, such that multiple servers 
running ejabberd connect to a backend database (which will not be running 
ejabberd).

The backend database has all of the tables created correctly, and I can 
connect to the database from a ejabberd server, by doing the following:

$ erl -sname ejabberd
Erlang (BEAM) emulator version 5.3.6.3 [source] [hipe]

Eshell V5.3.6.3  (abort with ^G)
(ejabberd <at> jabber-1)1> mnesia:start().
ok
(ejabberd <at> jabber-1)2> mnesia:change_config(extra_db_nodes,['ejabberd <at> db']).
{ok,['ejabberd <at> db']}
(ejabberd <at> jabber-1)3> mnesia:info().
Everything appears as it should.

However, want I really want to do is to start the jabber server so that it 
automatically connects to the database server.

The documentation seems to imply that:

$ erl -sname ejabberd -mnesia extra_db_nodes \{['ejabberd <at> db']\)

(or some variant of the above - I've tried quite a few) should do the 
trick, but I just can't get it to work.

Does anyone know how to get this working? I'm reasonably sure that I'm 
just being stupid, and missing something obvious, but I just can't figure 
out what to do now.

Thanks,

J
Magnus Henoch | 6 Sep 2004 15:43
Picon
Favicon

Re: ejabberd under Mac OS X?

Sander Devrieze <s.devrieze <at> pandora.be> writes:

> Hello,
>
> Is someone running ejabberd under Mac OS X? Or can someone try it? I want to 
> know that because the listing on jabber.org says it isn't 
> ( http://www.jabber.org/software/servers.php ) but on erlang.org I see there 
> exists an Erlang package for Mac OS X. Alexey said that it wasn't listed 
> there because he doesn't knows for sure....so if someone can answer this 
> question, ejabberd's feature score on jabber.org can increase again! ;)

It doesn't work out of the box.  I patched it like this:

Attachment (ejabberd.patch): text/x-patch, 1326 bytes

and it worked.  I inferred these switches from the Erlang
documentation.  I never got around to making proper autoconf tests for
this...

After these patches, it seemed to work.  I just fired it up
temporarily to test my client, so I wouldn't know if it has many
problems.

Magnus
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Dale, Rick | 9 Sep 2004 19:45

Linux & 2k3 Nodes.

Hi:

 

I have set up two ejabberd servers on separate IP Subnets. They are connected via a WAN. How do I connect the two nodes?

 

One server is running Win 2k3 on subnet 192.168.3.0/24 while the linux box is on subnet 192.168.1.0/24.

 

I can't seem to get the 2 nodes to talk to one another.

 

Any help is appreciated.

 

Thanks,

 

Rick

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Dale, Rick | 10 Sep 2004 18:11

RE: Linux & 2k3 Nodes.

Never mind

Figured it out.

Did a port scan and found my route was blocking that port. Everything is
perfect now :)

________________________________________
From: ejabberd-bounces <at> jabber.ru [mailto:ejabberd-bounces <at> jabber.ru] On
Behalf Of Dale, Rick
Sent: Thursday, September 09, 2004 12:45 PM
To: ejabberd <at> jabber.ru
Subject: [ejabberd] Linux & 2k3 Nodes.

Hi:

I have set up two ejabberd servers on separate IP Subnets. They are
connected via a WAN. How do I connect the two nodes? 

One server is running Win 2k3 on subnet 192.168.3.0/24 while the linux box
is on subnet 192.168.1.0/24. 

I can't seem to get the 2 nodes to talk to one another. 

Any help is appreciated. 

Thanks,

Rick
stephane.chomat@9online.fr | 15 Sep 2004 19:26
Picon

http admin web, don't find the administrateur.

Hi.
I don't find username and password of ejabberd administrator for 
connected at the Web-based Administration Interface of ejabberd 
(http://localhost:5280/admin/).
Where I get this information (username and password of ejabberd 
administrator) ?
Thanks.
Dale, Rick | 15 Sep 2004 19:48

RE: http admin web, don't find the administrateur.

It is the user you set up in your ejabberd.cfg as admin and their password.

Ie. {acl, admin, {user, "rick"}}. Is the user rick and his p/w

HTH

-----Original Message-----
From: ejabberd-bounces <at> jabber.ru [mailto:ejabberd-bounces <at> jabber.ru] On
Behalf Of stephane.chomat <at> 9online.fr
Sent: Wednesday, September 15, 2004 12:26 PM
To: ejabberd <at> jabber.ru
Subject: [ejabberd] http admin web, don't find the administrateur.

Hi.
I don't find username and password of ejabberd administrator for 
connected at the Web-based Administration Interface of ejabberd 
(http://localhost:5280/admin/).
Where I get this information (username and password of ejabberd 
administrator) ?
Thanks.

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Pablo Venini | 15 Sep 2004 20:12
Picon
Favicon

Help on http_poll

Hi
    I'm new to jabber and I've recently installed ejabberd 0.7 on red hat 9. 
I've successfully used it with Exodus 0.9 in normal mode, but when I try 
http_polling I can't connect to it.
My ejabberd.cfg looks like this:

    %Host name:
    {host, "firewall.casa.com"}.

    %Listened ports:
    {listen,
    ...
    {5280,  ejabberd_http,  [web_admin]},
    {80,      ejabberd_http,  [http_poll]},

And Exodus is configured as following:

   [PROFILE]
        Server: firewall.casa.com

    [CONNECTION]
        Type: HTTP
        Priority: 0

    [HTTP POLLING]
        Url: http://firewall.casa.com/http-poll

Exodus shows "Connected: authenticating" but it stays in that state forever. 
Ejabber sees the connection (appears in its console output) and the HTTP 
POST. Any ideas on what I could be doing wrong? (There is no firewall or 
proxy between the two machines)

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/

Gmane