NowSMS - Cluster Nodes

NowSMS - Cluster Nodes SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » NowSMS - Cluster Nodes « Previous || Next »
Author Message
Jose Mosquera
New member
Username: Jmosquera

Post Number: 7
Registered: 04-2019
Posted on Thursday, April 18, 2019 - 03:12 pm:   

Hello support

wondering if you could help answer these questions:

1) How does a multi-node setup avoid duplicating a send if all nodes are reading from the same shared queue?

2) In the event of a node going down will others pick up SMS files that have been prefixed with the dead node's identifier?

3) What is the safest way to drain a node from the cluster to avoid data loss (inflight data, delivery messages received by another node)?

4) In our tests when loading up a cluster we see folders like these in the Q directory:
With roughly 45k sms msgs in each

Is this just NowSMS managing the ingress of SMS msg across all nodes?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5999
Registered: 08-2008
Posted on Friday, April 19, 2019 - 10:06 am:   

1) Read/write file locking.

2) yes

3) normal shutdown / stop service / net stop nowsms

4) 45k seems very high. The default is 10k, but the logic for creating separate directories is simplistic and does not consider the same account name submitting high volume simultaneously. I would lower this limit as 45k files at a directory level will cause issues with most file systems.

Our default behavior is to avoid placing more than 10000 files into a single directory, but the logic does not consider the same account name submitting high volume simultaneously, which is leading to higher counts. This setting can be adjusted with a MaxQDirEntries=#### entry under the [SMSGW] section of SMSGW.INI. I would suggest lowering to 2000 or even 1000.

NowSMS Support

Add Your Message Here, or click here to create a new discussion topic.
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Options: Automatically activate URLs in message

Login Login / Register Logout Logout Search Last 30 Days Topics Topics