Queue Directory Build Up

Queue Directory Build Up SearchSearch
Author Message
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 127
Registered: 04-2011
Posted on Monday, July 15, 2019 - 11:31 am:   

Hi

We have a situation where we notice that there are many directories in the configured Queue directory. These directories have old dates.
for e..g. like
06/18/2019 09:50 PM <DIR> 20190618
06/19/2019 06:38 PM <DIR> 20190619
06/20/2019 10:12 PM <DIR> 20190620
We notice atleast 150 directories

In some we have ".BAD" files
In some old directories we have ".REQ" files

We also notice few (atleast 21) directories with "userid####XXXX" names having ".REQ" files in it.
for e.g.
07/15/2019 01:48 PM <DIR> alert###000A
05/29/2019 11:03 AM <DIR> alert###0032
05/30/2019 10:45 PM <DIR> alert###0038

What could be the reason of these build ups and
what do you suggst as maintenance?
Do they affect the performance of the system?


Appreciate your quick response

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6028
Registered: 08-2008
Posted on Monday, July 15, 2019 - 10:06 pm:   

Hi Mathew,

I'm confused.

Unless I'm missing something, ".BAD" are only created when 2-way commands are not processing correctly. These files would not be in a queue directory. Are they under SMS-IN? If so, they are completely unrelated to any other issue.

The old REQ files are also confusing...are these alert### folders directly under the Q folder?

If so, either the file system is corrupt or there is a routing configuration that is encountering something very unexpected.

Start by doing a CHKDSK /f and restarting the server. Before you do that, make sure SMSDEBUG.LOG is enabled, so that it will be active from the start whenever NowSMS is restarted.

If NowSMS still does not process them, send me:

SMSDEBUG.LOG
SMSGW.INI
Examples of the REQ files
DIR /s listing of NowSMS directory structure (open command prompt window as admin, CD to NowSMS directory, use command dir /s > dir.txt to create dir.txt file to detail directory structure)

E-mail to nowsms@nowsms.com with Attention: Des in the subject line.

--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 128
Registered: 04-2011
Posted on Thursday, July 18, 2019 - 09:55 am:   

Hi,

I have sent you a mail 2 days back.
I hope you got time to look at it

Mathew
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8331
Registered: 10-2002
Posted on Thursday, July 18, 2019 - 06:37 pm:   

Hi Mathew,

Sorry, Des is away for a few days, and I was supposed to follow-up, but forgot to check his email.

The directory list is very confusing, because we do not use a directory named QUEUE.

Your QUEUE directory appears to be a mix of content that would normally be in two different directories.

The date coded subdirectories with *.BAD files would normally be in SMS-IN. The .BAD files are created when an HTTP 2-way command returns a 400 or 500 series HTTP error code. There is no good way to handle these, because often this is an indication that your app received the message, but encountered unexpected content. Renaming with .IN extension will re-attempt. You should monitor and try to determine if the problem is with content of the message, or a web server problem.

The userid### subdirectories would normally be under Q.


Are you using config settings for alternate directory names?

-bn

Bryce Norwood
Now SMS/MMS Support