[ejabberd] Process consuming too much memory

Nigel Kukard nkukard at lbsd.net
Sun Jul 11 15:57:11 MSD 2010




On 07/11/10 09:44, Nigel Kukard wrote:
>   
>> The alert module is for developer debug only as indicated in the
>> documentation.
>> It is likely that your install is fine.
>>   
>>     
> What I did is comment it out...
> %% {watchdog_admins, ["nkukard at xxx"]}.
>
> I then got this about 5 mins after startup...
>
> ('ejabberd at jabber-0-1') The process <0.146.0> is consuming too much memory:
> [{old_heap_block_size,1346269},
>  {heap_block_size,514229},
>  {mbuf_size,0},
>  {stack_size,67},
>  {old_heap_size,792884},
>  {heap_size,228724}]
> [{current_function,{dets_v9,binobjs2terms,6}},
>  {initial_call,{proc_lib,init_p,5}},
>  {message_queue_len,0},
>  {links,[<0.50.0>,<0.51.0>,#Port<0.234>]},
>  {dictionary,[{1348,585016},
>               {1336,3384},
>               {1356,1021240},
>               {'$ancestors',[dets_sup,kernel_safe_sup,kernel_sup,<0.8.0>]},
>               {1344,662840},
>               {312,1336},
>               {1352,750904},
>               {1360,1076536},
>               {1340,652600},
>               {'$initial_call',{dets,init,[<0.50.0>,<0.51.0>]}}]},
>  {heap_size,832040},
>  {stack_size,59}]
> [09:13:44] jabber.iitsp.com: ('ejabberd at jabber-0-1') The process
> <0.146.0> is consuming too much memory:
> [{old_heap_block_size,1346269},
>  {heap_block_size,832040},
>  {mbuf_size,0},
>  {stack_size,67},
>  {old_heap_size,792884},
>  {heap_size,516268}]
> [{current_function,{dets_v9,binobjs2terms,6}},
>  {initial_call,{proc_lib,init_p,5}},
>  {message_queue_len,0},
>  {links,[<0.50.0>,<0.51.0>,#Port<0.234>]},
>  {dictionary,[{1348,585016},
>               {1336,3384},
>               {1356,1021240},
>               {'$ancestors',[dets_sup,kernel_safe_sup,kernel_sup,<0.8.0>]},
>               {1344,662840},
>               {312,1336},
>               {1352,750904},
>               {1360,1076536},
>               {1340,652600},
>
>
> is there a specific module I shouldn't be loading? if so, which one is it?
>
>   

Here is the error when I get these messages, I have a few thousand for
the past 2 hours.


=ERROR REPORT==== 2010-07-11 11:56:07 ===
E(<0.1511.0>:ejabberd_sm:88) : {{badarg,ok},
                                [{ejabberd_sm,route_message,3},
                                 {ejabberd_sm,route,3},
                                 {ejabberd_local,route,3},
                                 {ejabberd_router,route,3},
                                 {ejabberd_s2s_in,stream_established,2},
                                 {gen_fsm,handle_msg,7},
                                 {proc_lib,init_p,5}]}
when processing: {{jid,"update","identi.ca","xmpp001daemon","update",
                   "identi.ca","xmpp001daemon"},
                  {jid,"xx","jabber.iitsp.com",[],"xx",
                   "jabber.iitsp.com",[]},
                  {xmlelement,"message",
                   [{"type","chat"},
                    {"to","xx at jabber.iitsp.com"},
                    {"from","update at identi.ca/xmpp001daemon"}],
                   [{xmlelement,"body",[],
                     [{xmlcdata,
                       <<"gbraad: RT @kanarip Single CD Fedora 13 Remix
http://tinyurl.com/2djnouj [40823287]">>}]},
                    {xmlelement,"html",
                     [{"xmlns","http://jabber.org/protocol/xhtml-im"}],
                     [{xmlelement,"body",
                       [{"xmlns","http://www.w3.org/1999/xhtml"}],
                       [{xmlelement,"a",
                         [{"href","http://identi.ca/gbraad"}],
                         [{xmlcdata,<<"gbraad">>}]},
                        {xmlcdata,<<": RT @">>},
                        {xmlelement,"span",
                         [{"class","vcard"}],
                         [{xmlelement,"a",
                           [{"title","Jeroen van Meeuwen"},
                            {"class","url"},
                            {"href","http://identi.ca/user/41378"}],
                           [{xmlelement,"span",
                             [{"class","fn nickname"}],
                             [{xmlcdata,<<"kanarip">>}]}]}]},
                        {xmlcdata,<<" Single CD Fedora 13 Remix ">>},
                        {xmlelement,"a",
                         [{"rel","external"},
                          {"title",
                          
"http://planet.ergo-project.org/blog/jmeeuwen/2010/07/11/single-cd-fedora-13-remix"},
                          {"href","http://tinyurl.com/2djnouj"}],
                         [{xmlcdata,<<"http://tinyurl.com/2djnouj">>}]},
                        {xmlcdata,<<" ">>},
                        {xmlelement,"a",
                         [{"href",
                          
"http://identi.ca/conversation/40556054#notice-40823287"}],
                         [{xmlcdata,<<"[40823287]">>}]}]}]},
                    {xmlcdata,<<" ">>},
                    {xmlelement,"entry",
                     [{"xmlns","http://www.w3.org/2005/Atom"}],
                     [{xmlcdata,<<"\n ">>},
                      {xmlelement,"source",[],
                       [{xmlcdata,<<"\n  ">>},
                        {xmlelement,"id",[],
                         [{xmlcdata,<<"http://identi.ca/gbraad">>}]},
                        {xmlcdata,<<"\n  ">>},
                        {xmlelement,"title",[],
                         [{xmlcdata,<<"gbraad - Identi.ca">>}]},
                        {xmlcdata,<<"\n  ">>},
                        {xmlelement,"link",
                         [{"href","http://identi.ca/gbraad"}],
                         []},
                        {xmlcdata,<<"\n  ">>},
                        {xmlelement,"link",
                         [{"rel","self"},
                          {"type","application/atom+xml"},
                          {"href","http://identi.ca/gbraad"}],
                         []},
                        {xmlcdata,<<"\n  ">>},
                        {xmlelement,"link",
                         [{"rel","license"},
                          {"href",
                           "http://creativecommons.org/licenses/by/3.0/"}],
                         []},
                        {xmlcdata,<<"\n  ">>},
                        {xmlelement,"icon",[],
                         [{xmlcdata,
                          
<<"http://avatar.identi.ca/15178-96-20090501230930.png">>}]},
                        {xmlcdata,<<"\n  ">>},
                        {xmlelement,"updated",[],
                         [{xmlcdata,<<"2010-07-11T11:56:05+00:00">>}]},
                        {xmlcdata,<<"\n">>}]},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"title",[],
                       [{xmlcdata,
                         <<"RT @kanarip Single CD Fedora 13 Remix
http://tinyurl.com/2djnouj">>}]},
                      {xmlcdata,<<"\n">>},
                      {xmlelement,"author",[],
                       [{xmlcdata,<<"\n ">>},
                        {xmlelement,"name",[],[{xmlcdata,<<"gbraad">>}]},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"uri",[],
                         [{xmlcdata,<<"http://identi.ca/user/15178">>}]},
                        {xmlcdata,<<"\n">>}]},
                      {xmlcdata,<<"\n">>},
                      {xmlelement,"actor",
                       [{"xmlns","http://activitystrea.ms/spec/1.0/"}],
                       [{xmlcdata,<<"\n ">>},
                        {xmlelement,"object-type",[],
                         [{xmlcdata,
                          
<<"http://activitystrea.ms/schema/1.0/person">>}]},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"id",
                         [{"xmlns","http://www.w3.org/2005/Atom"}],
                         [{xmlcdata,<<"http://identi.ca/user/15178">>}]},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"title",
                         [{"xmlns","http://www.w3.org/2005/Atom"}],
                         [{xmlcdata,
                           <<71,101,114,97,114,100,32,66,114,97,97,100,32,
                             40,229,144,137,230,139,137,229,190,183,41>>}]},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"link",
                         [{"rel","alternate"},
                          {"type","text/html"},
                          {"href","http://identi.ca/gbraad"},
                          {"xmlns","http://www.w3.org/2005/Atom"}],
                         []},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"link",
                         [{"rel","avatar"},
                          {"type","image/png"},
                          {"xmlns:ns1",
                           "http://purl.org/syndication/atommedia"},
                          {"ns1:height","100"},
                          {"xmlns:ns2",
                           "http://purl.org/syndication/atommedia"},
                          {"ns2:width","100"},
                          {"href",
                          
"http://avatar.identi.ca/15178-100-20090501230930.png"},
                          {"xmlns","http://www.w3.org/2005/Atom"}],
                         []},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"link",
                         [{"rel","avatar"},
                          {"type","image/png"},
                          {"xmlns:ns1",
                           "http://purl.org/syndication/atommedia"},
                          {"ns1:height","96"},
                          {"xmlns:ns2",
                           "http://purl.org/syndication/atommedia"},
                          {"ns2:width","96"},
                          {"href",
                          
"http://avatar.identi.ca/15178-96-20090501230930.png"},
                          {"xmlns","http://www.w3.org/2005/Atom"}],
                         []},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"link",
                         [{"rel","avatar"},
                          {"type","image/png"},
                          {"xmlns:ns1",
                           "http://purl.org/syndication/atommedia"},
                          {"ns1:height","48"},
                          {"xmlns:ns2",
                           "http://purl.org/syndication/atommedia"},
                          {"ns2:width","48"},
                          {"href",
                          
"http://avatar.identi.ca/15178-48-20090501230930.png"},
                          {"xmlns","http://www.w3.org/2005/Atom"}],
                         []},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"link",
                         [{"rel","avatar"},
                          {"type","image/png"},
                          {"xmlns:ns1",
                           "http://purl.org/syndication/atommedia"},
                          {"ns1:height","24"},
                          {"xmlns:ns2",
                           "http://purl.org/syndication/atommedia"},
                          {"ns2:width","24"},
                          {"href",
                          
"http://avatar.identi.ca/15178-24-20090501230930.png"},
                          {"xmlns","http://www.w3.org/2005/Atom"}],
                         []},
                        {xmlcdata,<<"\n ">>},
                        {xmlelement,"point",
                         [{"xmlns","http://www.georss.org/georss"}],
                         [{xmlcdata,<<"0 0">>}]},
                        {xmlcdata,<<"\n">>},
                        {xmlelement,"preferredUsername",
                         [{"xmlns","http://portablecontacts.net/spec/1.0"}],
                         [{xmlcdata,<<"gbraad">>}]},
                        {xmlcdata,<<"\n">>},
                        {xmlelement,"displayName",
                         [{"xmlns","http://portablecontacts.net/spec/1.0"}],
                         [{xmlcdata,
                           <<71,101,114,97,114,100,32,66,114,97,97,100,32,
                             40,229,144,137,230,139,137,229,190,183,41>>}]},
                        {xmlcdata,<<"\n">>},
                        {xmlelement,"note",
                         [{"xmlns","http://portablecontacts.net/spec/1.0"}],
                         [{xmlcdata,
                           <<"My 15K of fame; Software/Hardware
Engineer, Visuals Artist. Sysadmin Linux/Un*x, C/C++, Java, Python, ARM,
MIPS, DSP, FPGA... and Dutch!">>}]},
                        {xmlcdata,<<"\n">>},
                        {xmlelement,"address",
                         [{"xmlns","http://portablecontacts.net/spec/1.0"}],
                         [{xmlcdata,<<"\n ">>},
                          {xmlelement,"formatted",[],
                           [{xmlcdata,<<"Beijing, CHN / Apeldoorn, NL">>}]},
                          {xmlcdata,<<"\n">>}]},
                        {xmlcdata,<<"\n">>},
                        {xmlelement,"urls",
                         [{"xmlns","http://portablecontacts.net/spec/1.0"}],
                         [{xmlcdata,<<"\n ">>},
                         
{xmlelement,"type",[],[{xmlcdata,<<"homepage">>}]},
                          {xmlcdata,<<"\n ">>},
                          {xmlelement,"value",[],
                           [{xmlcdata,<<"http://gbraad.nl/">>}]},
                          {xmlcdata,<<"\n ">>},
                          {xmlelement,"primary",[],[{xmlcdata,<<"true">>}]},
                          {xmlcdata,<<"\n">>}]},
                        {xmlcdata,<<"\n">>}]},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"link",
                       [{"rel","alternate"},
                        {"type","text/html"},
                        {"href","http://identi.ca/notice/40823287"}],
                       []},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"id",[],
                       [{xmlcdata,<<"http://identi.ca/notice/40823287">>}]},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"published",[],
                       [{xmlcdata,<<"2010-07-11T11:56:05+00:00">>}]},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"updated",[],
                       [{xmlcdata,<<"2010-07-11T11:56:05+00:00">>}]},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"notice_info",
                       [{"repeat_of","40823096"},
                        {"local_id","40823287"},
                        {"source","web"},
                        {"xmlns","http://status.net/schema/api/1/"}],
                       []},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"link",
                       [{"rel","ostatus:conversation"},
                        {"href","http://identi.ca/conversation/40556054"}],
                       []},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"forward",
                       [{"ref","http://identi.ca/notice/40823096"},
                        {"href","http://identi.ca/notice/40823096"},
                        {"xmlns","http://ostatus.org/schema/1.0"}],
                       []},
                      {xmlcdata,<<"\n ">>},
                      {xmlelement,"content",
                       [{"type","html"}],
                       [{xmlcdata,
                         <<"RT @<span class=\"vcard\"><a
href=\"http://identi.ca/user/41378\" class=\"url\" title=\"Jeroen van
Meeuwen\"><span class=\"fn nickname\">kanarip</span></a></span> Single
CD Fedora 13 Remix <a href=\"http://tinyurl.com/2djnouj\"
title=\"http://planet.ergo-project.org/blog/jmeeuwen/2010/07/11/single-cd-fedora-13-remix\"
rel=\"external\">http://tinyurl.com/2djnouj</a>">>}]},
                      {xmlcdata,<<"\n">>}]},
                    {xmlcdata,<<"\n">>}]}}




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100711/b3ee336d/attachment-0001.pgp>


More information about the ejabberd mailing list