QueueQDir=

QueueQDir= SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 11, 2011 » QueueQDir= « Previous || Next »
Author Message
ashot shahbazian
Frequent Contributor
Username: Animatele

Post Number: 97
Registered: 06-2004
Posted on Friday, December 24, 2010 - 10:02 pm:   

Hi Des, Bryce

Have been noticing for awhile: despite having a QDir=e:\q\ parameter set in smsgw.ini occasionally some .req files(a dozen or two) would appear in c:\nowsms\q\ folder and stay there indefinitely. This could be happening when stopping/starting a busy server, but I'm not 100% sure. The issue wasn't that much trouble, so we've never reported it. If we delete the default \q folder it always gets created with a restart of the service. If we move files from it to where they supposed to be the messages submit normally.

This afternoon however, something has caused about 4,000 files stuck in the defaul folder. Timestamps were about the time NowSMS crashed in a very unusual way: the service (smsgws.exe) was running, the interface would look like it's running - but not a single user or SMSC connection was active. Pressing Stop-Start fixed it immediately. This has never happened before.

All file creation times were between 13:44 and 15:41 (that's about when we stop-started it.)

Looking for clues in except.log: last change date was September 2009.

Here is what's in the event log:

13:44:21 info:Now SMS/MMS Gateway stopped (we didn't do it)
13:44:25 started (we didn't do it either)

(then follows the period when the service was off and files were accumulating in the wrong folder)

15:41:59 stopped (we did it)
15:42:01 started (it indeed started this fast)

The program version is 2010.05.24.

Something else may have contributed to the server misbehaving: it has an APC PowerChute Agent running on it (which is using Java) and I just noticed it leaking 2GB RAM. It's a well-known issue caused by mistmatch of Java runtime version and APC software. 32-bit Windows might not like it when an application is using over 2GB RAM if it wasn't designed to use that much.

But even if that could have triggered NowSMS crashing, the issue of files being placed in the wrong folder needs attention, as that might be somehow tied to the crash issue or vise versa.

Can you please look at it?

Merry Christmas

Kind regards,
Ashot
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2786
Registered: 08-2008
Posted on Tuesday, December 28, 2010 - 07:46 pm:   

Hi Ashot,

Apologies for the delay in response, I will have to get back to you after the holidays when I can review this with more colleagues.

Insufficient memory could definitely cause this problem as theSMSGW.INI file is cached in memory and this setting read from this cache. It is only read from the cache at init for outbound queue processing, but is re-read more frequently on submit. So it is conceivable that insufficient memory would cause submits to go to the default dir, while queue processing continues against the q dir initially read from the INI file.

--
Des
NowSMS Support

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