SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Wed Mar 03, 2021 14:45
SMSTools3 Community » Help and support Bottom

[answered] Modem process hangs up randomly

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jun 2009
Location: Russian Federation
Operating system name and version: Windows XP SP3 and Cygwin
Version of smsd: v3.1.14-VVV-3 (special version prepared by keke)
Smsd installed from: sources
Name and model of a modem / phone: Siemens MC35
Interface: serial

Hello keke,
we have 10 GSM modems in our setup. Since your last help, system works fine. We have no more troubles with file movings and lockings.

Several days ago I noticed new issue with one of modems. Modem is called M9 and is connected to COM9.
Below are log fragments ( smsd and trouble ) related to that modem process:



As can be seen, last activity of that modem was in 2011-06-21 14:12:48,5. After that modem stopped sending and receiving anythinhg. But there are no any trouble records in any of log for that period. I am not sure whether modem process was in memory, but during smsd restart at 2011-06-22 09:57:53,2 , that process is not listed in stop list. After smsd restart modem started working properly.

My questions:
a) is it possible that during such "hang up" modem process continues to read spooler dir ?
b) Have you seen such issue in your practice ?
c) what are possible reasons of the issue ?
d) what could be done to prevent it / diagnose further ?

My conf file was unchanged since previous discussion, let me know if you need it again.

And help you very much for kindly support.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
The problem looks similar than you had once two months ago (#post3275). Modem process was stopped, but it is not known why. I assume that it did not stop by itself, because in that case there should be lines about that in the log.

You could create a script which monitors smsd processes, and creates some log and alarm when one or more modem processes are missing when mainprocess is still running. It will not tell who killed process, but you will get a notification faster.

If this issue happens once more, first check the ps list before restarting smsd, to see if there are all modem processes listed.

When modem process is stopped, or "hanged up", it does not continue sending and receiving. If you have implemented statistics, you could also use the file /var/spool/sms/stats/status for monitoring. From that file latest state and time of activity of all processes can be seen.

Member
Registered:
Jun 2009
Location: Russian Federation
Topic owner
Thank you for above reminder :)
So our first task is to detect whether modem process remians in memory or not.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.