MMS processing throughput

MMS processing throughput SearchSearch
Author Message
Omeiza
New member
Username: Pecmosg

Post Number: 12
Registered: 06-2019
Posted on Sunday, August 15, 2021 - 02:23 pm:   

Hi Team

We are trying to send 100mms per sec but looks like there is some issue with nowsms java code.
When I send it parallelly, only a few will be sent successfully, when I triggered them with a 10 millisecond gap, still having the same issue, can you please check it. see attached.

Please note we have a 103mps license.

Kind regards.

application/octet-streamjava file
SendMMS.java (18.6 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8457
Registered: 10-2002
Posted on Monday, August 16, 2021 - 08:03 pm:   

Hi,

Is the Java code reporting errors?

The MMSC-yyyymmdd.LOG file would report details on MMS messages submitted to NowSMS. Are the missing messages appearing here?

If you have any logs that would help explain the problem, please forward them to nowsms@nowsms.com, and indicate "Attention: Bryce" in the subject line of the e-mail.

What protocol is being used for MMS message delivery? MMSC Direct Delivery?

Regards,

Bryce Norwood
NowSMS Support
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8458
Registered: 10-2002
Posted on Wednesday, August 18, 2021 - 10:01 pm:   

Follow-up for others who might experience a similar problem.

Under heavy load, the Java code was sporadically reporting a response code of "Internal Error".

When using the netstat -n command, it was observed that a large number of connections were in a TIME_WAIT state. The TIME_WAIT connections were initiated by NowSMS. The Java code submits MMS messages using the URL interface of the SMS gateway component of NowSMS, and these connections were used by the SMS gateway to communicate with the MMSC.

NowSMS has been updated to improve performance and resolve this problem. An updated version of NowSMS has been posted at https://nowsms.com/download/nowsms20210817.zip.
Omeiza
New member
Username: Pecmosg

Post Number: 13
Registered: 06-2019
Posted on Thursday, September 30, 2021 - 07:58 pm:   

Hi Team,

Please can you help determine the reason for this constant connection interruption,

"java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8800?user=gmobile&password=12345678
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at com.campaign.util.SendMMS.post(SendMMS.java:319)
at com.campaign.util.SendMMS.send(SendMMS.java:582)
at com.campaign.job.JobScheduler$1.run(JobScheduler.java:345)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"
Thanks for you help.

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: