Hi,
I have a ejabberd 1.0 running on a ubuntu dapper box.
On this server runs a script that periodically sends all users a message.
If I sent 1 or 2 messages it works, but if have say 500 messages nothing happens: no messages are sent - it all 'fails' silently.
Is this an anti-spam server setting? Or something alike, and can I fix it by setting some switch?
Or should I update to 1.1.2?
Please let me know what I could do.
Thanks in advance,
D
Re: sending a large amount of messages via ejabberd fails (silen
It depends on what your script does. Can you show the script, so I can test it?
script
Well, the script loads datafrom a database and then sends all know users an update.
It's basically a for loop thet dumps all data in 1 go to ejabberd.
If I use a 'sleep' then the script would take a bit too long ...
Anyway, what surprises me is that messages are just lost ...
I could understand if the shaper setting of a 1000b/s makes sending all very slow, but loosing message?
D
The default shaper setting
The default shaper setting should allow sending 1000 bytes per second, which would probably slow down your script, but should not cause any messages to be lost. Is there any message in the ejabberd log?
nothing in log
I cannot find anything in the log, but maybe I need to set some loglevel?
The normal ejabberd output does not say anything about lost messages.
D