You're using nginx or apache as a backend server for dlr.php script?

Try tuning it.


2014-02-19 17:01 GMT+04:00 <olad...@gmail.com>:

> Update: I increased # of connections to 4 and it appears bearerbox is load
> balancing across the 4 ok, per status page below. But the SMSbox queue has
> grown again and persists. Please what can I look for in SMSbox.log to get
> indication of what is causing the queue?
>
> Thanks
>
>
> Box connections:
>     smsbox:(none), IP 127.0.0.1 (91927 queued), (on-line 0d 10h 51m 12s)
>
>
>   *smsc2*[mt1]    SMPP:x:M:'VMA' (online 11506s, rcvd: sms 56
> (0.00,0.00,0.00) / dlr 9526 (0.23,0.23,0.24), sent: sms 2460
> (0.04,0.05,0.06) / dlr 0 (0.00,0.00,0.00), failed 5263, queued 76 msgs)
>     *smsc2*[mt2]    SMPP:x:M:'VMA' (online 11507s, rcvd: sms 78
> (0.00,0.00,0.00) / dlr 7467 (0.15,0.17,0.19), sent: sms 1853
> (0.04,0.03,0.05) / dlr 0 (0.00,0.00,0.00), failed 3832, queued 76 msgs)
>     *smsc2*[mt3]    SMPP:x:M:'VMA' (online 11507s, rcvd: sms 62
> (0.00,0.00,0.00) / dlr 6658 (0.12,0.17,0.17), sent: sms 1573
> (0.03,0.03,0.04) / dlr 0 (0.00,0.00,0.00), failed 3280, queued 76 msgs)
>     *smsc2*[mt4]    SMPP:x:M:'VMA' (online 11506s, rcvd: sms 64
> (0.00,0.00,0.00) / dlr 6441 (0.12,0.12,0.16), sent: sms 1569
> (0.03,0.02,0.04) / dlr 0 (0.00,0.00,0.00), failed 3065, queued 76 msgs)
>
>
> On Tue, Feb 18, 2014 at 3:15 PM, <olad...@gmail.com> wrote:
>
>> I just confirmed operator allows 65 total. I will set each connection to
>> 32.
>>
>> Is it worth it to also have multiple SMSboxes instead of 1. Is their any
>> performance improvement to be gained doing that?
>>
>>
>> On Tue, Feb 18, 2014 at 1:57 PM, Alvaro Cornejo <cornejo.alv...@gmail.com
>> > wrote:
>>
>>> Hi
>>>
>>> - as per the load balancing, is correct; bearerbox will balance
>>> between mo1 & mo2
>>> - as per the throughput, it will depend on what your carrier will
>>> allow you. If it is 65 per connection or total.
>>> - also add a different log files for each smsc so you can debug them
>>> separately.
>>> - you can also use ...&smsc=mo1&... or =mo2 in order to send sms
>>> through one specific link.
>>>
>>> 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
>>>
>>>
>>> On Tue, Feb 18, 2014 at 1:40 PM,  <olad...@gmail.com> wrote:
>>> > I asked operator and it appears they allow more than 1 connection.
>>> >
>>> > So below is what I came up with:  I want to send messages via
>>>  &smsc=msmc-mo
>>> > and have bearerbox  load balance between the connections. Does the
>>> config
>>> > look right? Also I assume the throughput number now needs to be divided
>>> > across the connections. Correct?
>>> >
>>> >
>>> > group = smsc
>>> > smsc = smpp
>>> > smsc-id = smsc-mo
>>> > allowed-smsc-id = smsc-mo; mo1
>>> > smsc-admin-id = mo1
>>> > throughput = 65
>>> > max-pending-submits = 60
>>> > wait-ack = 600
>>> >
>>> > group = smsc
>>> > smsc = smpp
>>> > smsc-id = smsc-mo
>>> > allowed-smsc-id = smsc-mo; mo2
>>> > smsc-admin-id = mo2
>>> > throughput = 65
>>> > max-pending-submits = 60
>>> > wait-ack = 600
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Tue, Feb 18, 2014 at 12:10 PM, Alvaro Cornejo <
>>> cornejo.alv...@gmail.com>
>>> > wrote:
>>> >>
>>> >> Just add another group with the same info. Use a different admin-name
>>> >> to differentiate them.
>>> >>
>>> >> Note however that not all operators allows more than one connection
>>> >> with the same credentials.
>>> >>
>>> >> 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
>>> >>
>>> >>
>>> >> On Tue, Feb 18, 2014 at 11:56 AM,  <olad...@gmail.com> wrote:
>>> >> > No throttling in the logs - set to debug mode already.
>>> >> >
>>> >> > How can I add more connections with same SMPP account?
>>> >> >
>>> >> >
>>> >> > On Tue, Feb 18, 2014 at 11:40 AM, spameden <spame...@gmail.com>
>>> wrote:
>>> >> >>
>>> >> >> check your operator log, it might be throttling problem, try
>>> playing
>>> >> >> with
>>> >> >> throughput and max-pending-submits parameters and adding more SMPP
>>> >> >> connections.
>>> >> >>
>>> >> >>
>>> >> >> 2014-02-18 20:09 GMT+04:00 <olad...@gmail.com>:
>>> >> >>
>>> >> >>> Following up: any insights on this is appreciated.
>>> >> >>>
>>> >> >>> Thanks.
>>> >> >>>
>>> >> >>>
>>> >> >>> On Mon, Feb 17, 2014 at 10:09 AM, <olad...@gmail.com> wrote:
>>> >> >>>>
>>> >> >>>> Hello folks,
>>> >> >>>>
>>> >> >>>> I have the following setup using kannel 1.5.0
>>> >> >>>>
>>> >> >>>> services <------>  1 smsbox <---> bearerbox <----> 2 smsc
>>> connections
>>> >> >>>> (mo and mt)
>>> >> >>>>
>>> >> >>>> I believe I have set throughput, max-pending submits
>>> appropriately on
>>> >> >>>> the two smscs given the provider allocated 60TPS for each
>>> account.
>>> >> >>>>
>>> >> >>>> throughput = 40
>>> >> >>>>
>>> >> >>>> max-pending-submits = 40
>>> >> >>>>
>>> >> >>>> wait-ack = 600
>>> >> >>>>
>>> >> >>>> The issue is that I am getting a large queue on SMSbox (see
>>> below)
>>> >> >>>> which
>>> >> >>>> is delaying receipt of incoming MO messages significantly. Would
>>> >> >>>> appreciate
>>> >> >>>> any insights on what is causing this and how  to fix.
>>> >> >>>>
>>> >> >>>> Thanks
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> SMS: received 1998 (0 queued), sent 169897 (984 queued), store
>>> size
>>> >> >>>> -1
>>> >> >>>> SMS: inbound (0.06,0.06,0.04) msg/sec, outbound (6.10,5.43,3.44)
>>> >> >>>> msg/sec
>>> >> >>>>
>>> >> >>>> DLR: received 745437, sent 0
>>> >> >>>> DLR: inbound (12.87,12.80,15.09) msg/sec, outbound
>>> (0.00,0.00,0.00)
>>> >> >>>> msg/sec
>>> >> >>>> DLR: 16772 queued, using mysql storage
>>> >> >>>>
>>> >> >>>> Box connections:
>>> >> >>>>     smsbox:(none), IP 127.0.0.1 (34660 queued), (on-line 0d 13h
>>> 43m
>>> >> >>>> 8s)
>>> >> >>>>
>>> >> >>>> SMSC connections:
>>> >> >>>>     smsc-mo[smsc-mo]    SMPP:x.y.z:'VMA' (online 21718s, rcvd:
>>> sms
>>> >> >>>> 1654
>>> >> >>>> (0.04,0.06,0.03) / dlr 40643 (1.25,1.37,0.82), sent: sms 160152
>>> >> >>>> (5.88,5.12,3.24) / dlr 0 (0.00,0.00,0.00), failed 14617, queued 0
>>> >> >>>> msgs)
>>> >> >>>>     smsc2[smsc2]    SMPP:x.y.z:'VMA' (online 21718s, rcvd: sms
>>> 344
>>> >> >>>> (0.02,0.01,0.01) / dlr 35740 (0.72,0.88,0.72), sent: sms 9745
>>> >> >>>> (0.23,0.28,0.20) / dlr 0 (0.00,0.00,0.00), failed 17031, queued
>>> 12092
>>> >> >>>> msgs)
>>> >> >>>
>>> >> >>>
>>> >> >>
>>> >> >
>>> >
>>> >
>>>
>>
>>
>

Reply via email to