How to speed up NowSMS to reach its license speed ..... | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 28, 2014 ⬆ |
◄ ► |
Author | Message | |||
Nelson Lam New member Username: Nelsonlam Post Number: 20 Registered: 02-2013 |
Dear Tech Support - Currently we are using NowSMS v2013.09.26 license at 10 sms per second - our NowSMS is connected to smpp client "cl-1" (inbound)and SMSC provider "smsc-a" (outbound) with all inbound SMS route to outbound using SMSSend accounting call-back to route the SMS to smsc-a cl-1 ---> NowSMS ---> smsc-a - cl-1 is sending sms to NowSMS server at a maximum of 20 sms per second - smsc-a is set with maximum throughput rate of 10 sms per second - for smsc-a configuration under NowSMS server, we did not enable "SMPP Async Mode" Problem: - when we monitor with wireshark capture, during the second when cl-1 submitted 20 sms to NowSMS server,we can only see NowSMS server sending out 5 sms to smsc-a - We cross checked with the SMSWEB-yyyymmdd.log and SMSOUT-yyyymmdd.log, it is confirmed that during the second when cl-1 submitted 20 sms (found in the in-log),there is only 5 sms send out in the out-log. - We browsed through the whole out-log and found that no any single second could NowSMS exceed 5 sms. Could you pls to solve our problem so that we can speed up the NowSMS server to send sms at it maximum license speed. Thanks. Best Regards Nelson | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4788 Registered: 08-2008 |
Hi Nelson, Sorry for the delay in response, but this sounds exactly like what we discussed some time ago in http://support.nowsms.com/discus/messages/1/72065.html We determined that the problem was that your accounting callbacks were too slow. This is an edited example from a previous SMSDEBUG.LOG: 16:42:17:102 [6] RetrieveURL: GET /..../..../ HTTP/1.1 User-Agent: Now SMS/MMS Gateway v2013.09.26 Accept: */* Host: 127.0.0.1 16:42:17:556 [6] HttpResponseWait: Ok To troubleshoot callback response times, look for "RetrieveURL: GET" ... then look for "HttpResponseWait:" preceded by the same number. In this example, the accounting callback took 454 milliseconds which will severely limit processing speed. I'm very confident that if you look at your current SMSDEBUG.LOG, you will see similar response times. For your target speed, you need to get the callback processing times closer to 50ms. If you'd like more specific feedback based upon current debug logs, please do not hesitate to send them to me. (Send to nowsms@nowsms.com with Attention: Des in the subject line.) -- Des NowSMS Support | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4791 Registered: 08-2008 |
Follow-up... After looking at the new logs, the callbacks are no longer an issue. The response time for callbacks is fast and will not cause any issues. The performance issue that you are seeing seems to be the extremely slow SMPP submit_sm_resp (submit response) from the upstream server. Responses seem to consistently take over 250ms. I can tell this because of the delay period between "Processing" and the SMSOUT accounting callback. The SMPPDEBUG.LOG would confirm this. I would suggest enabling async mode, but initially keep the window size low (try 10). When not in async mode, NowSMS has to wait for the submit response before sending the next message. Is there a reason you are not using async mode? It is very possible that the upstream provider is purposely throttling your account by delaying responses. Or it is possible they are performing a first delivery attempt before returning the response and expecting you to use async mode. After enabling async mode, I'd like to see logs that include a similar time window, but also the SMPPDEBUG.LOG...at least for confirmation that my analysis is correct. I'd also recommend updating to the 2013.11.15 version on the download page ... it is not essential, but it increases the timer resolution for the debug logs so the ms value is more accurate. (Previously the entries would appear bursty...lots of stuff, then nothing for 10 to 12ms.) -- Des NowSMS Support | |||
Eduardo Rodrigues Gonçalves New member Username: Eduardo Post Number: 1 Registered: 01-2014 |
caro suporte voçê pode ver pelo TeamViewer meu pc nowsms v213.11.15 estar muito lento 32 modem ... ele so manda 5 sms por minutos me ajude obrigado eduardo | |||
Eduardo Rodrigues Gonçalves New member Username: Eduardo Post Number: 2 Registered: 01-2014 |
you could see the TeamViewer remote online send 5 sms per minute are used 32 ports can not find the defect att eduardo |