Hello All,

Any thoughts on this issue?

I thought there was some issue at the service that processes the dlr (the 
dlr-url request handler). But that was also not the case. I increased the 
number of threads on this handler and it is able to process at the speeds with 
which the sms box is calling the urls. There is no lag here.

I believe both bearer box and sms box are multi threaded. Is my understanding 
correct? Is there any way to increase the number of threads here to ensure more 
input is processed?

I have observed one more thing. Kannel throughput is configured as 800 and the 
rate at which I request sms box to send sms is 400/sec based on Vangelis’ input 
that the throughput drops to half if dlr reports are used. But the actual 
throughput I saw which the smsbox was taking in was 200 initially which 
gradually went down to about 30 and still dipping.

I am not able to figure out where the issue could be.

Here is my kannel configuration.

group = core
admin-port = 6000
smsbox-port = 6001
admin-password = ******
store-type = file
log-level = 0
dlr-storage = internal

group = smsc
smsc-id=SMPPSim
smsc = smpp
host = ********
port = 5019
smsc-username = ****
smsc-password = ****
system-type = ""
address-range =
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
transceiver-mode = 1
throughput = 800

group = smsbox
smsbox-id = send_smsbox
bearerbox-host = ********
sendsms-port = 6013
global-sender = 6013
log-level = 0

group = smsbox-route
smsbox-id = dlr_smsbox

group = sendsms-user
username = ****
password = ****
default-smsc = SMPPSim
max-messages = 3
concatenation = true

I had configured the “smsbox-route” option here but I noticed no difference in 
its use here so I’m hoping there is no issue because of that.

Appreciate your support.

Thanks & Regards,
Nanda
From: Nanda Kumar P
Sent: 24 April 2016 17:39
To: 'Jeff Thorn'
Cc: users@kannel.org; Vangelis Typaldos
Subject: RE: Kannel TPS reduces gradually if DLR is used

Hello Jeff,

I’m not storing the dlrs in a db.

Regards,
Nanda

From: Jeff Thorn [mailto:j...@thorntechnologies.com]
Sent: 24 April 2016 17:18
To: Nanda Kumar P
Cc: users@kannel.org<mailto:users@kannel.org>; Vangelis Typaldos
Subject: RE: Kannel TPS reduces gradually if DLR is used


Are you storing dlrs in a database? Without the proper indexes it performance 
will definitely degrade as it takes longer and longer to look up the dlr. 
Kannel doesn't optimize the dlr database. You need to do that.
On Apr 24, 2016 5:55 AM, "Nanda Kumar P" 
<nanda.ku...@pelatro.com<mailto:nanda.ku...@pelatro.com>> wrote:
Thanks for the quick response Vangelis.

For point #1, All my texts are under less the 50 ASCII characters each. So I 
expect one DLR for one outgoing SMS.

Is there anything that I’m missing?

Please do let me know if there is any other information required. I’ll be happy 
to share.

Thanks & Regards,
Nanda

From: Vangelis Typaldos [mailto:vty...@outlook.com<mailto:vty...@outlook.com>]
Sent: 24 April 2016 15:19
To: Nanda Kumar P; users@kannel.org<mailto:users@kannel.org>
Subject: RE: Kannel TPS reduces gradually if DLR is used


For point 1: It sounds like you get DLR for multipart sms. Note that for 
multipart messages you receive DLR for each part.

For point 2: You are absolutely correct. Ignore my statement. My bad.

BR

From: Nanda Kumar P<mailto:nanda.ku...@pelatro.com>
Sent: Sunday, April 24, 2016 10:34 AM
To: Vangelis Typaldos<mailto:vty...@outlook.com>; 
users@kannel.org<mailto:users@kannel.org>
Subject: RE: Kannel TPS reduces gradually if DLR is used


Thank you Vangelis.



Few follow up questions though:

1.       While I understand the point about the throughput dropping to half, I 
fail to understand how it went as low as 25 per second.

2.       What is the significance of changing the dlr-mask from 3 to 7 or 15? 
Would it not lower the speeds further as it has to deal with calling the 
dlr-url for two other flags aside from delivered and undelivered?



Thanks & Regards,

Nanda



From: Vangelis Typaldos [mailto:vty...@outlook.com]
Sent: 24 April 2016 12:56
To: Nanda Kumar P; users@kannel.org<mailto:users@kannel.org>
Subject: RE: Kannel TPS reduces gradually if DLR is used



The throughput assigned by your operator/smsc includes DLR activity.

So the actual bind throughput would drop to the half you if you request DLR for 
any MT. I would suggest to raise dlr-mask from 3 to 7 or 15.



Kind Regards,

Vangelis



From: Nanda Kumar P<mailto:nanda.ku...@pelatro.com>
Sent: Sunday, April 24, 2016 8:08 AM
To: users@kannel.org<mailto:users@kannel.org>
Subject: Kannel TPS reduces gradually if DLR is used



Hi,



I’m using kannel to send SMS to SMSC and in the send-sms url, I’m also using 
the dlr-mask as 3 (Delivered and undelivered) and providing a dlr-url callback 
for the same.

I have set the throughput as 300/sec.



If I do not use the delivery report, the TPS is consistent and close to 
300/sec. However, if I do use delivery report with the above said parameters, 
the TPS starts from 300 but gradually reduces to less than 25 per second. It 
would be great if someone can tell me what the reason for this could be.



Thanks & Regards,

Nanda


Reply via email to