i understand the idea,
but in reality, all modern smsc will keep the MO traffic in the queue till your 
esme bind again ...
so its safe to add new smsc and restart the bearerbox ...
and i dont think you add new smsc very often :)



Elton Hoxha wrote:
I use multiple instances because when I add other connections I dont want to affect the actual ones. So I dont need to stop and start all the connections, but just one bearerbox instance that holds some specific connections.



On Fri, Apr 17, 2009 at 3:12 PM, seikath <seik...@gmail.com <mailto:seik...@gmail.com>> wrote:

    Hi,
    whats the use of four instances ?
    use one bearerbox to handle all the smsc connections ..


    Elton Hoxha wrote:

        Hi,

        Actually I use 4 bearerbox instances separating my connections.
        I never had this type of error even using this configuration below.

        group = core
        admin-port = 13000
        smsbox-port = 13010
        sendsms-port = 13015

        group = core
        admin-port = 13000
        smsbox-port = 13020
        sendsms-port = 13016

        group = core
        admin-port = 13000
        smsbox-port = 13030
        sendsms-port = 13017

        group = core
        admin-port = 13000
        smsbox-port = 13040
        sendsms-port = 13018

        By the way, is logical the above?

        Elton


        On Fri, Apr 17, 2009 at 2:38 PM, Milan P. Stanic
        <m...@arvanta.net <mailto:m...@arvanta.net>
        <mailto:m...@arvanta.net <mailto:m...@arvanta.net>>> wrote:

           On Fri, 2009-04-17 at 14:32, Elton Hoxha wrote:
            > I was running kannel for 2 weeks with no problems. Today I
        had to
           change the
            > conf file adding one other SMPP connection. After I
        started bearerbox
            > binding all the clients, I started the smsbox but I
        noticed the
           failure
            > hours later
            >
            > 2009-04-17 08:23:46 [27278] [0] INFO: Added logfile
            > `/tmp/internal_kannel.log' with level `0'.
            > 2009-04-17 08:23:46 [27278] [0] INFO: Started access logfile
            > `/tmp/internal_access.log'.
            > 2009-04-17 08:23:46 [27278] [0] INFO: HTTP: Opening server at
           port 13000.
            > 2009-04-17 08:23:46 [27278] [0] ERROR: bind failed
            > 2009-04-17 08:23:46 [27278] [0] ERROR: System error 98:
        Address
           already in use
^^^^^^^^^^^^^^^^^^^^^^

           Something already is bounded to port 13000. Probably you have
        bearerbox
           running and you trying to start another one (or more) instance.

            > 2009-04-17 08:23:46 [27278] [0] DEBUG: Started thread 1
            > (gw/bb_http.c:httpadmin_run)
            > 2009-04-17 08:23:46 [27278] [0] DEBUG: starting smsbox
        connection
           module
            > 2009-04-17 08:23:46 [27278] [0] INFO: BOXC:
        'smsbox-max-pending'
           not set,
            > using default (100).
            > 2009-04-17 08:23:46 [27278] [0] DEBUG: Started thread 2
            > (gw/bb_boxc.c:sms_to_smsboxes)
            > 2009-04-17 08:23:46 [27278] [0] DEBUG: Started thread 3
            > (gw/bb_boxc.c:smsboxc_run)
            >
            > Which can be this address already in use? After starting
           bearerbox it was
            > normal.

           --
           Kind regards,  Milan





Reply via email to