Re: sms-service behaviour
"Dziugas Baltrunas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <004c01c30663$5a946730$c8602fd4@dark> |
ok I will try to repeat my situation again. access.log: 2003-04-18 14:51:10 Receive SMS [SMSC:aaa2] [SVC:] [ACT:] 2003-04-18 14:51:10 Sent SMS [SMSC:aaa2] [SVC:tavo] [ACT:] 2003-04-18 14:51:50 Log begins 2003-04-18 14:51:51 Receive SMS [SMSC:xxx3] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx4] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx3] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx4] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx3] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx4] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx4] [SVC:] [ACT:] 2003-04-18 14:51:51 Receive SMS [SMSC:xxx3] [SVC:] [ACT:] 2003-04-18 14:52:09 Log begins 2003-04-18 15:05:37 Receive SMS [SMSC:xxx3] [SVC:] [ACT:] 2003-04-18 15:05:38 Sent SMS [SMSC:xxx4] [SVC:default] [ACT:] 2003-04-18 15:33:24 Log begins 2003-04-18 15:33:35 Log begins 2003-04-18 15:46:48 Receive SMS [SMSC:xxx4] [SVC:] [ACT:] 2003-04-18 15:46:49 Sent SMS [SMSC:xxx3] [SVC:default] [ACT:] 2003-04-18 15:48:12 Receive SMS [SMSC:xxx4] [SVC:] [ACT:] 2003-04-18 15:48:13 Sent SMS [SMSC:xxx3] [SVC:default] [ACT:] 2003-04-18 16:56:34 Receive SMS [SMSC:aaa2] [SVC:] [ACT:] 2003-04-18 16:56:35 Sent SMS [SMSC:aaa2] [SVC:default] [ACT:] smsbox.log: 2003-04-18 14:51:10 [4] INFO: Starting to service <xxx> from xxx> to <xxx> 2003-04-18 14:51:50 [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `1'. 2003-04-18 14:51:50 [0] INFO: Logging accesses to '/var/log/kannel/smsaccess.log'. 2003-04-18 14:51:50 [0] INFO: Started access logfile `/var/log/kannel/smsaccess.log'. 2003-04-18 14:51:50 [0] INFO: HTTP: Opening server at port 13013. 2003-04-18 14:51:50 [0] INFO: Set up send sms service at port 13013 2003-04-18 14:51:50 [0] INFO: Connected to bearerbox at localhost port 13001. 2003-04-18 14:51:50 [0] INFO: Connection closed by the bearerbox 2003-04-18 14:51:50 [0] INFO: Received (and handled?) 0 requests in 0 seconds (NaN per second) 2003-04-18 14:51:50 [0] INFO: Kannel smsbox terminating. 2003-04-18 14:52:10 [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `1'. 2003-04-18 14:52:10 [0] INFO: Logging accesses to '/var/log/kannel/smsaccess.log'. 2003-04-18 14:52:10 [0] INFO: Started access logfile `/var/log/kannel/smsaccess.log'. 2003-04-18 14:52:10 [0] INFO: HTTP: Opening server at port 13013. 2003-04-18 14:52:10 [0] INFO: Set up send sms service at port 13013 2003-04-18 14:52:10 [0] INFO: Connected to bearerbox at localhost port 13001. 2003-04-18 15:05:37 [4] INFO: Starting to service <xxx> from <xxx> to <xxx 2003-04-18 15:33:24 [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `1'. 2003-04-18 15:33:24 [0] INFO: Logging accesses to '/var/log/kannel/smsaccess.log'. 2003-04-18 15:33:24 [0] INFO: Started access logfile `/var/log/kannel/smsaccess.log'. 2003-04-18 15:33:24 [0] INFO: HTTP: Opening server at port 13013. 2003-04-18 15:33:24 [0] INFO: Set up send sms service at port 13013 2003-04-18 15:33:24 [0] INFO: Connected to bearerbox at localhost port 13001. 2003-04-18 15:33:24 [0] INFO: Connection closed by the bearerbox 2003-04-18 15:33:24 [0] INFO: Received (and handled?) 0 requests in 0 seconds (NaN per second) 2003-04-18 15:33:24 [0] INFO: Kannel smsbox terminating. 2003-04-18 15:33:36 [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `1'. 2003-04-18 15:33:36 [0] INFO: Logging accesses to '/var/log/kannel/smsaccess.log'. 2003-04-18 15:33:36 [0] INFO: Started access logfile `/var/log/kannel/smsaccess.log'. 2003-04-18 15:33:36 [0] INFO: HTTP: Opening server at port 13013. 2003-04-18 15:33:36 [0] INFO: Set up send sms service at port 13013 2003-04-18 15:33:36 [0] INFO: Connected to bearerbox at localhost port 13001. 2003-04-18 15:46:48 [4] INFO: Starting to service <xxx> from <xxx> to <xxx> 2003-04-18 15:48:12 [4] INFO: Starting to service <xxx> from <xxx> to <xxx> 2003-04-18 16:56:34 [4] INFO: Starting to service <xxx> from xxx> to <xxx> smsaccess.log: 2003-04-18 14:51:10 SMS HTTP-request sender:xxx request: 'xxx' url: 'http://xxx' reply: 200 '<< successful >> 2003-04-18 15:33:24 Log begins 2003-04-18 15:33:24 Log ends 2003-04-18 15:33:36 Log begins 2003-04-18 15:46:48 SMS HTTP-request sender:xxx request: 'xxx' url: 'http://xxx' reply: 200 '<< successful >> 2003-04-18 15:48:12 SMS HTTP-request sender:xxx request: 'xxx' url: 'http://xxx' reply: 200 '<< successful >> 2003-04-18 16:56:34 SMS HTTP-request sender:xxx request: 'xxx' url: 'http://xxx' reply: 200 '<< successful >> as I wrote before, 14:51:50 I had restarted Kannel with two new SMSC defined in the configuration file - xxx3 and xxx4, actually both are for the same short number (it's a kind of load balancing). so my question is where these 8 SMS received on 14:51:51 have gone?! regards, Dziugas Baltrunas ----- Original Message ----- From: "Stipe Tolj" <[email protected]> To: "Dziugas Baltrunas" <[email protected]> Cc: "Andreas Fink" <[email protected]>; <[email protected]> Sent: 2003 m. balandžio 19 d. 12:54 Subject: Re: sms-service behaviour > Dziugas Baltrunas wrote: > > > > there were 6 requests and only one reply. after certain amount of time I > > tailed log again and there were logged two more replies. > > > > so the issue is about the incoming and outgoing messages RATIO: > > > > root@zona:/var/log/kannel$ grep SMSC:xxx3 access.log | grep -ci Receive > > 5 > > root@zona:/var/log/kannel$ grep SMSC:xxx3 access.log | grep -ci Sent > > 2 > > > > root@zona:/var/log/kannel$ grep SMSC:xxx4 access.log | grep -ci Receive > > 6 > > root@zona:/var/log/kannel$ grep SMSC:xxx4 access.log | grep -ci Sent > > 1 > > > > that is I would like to ask about. I think this is not issue about delay > > times because in my mind the sufficient amount of time passed. > > I guess you do a 'get-url' in your sms-service group, right?! Maybe > smsbox could not reach your HTTP server? Please check smsbox.log to > see if it gets a response for every request. > > Another thing may be, that the sms-service keyword routing is > mis-configured and not all MOs are handled, so that some get droped?! > > Stipe > > [email protected] > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 Düsseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [email protected] > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are >