Keywords: Mode: All keywords (AND) |
Thu Jan 05, 2017 10:03
|
steveharriss: These changes also reduce the processor load from 90% to 50%!
Before these alterations the queue directory was either empty or had 2-3 messages waiting, now it has 4200 pending sending and these are going out at the rate of one every 6-8 seconds, rather than 40+ seconds
|
Thu Jan 05, 2017 09:50
|
steveharriss: I have solved this:
I have added the following lines to my smsd.conf file and now messages are flying out without delay. All the hanging moving files from outgoing to the queue are now absent completely
spool_directory_order = yes
#Default value: no.
#Available from version >= 3.1.9. With this setting files are handled in the order they are on disk. This disables priorizing and also the age of files are not checked.
delaytime_mainprocess = 1
#Default value: not in use.
#Available after >= 3.1.4. If this value is not set, delaytime setting is used in the main process. With this setting outgoing messages can be checked more frequently than incoming messages.
delaytime = 5
#Default value: 10.
#Smsd sleep so many seconds when it has nothing to do.
|
Wed Jan 04, 2017 21:40
|
steveharriss: Raspbian OS
Huwei E220 Modem
Have this set up and initially sent 2500 messages where files moved from outgoing to the modem queue with little delay.
Now got to 3700 messages and there is a delay in moving files form outgoing of up to 40 seconds and the modem queue is empty or containing 2-4 files maximum.
smsd: Took 38.3 seconds to get a file /var/spool/sms/outgoing/send_tr5AF5, lost 0 times, 34756 SMS files and 0 LOCK file
With another 34756 files to go I could really do with finding the solution to this particular issue. Anyone?
|
Wed Sep 14, 2016 11:19
|
steveharriss: Thanks to this thread I finally sorted incoming messages to my Huawei E5220
It needed this in the smsd.conf to ensure that incoming/outgoing worked
[modem1]
init = AT+CPMS="SM";+CNMI=2,0,0,2,1
memory_start = 0
device = /dev/ttyUSB2
baudrate = 19200
incoming = high
report = yes
queues = modem1
|