hello, did you try to stress your database by huge query independantly of kannel ? did you try to use the fake SMSC in kannel tools, to stress your kannel architecture to see what is the maximum rate ?
it could help find the bug. -----Message d'origine----- De : users [mailto:users-boun...@kannel.org] De la part de Jose N Figueroa Envoyé : mardi 25 mai 2021 22:53 À : users@kannel.org Objet : Slow sms outbox to smsc smpp Hello everybody, I'm using kannel latest revision "Kannel bearerbox version svn-r5307M" with the following scenario: Smsbox -> Bearerbox -> SMPP SMSC· I'm using redis as store, but for some strange reason I'm only getting out about 5 sms/s and even I have 2 or 3 binds (load balancing) to the same SMPP SMSC, I tried one smsc and the 3 smsc as load balancing already, same result. This is the config, I'm not sure what I'm doing wrong: # CORE group = core admin-port = 13000 admin-password = bar status-password = foo log-file = /var/log/kannel/kannel.log log-level = 4 access-log = /var/log/kannel/access.log smsbox-port = 13001 store-type = redis #store-location = /var/spool/kannel/store wdp-interface-name = "*" smsbox-max-pending = 500000 admin-allow-ip = "127.0.0.1" #box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" # SMSBOX group = smsbox bearerbox-host = 127.0.0.1 bearerbox-port = 13001 sendsms-port = 13131 sendsms-chars = "0123456789+ " log-file = /var/log/kannel/smsbox.log log-level = 4 access-log = /var/log/kannel/access.log mo-recode = true max-pending-requests = 200000 group = redis-connection id = redis_id host = localhost port = 6379 #password = foo database = 0 max-connections = 40 group = store-db id = redis_id table = store1 ## SMSC ATT group=smsc smsc = smpp smsc-id = ATT-02 allowed-smsc-id = ATT-02 preferred-smsc-id = ATT-02 host = "" port = "" transceiver-mode = 1 smsc-username = "" smsc-password = "" system-type = "VMA" log-file = /var/log/kannel/smsc-ATT-02.log log-level = 4 throughput=50 max-pending-submits=100 alt-charset = ISO-8859-1 wait-ack = 600 # SMSC ATT - 2 group=smsc smsc = smpp smsc-id = ATT-02 allowed-smsc-id = ATT-02 preferred-smsc-id = ATT-02 host = "" port = "" transceiver-mode = 1 smsc-username = "" smsc-password = "" system-type = "VMA" log-file = /var/log/kannel/smsc-ATT-02-2.log log-level = 4 throughput=50 max-pending-submits=100 alt-charset = ISO-8859-1 wait-ack = 600 # SMSC ATT -3 group=smsc smsc = smpp smsc-id = ATT-02 allowed-smsc-id = ATT-02 preferred-smsc-id = ATT-02 host = "" port = "" transceiver-mode = 1 smsc-username = "" smsc-password = "" system-type = "VMA" log-file = /var/log/kannel/smsc-ATT-02-3.log log-level = 4 throughput=50 max-pending-submits=100 alt-charset = ISO-8859-1 wait-ack = 600 # SENDSMS-USER group = sendsms-user default-smsc = mayor username = playsms password = foobar max-messages = 500000 concatenation = true # SMS SERVICE group = sms-service keyword = default omit-empty = true get-url = "https://dns-test/sms/inbound?t=%t&q=%q&a=%a&Q=%Q&smsc=%i" catch-all = true $ curl "http://localhost:13000/status?password=foo" Kannel bearerbox version `svn-r5307M'. Build `May 25 2021 17:45:20', compiler `4.8.5 20150623 (Red Hat 4.8.5-36)'. System Linux, release 3.10.0-957.21.3.el7.x86_64, version #1 SMP Tue Jun 18 16:35:19 UTC 2019, machine x86_64. Hostname sms.test.net, IP 192.168.1.124. Libxml version 2.9.1. Using OpenSSL 1.0.2s 28 May 2019. Using hiredis API 0.12.1 Using native malloc. Status: running, uptime 0d 0h 52m 12s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 25418 (0 queued), store size 186 SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (4.47,3.65,8.11) msg/sec DLR: received 38524, sent 0 DLR: inbound (4.47,3.91,12.30) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: 12387 queued, using internal storage Box connections: smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 52m 5s) SMSC connections: ATT-02[ATT-02] SMPP:****:*******:VMA (online 3132s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 55 (0.12,0.04,0.02), sent: sms 55 (0.12,0.04,0.02) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs) ATT-02[ATT-02] SMPP:****:*******:VMA (online 3132s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 6 (0.04,0.01,0.00), sent: sms 6 (0.04,0.01,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs) ATT-02[ATT-02] SMPP:*******:*******:VMA (online 3132s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 5 (0.02,0.00,0.00), sent: sms 5 (0.02,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs) Thanks in advance! -- Jose Figueroa