Hi John,

Kannel’s documentation is probably the best material you can find for this.

TPS could be affected due to a number of reasons.


1.       Your client that is contacting the sms box has to send the messages 
fast enough.

2.       The throughput of your fake smsc. Is it able to handle the messages 
sent in that speed?

3.       Are you getting any error in your bearer box logs? Usually, when the 
smsc is not able to handle the sms at the same rate as kannel sending them, 
there should be an error thrown to indicate that the smsc queue limit is 
exceeded.

4.       You have configured the throughput in your kannel smsc as 50. In your 
kannel logs, do you see the throughput reaching 50 out of 50?

5.       Your sms box configuration is not shown here?. Are you expecting 
delivery receipts as well?

Regards,
Nanda

From: users [mailto:users-boun...@kannel.org] On Behalf Of John Clark Naldoza
Sent: 03 May 2016 08:53
To: users@kannel.org
Subject: Can't get my kannel setup to send out more than 10 messages/s.

Hi,


I'm trying to setup kannel on a server and it appears as though when we try to 
test sending messages through our instance, we can only get it to 10 tps to the 
fake smsc's we have setup.

kannel 1.4.4
   bearerbox
   smsbox
   opensmpp
   sqlbox

we are using

sqlbox.conf

id = sqlbox-db
smsbox-id = sqlbox
global-sender = ""
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13014
smsbox-port-ssl = false
sql-log-table = xxxxxx
sql-insert-table = yyyyyyyy
log-file = "sqlbox.log"
log-level = 1
limit-per-cycle = 10

group = mysql-connection
id = sqlbox-db
host = localhost
port = 3306
username = xxxx
password = xxxxxx
database = xxxxx
max-connections = 20

kannel.conf

group=core
admin-port = 13000
smsbox-port = 13001
admin-password = xxxx
status-password = yyyy
log-file = "kannel.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "access.log"
store-type = spool
store-location = /spool/kannel
log-level = 3
sms-resend-retry = 1


group = smsc
smsc = fake
smsc-id = smpp_fake_local
system-type = fakedev
port = 10001
throughput = 50
log-file="fakesmsc.log"
log-level=0


And we ran fakesmsc with

 ./fakesmsc -i 0.001 -r 10001

I have gone through the 
http://www.kannel.org/download/1.4.4/userguide-1.4.4/userguide.html but I can't 
seem to find anything that would get me past 10 tps :(

I would appreciate any help, even rtfm, as long as I'm provided a link to the 
manual I should be reading =)


Best regards,


John Clark



Reply via email to