| Author |
Message |
|
| Guest |
Posted: Thu May 20, 2010 12:08 am |
|
|
|
Guest
|
Hi all.
I'm getting an error creating a pubsub node from a custom module, and
hoping someone here can help. Everything works just fine when
ejabberd is not clustered. I recently moved to a clustered setup, and
started getting errors. Here's a bit of info.
pertinent mnesia configuration:
(ejabberd@jabber02)1> mnesia:info().
===> System info in version "4.4.13", debug level = none <===
opt_disc. Directory "/var/lib/ejabberd/db" is used.
use fallback at restart = false
running db nodes = ['ejabberd@jabber01','ejabberd@jabber02']
stopped db nodes = []
master node tables = []
remote = []
ram_copies = [anonymous,captcha,http_bind,iq_response,mod_register_ip,
pubsub_subscription,reg_users_counter,route,s2s,session,
session_counter]
disc_copies = [acl,caps_features,config,local_config,motd,motd_users,
passwd,privacy,private_storage,pubsub_index,pubsub_item,
pubsub_node,pubsub_state,roster,roster_version,schema,
vcard,vcard_search]
disc_only_copies = []
[{'ejabberd@jabber01',disc_copies},{'ejabberd@jabber02',disc_copies}] = [schema,
roster,
motd_users,
motd,
passwd,
config,
vcard_search,
privacy,
acl,
roster_version,
pubsub_index,
pubsub_state,
pubsub_node,
pubsub_item,
private_storage,
vcard]
[{'ejabberd@jabber01',ram_copies},{'ejabberd@jabber02',ram_copies}] = [captcha,
session_counter,
reg_users_counter,
anonymous,
s2s,
http_bind,
iq_response,
route,
session,
pubsub_subscription]
[{'ejabberd@jabber02',disc_copies}] = [caps_features,local_config]
[{'ejabberd@jabber02',ram_copies}] = [mod_register_ip]
>From the module, I construct and send a pubsub create request
send_pubsub() ->
To = "pubsub." ++ ?MYNAME,
From = #jid{user = "master", luser = "master", server = ?MYNAME,
lserver = ?MYNAME, resource = "pubsub", lresource = "pubsub"},
Message = {xmlelement, "iq",
[{"type", "set"},
{"from", jlib:jid_to_string(From)},
{"to", To}],
[{xmlelement, "pubsub",
[{"xmlns", "http://jabber.org/protocol/pubsub"}],
[{xmlelement, "create", [{"node", "Test"}], []},
{xmlelement, "configure", [], []}]}]},
ejabberd_router:route(From, jlib:string_to_jid(To), Message).
And in the ejabberd log I see:
=ERROR REPORT==== 2010-05-19 17:01:02 ===
E(<0.312.0>:mod_pubsub:3686) : transaction return internal error: {atomic,
{'EXIT',
{aborted,
{cyclic,
'ejabberd@jabber01',
{pubsub_index,
node},
write,
write,
{tid,
1146520,
<10205.297.0>}}}}}
=ERROR REPORT==== 2010-05-19 17:01:02 ===
E(<0.312.0>:mod_pubsub:3686) : transaction return internal error: {atomic,
{'EXIT',
{aborted,
{cyclic,
'ejabberd@jabber02',
{pubsub_index,
node},
read,
read,
{tid,
1146520,
<10205.297.0>}}}}}
It's suspicious that there are two messages within the same second for
both nodes. Seems like an mnesia deadlock? Is it because I have RAM
and Disc copy set for the pubsub tables on both nodes or something
else entirely? Any help would be greatly appreciated. Thanks.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Fri Sep 07, 2012 6:26 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
at Exeter Hospital," U.S. attorney John P. Kacavas said in in cheap replica *beep* in a press release. "With his arrest, we have eliminated
'serial infector' posed to public and health safety."The controlled substance substance [h3]cheap polo shirts[/h3] substance was Fentanyl, an anesthetic more powerful than morphine. Kwiatkowski
allegedly been stealing the Fentanyl syringes intended for patients, injecting injecting [h4]cheap designer *beep*[/h4] injecting his own arm and then refilling those empty syringes
another liquid like saline, according to the press release.Since Kwiatkowski Kwiatkowski [h4]cheap authentic jordans[/h4] Kwiatkowski tested positive for Hepatitis C in June 2010, he
it on to the hospital patients, according to the affidavit.Exeter affidavit.Exeter buy real jordans affidavit.Exeter Hospital employees discovered the outbreak in May 2012, prompting
investigation that spanned several local, state and federal government agencies, agencies, knockoff designer *beep* agencies, including the FBI, according to court documents obtained by |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|