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. Mon Jun 24, 2024 12:10
SMSTools3 Community » Help and support Bottom

Autorestart SMSTOOLS on ERROR 500

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jul 2015
Location: Portugal
Raspbian 7 (wheezy):
Version of smsd: 3.1.14
Smsd installed from: package repository
Name and model of a modem / phone: Huawei E169/E620/E800 HSDPA Modem + Huawei E220 HSDPA Modem / E230/E270/E870
Interface:USB
Power Supply: 2.5A

Hi,
I have a Raspberry PI to process about 110 SMS in one shot - 110 files are sento to the system via PHP script and the SMSTOOLS start to split to the acording queue.

In the last few days, SMSTOOLS start to broke on any modem.... Modem #1 or Modem #2 randomly with error: "The modem answer was not OK: +CMS ERROR: 500 (Unknown error)"
I think that this happens because of lack of processor - processor get to 3.67 LOAD when processing all of this messages at once. It's a raspberry.
Can anyone confirm that can be the overload and lack of processor?

Normally it can be solved with the restart of the service and things get normal again.

Question2: Is there any way to restart SMSTOOLS everytime error 500 happens?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Smstools has no internal feature for restarting. You have to define an alarmhandler which logs alarms, and decides when a restart is required. This script could create a flag file which is monitored by the external cron job, which performs the restart.

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.