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. Sun Feb 28, 2021 02:50
SMSTools3 Community » Help and support Bottom

Took {lot_of_time} seconds to get a file

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Aug 2012
Location: Rio de Janeiro/RJ, Brazil
Operating system name and version: Fedora 16/64
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem: 30 Huawei E303C
Interface: USB

I'm running SMSTools3 in a pretty decent machine. With 8GB RAM and large and fast HDD. This machine use to be a mySQL server.

After long and frustrating struggle with USB changing ports and often spontaneous reboots (that turns out to be both due some bad USB hubs), I'm finally dealing with modems issues only.

My main problem right now its delivery rate and stability. I think I the speed would be very improved if I can solve this:

2012-09-13 16:12:39,5, GSM25: Took 22.2 seconds to get a file /var/spool/sms/queue/all/00306-28561669, lost 0 times, 157 SMS files and 28 LOCK files seen.
2012-09-13 16:12:40,5, GSM05: Took 22.2 seconds to get a file /var/spool/sms/queue/all/00306-28561670, lost 0 times, 156 SMS files and 28 LOCK files seen.
2012-09-13 16:12:40,5, GSM04: Took 11.8 seconds to get a file /var/spool/sms/queue/all/00306-28561683, lost 0 times, 142 SMS files and 28 LOCK files seen.
2012-09-13 16:12:42,5, GSM26: Took 10.9 seconds to get a file /var/spool/sms/queue/all/00306-28561687, lost 0 times,

This happened 3381 times just today .

web3:# tail -n30000 /var/log/smsd.log |grep Took|grep 2012-09-13|wc
3381 74382 551800


Do you guys have any ideas about?
The problem described here happened, so I'm using this slightly hacked version:
Quote

Thanks to flo0, for this BTW...

Concerning instability I'm dealing with those errors 500. Maybe anyone can share a successful init string to this Huawei E303C modems?

Quote
2012-09-13 16:26:49,5, GSM13: Took 6.2 seconds to get a file /var/spool/sms/queue/all/00306-28562724, lost 0 times, 293 SMS files and 25 LOCK files seen.
2012-09-13 16:26:50,5, GSM30: SMS sent, Message_id: 180, To: X, sending time 4 sec.
2012-09-13 16:26:50,5, GSM08: SMS sent, Message_id: 131, To: X, sending time 4 sec.
2012-09-13 16:26:51,3, GSM22: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2012-09-13 16:26:51,5, GSM22: Waiting 10 sec. before retrying
2012-09-13 16:26:51,5, GSM20: SMS sent, Message_id: 39, To: X, sending time 3 sec.
2012-09-13 16:26:52,5, GSM04: Took 12.8 seconds to get a file /var/spool/sms/queue/all/00306-28562720, lost 0 times, 297 SMS files and 25 LOCK files seen.
2012-09-13 16:26:53,5, GSM13: SMS sent, Message_id: 229, To: X, sending time 4 sec.
2012-09-13 16:26:53,5, GSM19: Took 14.3 seconds to get a file /var/spool/sms/queue/all/00306-28562718, lost 0 times, 299 SMS files and 25 LOCK files seen.
2012-09-13 16:26:53,5, GSM12: Took 14.7 seconds to get a file /var/spool/sms/queue/all/00306-28562719, lost 0 times, 298 SMS files and 25 LOCK files seen.
2012-09-13 16:26:54,5, GSM11: Took 11.8 seconds to get a file /var/spool/sms/queue/all/00306-28562722, lost 0 times, 295 SMS files and 25 LOCK files seen.
2012-09-13 16:26:54,3, GSM25: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2012-09-13 16:26:54,5, GSM25: Waiting 10 sec. before retrying
2012-09-13 16:26:55,5, GSM04: SMS sent, Message_id: 20, To: X, sending time 3 sec.
2012-09-13 16:26:55,5, GSM14: Took 17.7 seconds to get a file /var/spool/sms/queue/all/00306-28562716, lost 0 times, 301 SMS files and 25 LOCK files seen.
2012-09-13 16:26:56,5, GSM09: Took 10.6 seconds to get a file /var/spool/sms/queue/all/00306-28562725, lost 0 times, 292 SMS files and 25 LOCK files seen.
2012-09-13 16:26:56,5, GSM19: SMS sent, Message_id: 142, To: X, sending time 3 sec.
2012-09-13 16:26:57,5, GSM10: Took 9.4 seconds to get a file /var/spool/sms/queue/all/00306-28562730, lost 0 times, 287 SMS files and 25 LOCK files seen.
2012-09-13 16:26:57,5, GSM11: SMS sent, Message_id: 220, To: X, sending time 3 sec.
2012-09-13 16:26:58,5, GSM29: Took 8.2 seconds to get a file /var/spool/sms/queue/all/00306-28562731, lost 0 times, 286 SMS files and 25 LOCK files seen.
2012-09-13 16:26:59,5, GSM14: SMS sent, Message_id: 22, To: X, sending time 4 sec.
2012-09-13 16:26:59,5, GSM09: SMS sent, Message_id: 206, To: X, sending time 3 sec.
2012-09-13 16:26:59,5, GSM12: SMS sent, Message_id: 40, To: X, sending time 6 sec.
2012-09-13 16:26:59,5, GSM05: Took 12.9 seconds to get a file /var/spool/sms/queue/all/00306-28562727, lost 0 times, 290 SMS files and 25 LOCK files seen.
2012-09-13 16:27:00,5, GSM10: SMS sent, Message_id: 21, To: X, sending time 3 sec.
2012-09-13 16:27:01,5, GSM15: Took 10.0 seconds to get a file /var/spool/sms/queue/all/00306-28562732, lost 0 times, 285 SMS files and 25 LOCK files seen.

This is 10s of my log.

An PHP Daemon check if the spool have less than 100 messages and any running modems and if so, reads from a remote database 400 messages, writing them directly to /var/spool/sms/queue/all , I used to do this using

file_put_contents( "$file", $content,LOCK_EX);

Which I change to



with no results.


This is the striped smsd.conf



Anyway I will be very grateful to any help to fix or improve this numbers.

Best regards,

Member
Registered:
Aug 2012
Location: Rio de Janeiro/RJ, Brazil
Topic owner
Anyone? Help please!

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.

Fatal error: Call to a member function usebb_die() on a non-object in /var/www/smstools3/sources/common.php on line 187