[ejabberd] pubsub_item.DAT getting big

Eric Cestari eric at ohmforce.com
Thu Oct 2 16:03:48 MSD 2008

Le 2 oct. 08 à 13:37, Stephan Maihöfer a écrit :
> looks like it does, or not? how is 0 interpreted in erlang is it
> false?
In erlang false is false and 0 is 0, and are not equivalent.

Eshell V5.6.4  (abort with ^G)
1> false == 0.
2> 0==0.
3> false==false.

The removing of items is only done when a new item has been published.

publish_item calls remove_extra_items which actually deletes the items.
Changing the setting without publishing a new item on the node does  

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  

If you checked all of these, that's weird. I couldn't reproduce your  
problem either.

You have a custom node ?
Maybe you could send the code over, or at least the relevant bits  
(publish_item and remove_extra_items)


More information about the ejabberd mailing list