Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

Why Queued Messages are not processed ?
sp_NewPost Add Reply sp_NewTopic Add Topic
February 4, 2015
3:24 pm
Henk Helmantel
Forum Posts: 523
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The first thing you can check is if there are any errors in the event log of Diafaan SMS Server that indicate that there is a problem in the processing of messages.

The message queue can be a bottleneck in Diafaan SMS Server. If you are sending 20 messages per second with 200,000 messages in the queue, the database that stores the queue has to do a lot of work, specially if you use non-default routing options. If the queue database is located on a fast SSD disk, a queue of 200,000 messages should not be a problem but if the disk is a slower conventional hard drive, it might slow message processing down to a crawl.

You can try to set the 'MaximumBatchSize' property in the advanced settings of your SMPP Gateway to a higher value. When the 'MaximumBatchSize' is larger, it reduced the number of database look-ups an thus the strain on the database. As a rule, the 'MaximumBatchSize' property should be set to five times the maximum send speed per second.

Another point is that you should keep your message routing as simple as possible, all message routing options makes the handling of the message queue more complicated and slows down the speed of the queue database.

Regards, Henk

February 4, 2015
1:53 pm

I am planning to buy a basic lisence and i am testing diafaan sms server with an smpp connection of my sms provider.

When i add up to 2000 messages to the message queue, all messages are processed and sent successfully, but in production, i'll be adding about 200 0000 messages to be processed at one time,

but the problem is that when i add about 200 000 messages at on time to the send queue, diafaan begin processing the queue until a certain time and then nothing, it'll will no more process the queue and the messages get suck in the queue without being sent, i have to pause the server and resume it before diafaan continue to process the queue again, after a while, diafaan stops processing the queue again, i go again with pausing and resuming the server again to get diafaan to continue processing the queue, after a while, it stops again and again and again.....

Diafaan is normally supposed to keep processing the queue until it is empty and never stop when there is messages in the queue or am i wrong ?

Why diafaan is acting like that, what is the reason or is there a limit in the number of messages i can add to the queue at the same time.

My provider offer me a TPS of 20 and diafaan is configured to send 20 message per second, so this is not caused because i exceed the maximum number of sms i am allowed to.

I have to get a solution to this before deciding to buy a full license or not.

please quick help so i can send a quotation and buy the license.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 356

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 514

Posts: 1781

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 523