[ejabberd] pubsub_item.DAT getting big

Stephan Maihöfer sma at turtle-entertainment.de
Thu Oct 2 16:41:43 MSD 2008


hi,
 
that is exactly what i am getting:
 
[{pubsub_node,{"pubsub.example.com",
               ["www.esl.eu","de","cs","gather","3509130"]},
              {"pubsub.example.com",["www.esl.eu","de","cs","gather"]},
              "flat",
              [{"user","example.com",[]}],
              [{presence_based_delivery,true},
               {send_last_published_item,never},
               {max_payload_size,60000},
               {publish_model,publishers},
               {roster_groups_allowed,[]},
               {access_model,open},
               {subscribe,true},
               {max_items,2},
               {title,["/www.esl.eu/de/cs/gather/3509130 title"]},
               {persist_items,false},
               {notify_retract,false},
               {notify_delete,false},
               {notify_config,false},
               {deliver_notifications,true},
               {deliver_payloads,true},
               {node_type,collection}]}]

still, i currently have 7 items on that node.
 
greetings,
stephan

 

________________________________

	Von: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] Im Auftrag von Eric Cestari
	Gesendet: Donnerstag, 2. Oktober 2008 14:35
	An: ejabberd at jabber.ru
	Betreff: Re: [ejabberd] pubsub_item.DAT getting big
	
	



			Also make sure that the max_items value stored in the 
			

			pubsub_nodes mnesia table are also set to the value you want 
			

			and not set to unlimited.
			


		how can i check that?
		
		

	ejabberdctl debug

	and mnesia:dirty_read({pubsub_node, {"pubsub.example.com", ["www.esl.eu","de","cs","gather","3509130" <http://www.esl.eu/de/cs/gather/3509130> ]}}).

	The output should be something like that :
	[{pubsub_node,{"pubsub.example.com",["www.esl.eu","de","cs","gather","3509130" <http://www.esl.eu/de/cs/gather/3509130> ]},
	              {"pubsub.example.com",[]},
	              "default",
	              [{[],"pubsub.example.com",[]}],
	              [{node_type,default},
	               {deliver_payloads,true},
	               {notify_config,false},
	               {notify_delete,false},
	               {notify_retract,true},
	               {persist_items,true},
	               {max_items,10},
	               {subscribe,true},
	               {access_model,open},
	               {roster_groups_allowed,[]},
	               {publish_model,publishers},
	               {max_payload_size,60000},
	               {send_last_published_item,on_sub_and_presence},
	               {deliver_notifications,true},
	               {presence_based_delivery,false}]}]

	Cheers,
	Eric
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20081002/e8b31a46/attachment-0001.htm>


More information about the ejabberd mailing list