So I tried my same test but sending over http with sendsms and was able
to push over 200mgs/sec to kannel and 100 msg/sec downstream to my test
SMPP server.
So the problem is somewhere in opensmppbox.
Any ideas on how to fix this?
I saw one similar post to the mailing list
http://www.kannel.org/pipermail/users/2012-July/018185.html but no solution.
Thanks for you help,
Mike
On 4/8/15 10:54 AM, Michael Epstein wrote:
Hi Alvaro,
Thanks for the response had not tried setting max-pending-requests before.
I tried max-pending-requests = 2048 still getting exactly 1 msg/sec.
we already had max-pending-submits = 500
new config below.
Thanks,
Mike
## SMSBOX config
group = smsbox
smsbox-id = smsbox1
bearerbox-host = 127.0.0.1
sendsms-port = 13131
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/smsbox-access.log"
log-level = 0
max-pending-requests = 2048
On 4/8/15 10:41 AM, Alvaro Cornejo wrote:
Hi
Check max pending submit and max pending requests parameter. It
holds Tx queue for replies from smsc until confirmations are below it.
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde
cualquier celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias
via SMS y GPRS online
Visitenos en www.perusms.com <http://www.perusms.com>
On Wed, Apr 8, 2015 at 12:30 PM, Michael Epstein
<mepst...@callfire.com <mailto:mepst...@callfire.com>> wrote:
Hi Again,
Tried moving to bigger better hardware 8 core 30gb machine still
same 1 msg/sec.
Which points to some sort of purposeful limit.
Any ideas?
Thank again,
Mike
On 4/7/15 8:36 PM, Michael Epstein wrote:
Hi All,
I have an SMPP server setup and am using Kannel as a proxy
with opensmpp box from app.
When I connect directly to the SMPP server the throughput is
over 10x higher than going through Kannel.
When going through Kannel I always get exactly 1 msg/sec.
I have been tweaking and testing kannel configs with no luck.
any help would be greatly appreciated.
Thanks,
Mike
kannel.conf:
# Default kannel configuration file
## CORE config
group = core
admin-port = 13000
admin-password = XXXXXXX
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/bearerbox-access.log"
store-type = spool
store-location = "/var/spool/kannel/message-storage"
dlr-storage = mysql
## MySQL config
#### connection
group = mysql-connection
id = mydlr
host = localhost
username = YYYYYY
password = XXXXXXX
database = kannel
max-connections = 1
#### table field mappings
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
#### FAKE
group = smsc
smsc = smpp
smsc-id = FAKE
allowed-smsc-id = FAKE
host = 146.148.57.201
port = 4401
transceiver-mode = 1
system-type = SMPP
smsc-username = XXXXX
smsc-password = YYYYYY
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 1
address-range = ""
max-pending-submits = 500
wait-ack = 10
log-level = 0
log-file = "/var/log/kannel/smsc-FAKE.log"
## SMSBOX config
group = smsbox
smsbox-id = smsbox1
bearerbox-host = 127.0.0.1
sendsms-port = 13131
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/smsbox-access.log"
log-level = 0
## SENDSMS-USER config
group = sendsms-user
username = sender
password = YYYYYYYY
opensmpp.conf:
# OpenSmppBox config
## include the core kannel config
## OpenSmppBox needs dlr configs
include = "/etc/kannel/kannel.conf"
## OPENSMSBOX config
group = opensmppbox
opensmppbox-id = FAKE
log-level = 0
log-file = /var/log/kannel/opensmppbox-FAKE.log
our-system-id = FAKE
use-systemid-as-smsboxid = true
route-to-smsc = FAKE
smpp-logins = "/var/lib/kannel/smpplogins.txt"
opensmppbox-port=4400