client lost connection to ejabberd server 2 times per day

I have ejabberd 2.1.13 intalled on my centos x64 server. I used miranda and miranda NG, all the same, even with keepalive option and keepstatus plugin i often get offline. If i reconnect - it connect perfectly. I usually get watchdog messages like that:
And my ejabberd config after that logs. PLEASE HELP ME. TY.

watchdog:
23:51:19: (ejabberd@localhost) The process <0.343.0> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,514229},
{mbuf_size,0},
{stack_size,55},
{old_heap_size,82830},
{heap_size,150774}]
[{current_function,{mnesia_index,r_keys,3}},
{initial_call,{proc_lib,init_p,5}},
{message_queue_len,0},
{links,[<0.270.0>]},
{dictionary,[{random_seed,{2791,20759,8923}},
{'$ancestors',[ejabberd_iq_sup,ejabberd_sup,<0.36.0>]},
{'$initial_call',{gen_iq_handler,init,1}}]},
{heap_size,514229},
{stack_size,50}]
23:51:57: (ejabberd@localhost) The process <0.7959.17> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,514229},
{mbuf_size,0},
{stack_size,60},
{old_heap_size,25701},
{heap_size,126733}]
Process type: c2s
Command to kill this process: kill ejabberd@localhost <0.7959.17>
23:51:59: (ejabberd@localhost) The process <0.7959.17> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,196418},
{mbuf_size,0},
{stack_size,60},
{old_heap_size,62044},
{heap_size,48751}]
Process type: c2s
Command to kill this process: kill ejabberd@localhost <0.7959.17>
23:51:59: (ejabberd@localhost) The process <0.7959.17> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,317811},
{mbuf_size,0},
{stack_size,60},
{old_heap_size,62044},
{heap_size,78095}]
Process type: c2s
Command to kill this process: kill ejabberd@localhost <0.7959.17>
23:52:00: (ejabberd@localhost) The process <0.7959.17> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,317811},
{mbuf_size,0},
{stack_size,49521},
{old_heap_size,63476},
{heap_size,26869}]
Process type: c2s
Command to kill this process: kill ejabberd@localhost <0.7959.17>
23:52:04: (ejabberd@localhost) The process <0.7959.17> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,317811},
{mbuf_size,0},
{stack_size,60},
{old_heap_size,68285},
{heap_size,81063}]
Process type: c2s
Command to kill this process: kill ejabberd@localhost <0.7959.17>
23:52:04: (ejabberd@localhost) The process <0.7959.17> is consuming too much memory:
[{old_heap_block_size,832040},
{heap_block_size,317811},
{mbuf_size,0},
{stack_size,7997},
{old_heap_size,71309},
{heap_size,71266}]
Process type: c2s
Command to kill this process: kill ejabberd@localhost <0.7959.17>

my config:
{loglevel, 3}.

{hosts, ["*****.com"]}.

{listen,
[

{5222, ejabberd_c2s, [
{certfile, "/home/crypted/opt/ejabberd-2.1.10/conf/server.pem"}, starttls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},

{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},

{5280, ejabberd_http, [
captcha,
http_bind,
http_poll,
web_admin
]}

]}.

{auth_method, internal}.

{shaper, normal, {maxrate, 1000}}.

{shaper, fast, {maxrate, 50000}}.

{acl, admin, {user, "*****", "*****.com"}}.

{acl, local, {user_regexp, ""}}.

{access, max_user_sessions, [{10, all}]}.

{access, local, [{allow, local}]}.

{access, c2s, [{deny, blocked},
{allow, all}]}.

{access, c2s_shaper, [{none, admin},
{normal, all}]}.

{access, s2s_shaper, [{fast, all}]}.

{access, announce, [{allow, admin}]}.

{access, configure, [{allow, admin}]}.

{access, muc_admin, [{allow, admin}]}.

{access, muc, [{allow, all}]}.
{access, muc_create, [{allow, local}]}.

{access, register, [{allow, admin}]}.

{access, pubsub_createnode, [{allow, local}]}.

{language, "en"}.

{clusterid, 1}.

{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % requires mod_adhoc
{mod_caps, []},
{mod_configure,[]}, % requires mod_adhoc
{mod_disco, []},
{mod_http_bind,[]},
{mod_last, []},
{mod_muc, [
{access, muc},
{access_create, muc_create},
{access_persistent, muc_create},
{access_admin, muc_admin}
]},
{mod_offline, []},
{mod_privacy, []},
{mod_private, []},
{mod_pubsub, [ % requires mod_caps
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, true}, % reduce resource comsumption, but XEP incompliant
{last_item_cache, false},
{plugins, ["flat", "hometree", "pep"]}
]},
{mod_register, [
{welcome_message, {"Welcome!",
"Welcome to this Jabber server."}},

{access, register}
]},
{mod_roster, []},
{mod_shared_roster,[]},
{mod_time, []},
{mod_vcard, []},
{mod_version, []}
]}.

Syndicate content