Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I created an Application pool dedicated for my SMS web service. I used NOWSMS gateway to send SMS to multiple cell# at the same time using VS200 .NET.
the problem is everytime I send bulk SMS to different cell# more than 30 Cell# it gave me a message "Message queue full". It will only solve the problem once I reset my application pool for SMS.
How to configure the application pool to extend the number of limit to send SMS at the same time?
How to automatically reset the pool if it found out that the pool is full?
Any suggestion is highly appreciated.

Best Regards
Dabuskol
Posted

1 solution

IIS application pool handles certain number of requests/second. Usually .net apps can server around 500/second (yours is only 30, i suspect its most likely not IIS that is the issue). You have noticed that you get "Message queue full". Are you getting this message from NOWSMS? If so, it appears that NOWSMS is using a queue mechanisum and after 30 messages the queue is full and throws error and your web service passes the message to your application.

If you know ahead that you are going to send over handfull of messages, It is good to do 1 request. I know we had cases where we had to send 1000s of SMS messages. Usually SMS providers support bulk send feature, use that. If it does not support, switch to the one that supports bulk. We used Clickatell its cheap and supported bulk SMS for years now. Sending SMS in bulk makes the whole thing work faster, less network load.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900