Kannel quits without reporting fatal error

Alan McNatty <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello,

I have an instance of Kannel running (1.3.1 on debian linux) which
communicates to a single SMSC via SMPP. The SMSC connection in question
can go up and down like a yo-yo. After a recent bout the Kannel smsbox
and bearerbox'es simply vanished without a trace (nothing fatal in
either log).

The logs have the morning SIGHUP when logrotate ran - kannel continued
to log connection failure for the next 1.5 hours then vanished without a
trace (no boxen processors running when I was alerted). Below is a
snippet from the bearerbox logs (set to level 1)... 

Can anyone think of a reason why Kannel might give up on a bad
connection after a time (is there something in io_thread in smpp module
that might cause a shutdown without reporting - I can only see, if fail
continue, etc - all looks good).  

Alternatively can anyone suggest position of addition debug printouts or
some external monitoring of processors/threads that I can do that might
help find the problem. The obvious thing to do is setup test connection
and simply drop the interface to SMSC and leave running trying to
connect - just wondering about supplementary logging that might help.  

All comments/suggestions appreciated. 
Cheers,
Alan


2003-07-07 07:27:13 [0] WARNING: SIGHUP received, catching and
re-opening logs
2003-07-08 07:37:20 [0] WARNING: SIGHUP received, catching and
re-opening logs
2003-07-08 08:15:55 [6] ERROR: SMPP[...]: I/O error or other error.
Re-connecting.
2003-07-08 08:15:55 [5] ERROR: SMPP[...]: I/O error or other error.
Re-connecting.
...
...
2003-07-08 09:44:27 [5] ERROR: error connecting to server `...' at port
`...'
2003-07-08 09:44:27 [6] ERROR: SMPP[...]: Couldn't connect to server.
2003-07-08 09:44:27 [5] ERROR: SMPP[...]: Couldn't connect to server.
2003-07-08 09:44:27 [6] ERROR: SMPP[...]: Couldn't connect to SMS center
(retrying in 10 seconds).
2003-07-08 09:44:27 [5] ERROR: SMPP[...]: Couldn't connect to SMS center
(retrying in 10 seconds).
2003-07-08 09:46:56 [5] ERROR: SMPP[...]: I/O error or other error.
Re-connecting.
2003-07-08 09:46:56 [6] ERROR: SMPP[...]: I/O error or other error.
Re-connecting.
2003-07-08 09:46:56 [5] ERROR: connect failed
2003-07-08 09:46:56 [5] ERROR: System error 111: Connection refused
2003-07-08 09:46:56 [5] ERROR: error connecting to server `...' at port
`...'
2003-07-08 09:46:56 [5] ERROR: SMPP[..]: Couldn't connect to server.
2003-07-08 09:46:56 [5] ERROR: SMPP[..]: Couldn't connect to SMS center
(retrying in 10 seconds).
2003-07-08 09:46:56 [6] ERROR: connect failed
2003-07-08 09:46:56 [6] ERROR: System error 111: Connection refused
2003-07-08 09:46:56 [6] ERROR: error connecting to server `...' at port
'...'
2003-07-08 09:46:56 [6] ERROR: SMPP[..]: Couldn't connect to server.
2003-07-08 09:46:56 [6] ERROR: SMPP[..]: Couldn't connect to SMS center
(retrying in 10 seconds).



-- 
Alan McNatty <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.