Hello. I'm new to Kannel, but i'm working on a project with a very very short timeline period, so I have to do both investigation and development at the same time.
The project is being implemented using .NET (C#). To make it straight to the point, I end up with a sms_queue_out table, where I store all the SMS that I'm trying to send. I then have a windows service that "Dequeues" each sms from this table and sends them to Kannel. There's also a simple webservice where I get the reports back from Kannel (I send each sms with the dlr-url parameter defined on the http request). So far I've only tested this with Fakesmsc, but it seems to be working correctly. Now here's my problem. The service is currently running at intervals of 800ms, and it is multi-threaded. I said "Dequeue" because at each iteration I'm actually retrieving a number that can be between 1 and whatever I have configured. Since I have to make http requests to Kannel to send the SMS, even If I get 10 sms from the queue, I will still have to make 10 requests to Kannel. I'm trying to tweak the service interval time vs number of sms to send to kannel at each iteration. As an example: I've noticed that If I have the service set to run at every 1000ms and I send 10 sms, sometimes smsbox crashes (can't recall the error right now). I am using --parachute so it restarts the process, but it seems to loose at least 1 sms - also if it's crashing, somethig's wrong. I've read somewhere on the documentation that a modest PC can handle 400sms/s (summed from multiple connections). Is this behavior normal? I mean, am I simply trying to go over the limit of what smsbox can handle? Also, i've noticed that if I don't use dlr-url, it can handle a few more requests. Oh, one more thing: Fakesmsc only replies with report_type = 1 the first time I start the service. To all others, it's replying with report_type = 8. Is this normal - just a bug in fakesmsc? Sorry for the long message - I really appreciate any help you can give me. Thank you. -- View this message in context: http://www.nabble.com/smsbox-crashing-tf2508923.html#a6996330 Sent from the Kannel - User mailing list archive at Nabble.com.
