On Fri, 2002-05-03 at 19:41, Bruno David Simões Rodrigues wrote: > After sending 200k messages, kannel just sent 150k and > lost 50k somewhere. > > I'm gonna check the code, but this looks like some bug in sms list, > probably in bearerbox when smsbox sends it a new message and > bearerbox is fetching from the same list at the same time. > > I'll check if there is or there should be any mutex-lock > > I don't think it's related to post-xml, there's nothing in it that > could cause this, besides injecting messages in bearerbox faster > than a normal smsbox get. (because I'm injecting 10k messages > at the same time, instead of 10k get's on smsbox). > > Do anyone have any clue for what happened ?
Checking the logs, smsbox_access.log contains the 200k messages: 2002-05-03 15:12:37 send-SMS request added - sender:admin:xxx xxxx target:xxxxx request: 'xxxxtextxxxx' smsbox_error.log have 2002-05-03 15:17:10 [3] INFO: sendsms sender:<admin:xxx> (xxx) to:<xxx .... 10k numbers > msg:<text> But counting 2002-05-03 15:17:10 [3] DEBUG: message length 90, sending 1 messages there are the 200k messages too. So far so good, looks like smsbox is ok. in bearerbox_error.log, counting the 2002-05-03 14:15:46 [8] DEBUG: boxc_receiver: sms received I only have 148k, which is the same value counting the Sent messages in bearerbox_access.log I only have sent's on access.log (no faileds et all). Something happened between smsbox and bearerbox. going back to the code.....