Hello all,

We're facing following issue. I noticed that there is some kind of bug with
Kannel. We have high throughput with SMSC and that happens with all SMSCs
and ESME connections.

The TPS is extremely low, around 2 TPS while for example we have 100 sms/s,
or no limits if that comes to internal ESMEs.

Below are our Kannel configs for internal ESME where this issue is urgent
to be fixed (sensitive data was removed or replaced) - we do use commercial
version of SMPPbox and bearerbox 1.5:

1) bearerbox.conf:

group = core
admin-port = 13000
admin-password = ""
status-password = ""
admin-allow-ip = "*.*.*.*"
log-file = "/opt/kannel/var/log/bearerbox.log"
log-level = 1
access-log = "/opt/kannel/var/log/access_bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
smsbox-port = 13001
dlr-storage = mysql
store-type = spool
store-location = "/opt/kannel/var/spool/bearerbox"

# define mysql receipt storage
## here are db configs ##
.......

group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13013
log-file = "/opt/kannel/var/log/smsbox.log"
log-level = 0
access-log = "/opt/kannel/var/log/smsbox_access.log"
http-request-retry = 3
http-queue-delay = 15
max-pending-requests = 2048
smsbox-id = smsbox1

2) smsc conf:

group = smsc
smsc = smpp
smsc-id = smsc1
allowed-smsc-id = "smsc1;"
host = <smppbox_host_ip>
port = <smppbox_port>
transceiver-mode = true
smsc-username = smsc1
smsc-password =
interface-version = 34
system-type = "VMA"
log-level = 0
log-file = "/opt/kannel/var/log/smsc1.log"
max-pending-submits = 348
# do not retry unacknowledged messages
wait-ack-expire = 0x02

3) second server - smppbox.conf:

group = smppbox
admin-port = 14000
admin-password =
status-password =
coredump-location = "/opt/kannel/var/core"

# SET YOUR OWN BEARERBOX HOST and DEFAULT SMSC-ID HERE!
#
bearerbox-host = "localhost"
#
# the following is to define inter-box charset encoding
# bearerbox-dcs = latin1    for bearerbox < 1.4.3
# bearerbox-dcs = utf-8     for bearerbox => 1.4.3
#
bearerbox-dcs = utf-8
smppbox-port = <smppbox_port>
system-id = "<system-ID>"
log-file = "/opt/kannel/var/log/smppbox.log"
log-level = 0
access-log = "/opt/kannel/var/log/smpp_access.log"
store-type = spool
store-location = "/opt/kannel/var/spool/smppbox"
# dlr storage, seperated from message spool
dlr-store-type = spool
dlr-store-location = "/opt/kannel/var/spool/dlr"
# enable transparent MO routing
#
transparent-mo-routing = yes
max-login-attempts = 100
response-mode = immediate

4) esme conf (that we use as smsc on another server):

group = esme-user
username = smsc1
password =
default-smsc = "<smsc name>"
max-instances = 15
# activate filtering if any plugin should apply for this user
#
filtering = yes
# activate MO routing
routing = yes
# logging
log-file = "/opt/kannel/var/log/esme_smsc1.log"
log-level = 0
# receipting
strict-dlr-routing = yes
response-mode = immediate

We were using 'SMPPBOX_THROUGHPUT' but it has been commented out.

And this is how TPs looks like:

smsc1[smsc1]    SMPP:<host>:<port>/<port>:<smsc1>:VMA (online 58995s, rcvd:
sms 0 (0.00,0.00,0.00) / dlr 17722 *(0.91,0.99,0.29*), sent: sms 48893 (
*1.56,1.14,0.81*) / dlr 0 (0.00,0.00,0.00), failed 1, queued 0 msgs)

Now there is no queue but when it's there the TPS isn't growing more than 2
TPS.

Our issue is same as posted there an year ago but nobody responded to it -
http://kannel.6189.n7.nabble.com/EXtremely-Low-TPS-and-high-SMSC-queue-td32281.html


Do you have any idea how to overcome that?

Thank you in advance.
----
Best Regards,

Reply via email to