freebsd 9 crashes

Randy Bush randy at psg.com
Thu Dec 22 15:08:25 UTC 2011


freebsd 9-prerel
amd64
ejabberd port, 2.1.9

runs for one or more hours then crashes leaving beam.smp.core, which i
am not sure how to decode as i can not find beam.smp

i commented out pubsub due to rumors of memory leak

clue bat, please

randy

---

# cat /usr/local/etc/ejabberd/ejabberd.cfg
% 2009.09.28

% Host name:
{hosts, [ "jabber.rg.net" ] }.

% Default language for server messages
{language, "en"}.

% Authentication method.  If you want to use internal user base, then use
% this line:
{auth_method, internal}.

% Users that have admin access.  Add line like one of the following after you
% are successfully registered on server to get admin access:
{acl, admin, {user, "randy","jabber.rg.net"}}.
{acl, web_admin, {user, "randy","jabber.rg.net"}}.
%{acl, admin, {user, "randy at jabber.rg.net"}}.

{acl, web_admin, {user, "randy at jabber.rg.net"}}.

% Local users:
{acl, local, {user_regexp, ""}}.

% bad users
{acl, blocked, {user, "bad"}}.

% Only admins can use configuration interface:
{access, configure, [{allow, admin}]}.

% Every username can be registered via in-band registration:
{access, register, [ {allow, all} ] }.

% After successful registration user will get message with following subject
% and body:
{welcome_message,
 {"Welcome!",
  "Welcome to Jabber Service at jabber.rg.net."
  "For information about Jabber visit http://jabber.org"}}.
% Replace them with 'none' if you don't want to send such message:
%{welcome_message, none}.

% List of people who will get notifications about registered users
{registration_watchers, ["randy at jabber.rg.net"]}.

% Only admins can send announcement messages:
{access, announce, [{allow, admin}]}.

% Only non-blocked users can use c2s connections:
{access, c2s, [{deny, blocked}, {allow, all}] }.

% Set shaper with name "normal" to limit traffic speed to 50kB/s
{shaper, normal, {maxrate, 50000}}.

% For all S2S connections used normal shaper
{access, s2s_shaper, [{normal, all}]}.

% All users are allowed to use MUC service:
{access, muc, [{allow, all}]}.

% Admins of this server are also admins of MUC service:
{access, muc_admin, [{allow, admin}]}.

{ listen,
   [ {5222, ejabberd_c2s,     [ { access, c2s },
                                starttls,
                                { certfile, "/usr/local/etc/key.pem" } ]
                              },
     {5223, ejabberd_c2s,     [ { access, c2s },
                                tls,
                                { certfile, "/usr/local/etc/key.pem" } ] 
                              },
     {15222, ejabberd_c2s,    [ inet6,
                                { access, c2s },
                                starttls,
                                { certfile, "/usr/local/etc/key.pem" } ] 
                              },
     {15223, ejabberd_c2s,    [ inet6,
                                { access, c2s },
                                tls,
                                { certfile, "/usr/local/etc/key.pem" } ] 
                              },
     {5269, ejabberd_s2s_in,  [ {shaper, s2s_shaper} 
                                ] 
                              },
     {15269, ejabberd_s2s_in, [ inet6,
                                {shaper, s2s_shaper} 
                                ] 
                              },
     {5280, ejabberd_http,    [ http_poll, web_admin,
                                tls, { certfile, "/usr/local/etc/key.pem" } 
                                ] 
%%                              },
%%     {5347, ejabberd_service, [ { host, "aim.rg.net",
%%                                [ { password, "87ybkjhkiui7" } ]
%%                                  } ]
                              }
     ]
   }.

% If SRV lookup fails, then port 5269 is used to communicate with remote 
{outgoing_s2s_port, 5269}.

{modules,
   [{mod_register,  [ {access, register} ] },
    {mod_announce,  [ {allow, admin} ] },
    {mod_roster,    [] },
    {mod_privacy,   [] },
    {mod_configure, [] },
    {mod_configure2,[]},
    {mod_disco,     [] },
    {mod_stats,     [] },
    {mod_vcard,     [] },
    {mod_offline,   [] },
    {mod_private,   [] },
    {mod_muc,       [ {host, "conf.rg.net"},
                      {access, muc},
                      {access_create, muc},
                      {access_admin, muc_admin}
                      ] },
%%    {mod_pubsub,    [] },
    {mod_time,      [ {iqdisc, no_queue} ] },
    {mod_last,      [] },
    {mod_version,   [] }
    ]
   }.


More information about the freebsd-ports mailing list