|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Sat Oct 12, 2024 08:44 |
This topic is locked
Page: 1
Author |
Post |
|
#1 Tue May 24, 2011 22:06, 162 months ago.
|
Member
Registered: May 2011
Location: Caracas, Venezuela
|
Operating system name and version: Windows Server 2008 Version of smsd: 3-3.1.14 Smsd installed from: sources Name and model of a modem / phone: Modem Huawei E1756 Interface: USB
Hello
I'm trying the smstools, sending 200 SMS.
I put the files of the messages in the output folder and the system moves to the queues.
Once in the queue the system starts to send, but after some shipments sms stops responding, and I can not even stop
The only odd thing I see in the logs is this
2011-05-24 15:18:33,5, GSM1: SMS sent, Message_id: 56, To: 04242752107, sending time 900 sec. 2011-05-24 15:18:33,4, GSM1: Header handling aborted, reading /var/spool/sms/movistar/Camp_16_Envio_16_2998_Especifica failed 2011-05-24 15:18:33,6, GSM1: Moved file /var/spool/sms/movistar/Camp_16_Envio_16_2998_Especifica to 2011-05-24 15:18:33,7, GSM1: Max continuous sending time reached, will do other tasks and then continue. 2011-05-24 15:18:33,6, GSM1: Sent 1 messages in 900 sec. Average time for one message: 900.0 sec.
Thanks
|
|
#2 Wed May 25, 2011 13:38, 162 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
If you send only few SMS, like 10, at a time, is your system faster?
That line: "2011-05-24 15:18:33,6, GSM1: Moved file /var/spool/sms/movistar/Camp_16_Envio_16_2998_Especifica to ", is it sure that there is destination directory missing?
|
|
#3 Wed May 25, 2011 14:15, 162 months ago.
|
Member
Registered: May 2011
Location: Caracas, Venezuela
Topic owner
|
Thanks for your answer Yes, only with 10 SMS, the system performs well. Specifically on that line that shows me, the destination directory is empty. I tried it again and below show how the first sms sent fine but then one by one they go to the queue and stay there
|
|
#4 Thu May 26, 2011 10:12, 162 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Can you show a piece of a log at 2011-05-24 15:18:33 and before that? If could be useful to see how the modem process was working, as then sending time was 15 minutes, which looks very strange.
Can you locate the file Camp_16_Envio_16_2998_Especifica, where is it, or is it lost?
The log starting from 2011-05-24 18:01:40 shows that check_memory_method 2 is not supported by your device. Try to use with default method, and probably with memory_start = 0.
Are you sure if those messages you send are received properly? The format of number looks like national format, but the message defines international format. This may work with some service centers, but mostly not. If you need to use national format, you could use the global setting national_prefixes = 0 in the configuration.
Everything else in the log looks normal, but after "2011-05-24 18:02:38,7, GSM1: Command is sent, waiting for the answer", GSM1 does not talk anymore. Either the process is freezed, or someone has killed it with signal 9. At that time and later, before smsd was restarted, did you check the process list, was there two smsd processes running or not?
|
|
#5 Sun Jun 05, 2011 16:43, 162 months ago.
|
Member
Registered: May 2011
Location: Caracas, Venezuela
Topic owner
|
Hi, thanks for your response.
After several attempts I decided to switch to linux.
There everything works fine.
Now I need to use functions spool_directory_order and ignore_outgoing_priority, but currently I have version 3.1.3 in this linux (Fedora)
What would be the best way to upgrade the version given that the application is already in production?
Thank you very much for your excellent support
|
|
#6 Sun Jun 05, 2011 16:56, 162 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
gricci wrote After several attempts I decided to switch to linux.
There everything works fine.
Great. gricci wrote Now I need to use functions spool_directory_order and ignore_outgoing_priority, but currently I have version 3.1.3 in this linux (Fedora)
Why do you need those options, as filesystem on Linux usually is not too slow? gricci wrote What would be the best way to upgrade the version given that the application is already in production?
Just compile from sources, and cp -p smsd $(which smsd). Stop the smsd before upgrading it.
|
|
#7 Sun Jun 05, 2011 17:08, 162 months ago.
|
Member
Registered: May 2011
Location: Caracas, Venezuela
Topic owner
|
Ignore_outgoing_priority attempt to increase the speed of sending sms. Currently with a modem send a sms every 3.3 seconds on average, with two modem 2.4 seconds. I need to send a text message every 1.2 seconds to reach 3000 per hour. Expected to perform better with this option.
With spool_directory_order want to drive priority shipments. For example, if I have 1000 sms in a queue, but then comes the need to send one before all these, I create a file that begins with 0000_XXXXXX and in theory should check out those who are 1000_XXXXXX name.
Correct me if I'm wrong.
|
|
#8 Tue Jun 07, 2011 09:16, 162 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
gricci wrote With spool_directory_order want to drive priority shipments. For example, if I have 1000 sms in a queue, but then comes the need to send one before all these, I create a file that begins with 0000_XXXXXX and in theory should check out those who are 1000_XXXXXX name.
Alphabetic order is not the same as directory order, if that is what you meant. For example in a newly created directory: # mktemp 1000_XXXXXX 1000_sRXWLp # mktemp 1000_XXXXXX 1000_pNLibk # mktemp 1000_XXXXXX 1000_kRXfeK # mktemp 1000_XXXXXX 1000_UWSbdt # ls -lU total 0 -rw------- 1 root root 0 2011-06-07 12:02 1000_kRXfeK -rw------- 1 root root 0 2011-06-07 12:02 1000_UWSbdt -rw------- 1 root root 0 2011-06-07 12:02 1000_pNLibk -rw------- 1 root root 0 2011-06-07 12:02 1000_sRXWLp # mktemp 0000_XXXXXX 0000_qZOvMj # ls -lU total 0 -rw------- 1 root root 0 2011-06-07 12:02 1000_kRXfeK -rw------- 1 root root 0 2011-06-07 12:02 1000_UWSbdt -rw------- 1 root root 0 2011-06-07 12:02 1000_pNLibk -rw------- 1 root root 0 2011-06-07 12:02 0000_qZOvMj -rw------- 1 root root 0 2011-06-07 12:02 1000_sRXWLp
|
This topic is locked
Page: 1
Time in this board is UTC.
|
|
|
|
|
|
|