I use 6 load-balanced connections, all are bind_receiver with the same SMSC ID (XXX) 3 of them accept-smsc=XXX and the rest accept-smsc=XXX1 (I added XXX1 as a dummy smsc to prevent sending from this smsc connection)
at a certain moment sending over these connections stopped and my MTs get stuck in my DB, when I checked I saw the following infinite loop in kannel log file: 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x2aaaac3d96b0 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x2aaaacd71250 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x2aaaacb1e890 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x2aaaacb20b40 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x2aaaac3c1e50 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x152caf70 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. 2011-01-26 15:20:48 [15072] [27] DEBUG: sms_router: handling message (0x2aaaacb560c0 vs 0x2aaaacc13920) 2011-01-26 15:20:48 [15072] [27] DEBUG: bad_found queue full 2011-01-26 15:20:48 [15072] [27] DEBUG: Routing failed, re-queuing. note that at that moment my client was stopped and no http requests were sent to smsbox, I found that the queue is full of the smsc connections and the store directories contain (100) messages! (1) Why these messages get re-queued infinitely? Whats wrong? (2) When I checked the SMPP connection log, the connection was idle and only enquire_link and enquire_link_resp appear in the log (3) since there are 3 connection that accepts XXX, why there are only 100 messages in the queue? there should be 300, right? Note: I have compared the contents of these messages in the queue to valid messages (sent successfully) and didn't notice any structure differences! However, when I restart the SMSC connections, everything go fine since these messages get discarded Does anybody has this case? thanks Best Regards, Mohammed M I Sleem http://www.abusleem.net - Personal blog http://www.freakle.com - The Search Freak <http://www.colorle.com>
