smsbox error
"Andrea Viscovich" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi. I got this error once every 2 days using one week ago cvs. bearer log does not show anything, smsbox sometimes cannot read from an fd so it closese connection. I use it under window 2000 as a service so it restarts, but what I would like to know is: 1) smsbox is trying to read someting from bearer because it received an sms or it periodically verifies connection? This because I'm afraid to loose some message, as when it restarts I can't see any sms received at that time. 2) If someone knows why it happens I'll be very glad, but I think it's very difficult to say. Thanks very much Here is smsbox log: 2002-04-06 22:04:05 [0] ERROR: Error reading from fd 18: 2002-04-06 22:04:05 [0] ERROR: System error 104: Connection reset by peer 2002-04-06 22:04:05 [0] ERROR: Error reading from fd 18: 2002-04-06 22:04:05 [0] ERROR: System error 104: Connection reset by peer 2002-04-06 22:04:05 [0] INFO: Error reading from bearerbox, disconnecting 2002-04-06 22:04:05 [0] INFO: Received (and handled?) 124 requests in 142631 seconds (0.00 per second) 2002-04-06 22:04:05 [0] INFO: Kannel smsbox terminating. 2002-04-06 22:04:05 [6] DEBUG: Thread 6 (gw/heartbeat.c:heartbeat_thread) terminates. 2002-04-06 22:04:05 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2002-04-06 22:04:05 [3] DEBUG: HTTP: No clients with requests, quitting. 2002-04-06 22:04:05 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) terminates. 2002-04-06 22:04:05 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2002-04-06 22:04:05 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2002-04-06 22:04:05 [0] DEBUG: Waiting for 4 (gw/smsbox.c:obey_request_thread) to terminate 2002-04-06 22:04:05 [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) terminates. 2002-04-06 22:04:05 [0] DEBUG: Waiting for 5 (gw/smsbox.c:url_result_thread) to terminate 2002-04-06 22:04:05 [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) terminates. 2002-04-06 22:04:05 [0] DEBUG: Waiting for 8 (gwlib/http.c:write_request_thread) to terminate 2002-04-06 22:04:05 [8] DEBUG: Thread 8 (gwlib/http.c:write_request_thread) terminates. 2002-04-06 22:04:05 [7] DEBUG: Thread 7 (gwlib/fdset.c:poller) terminates. 2002-04-06 22:04:05 [0] DEBUG: Immutable octet strings: 218. 2002-04-06 22:04:05 [0] DEBUG: Current allocations: 2 areas, 28 bytes 2002-04-06 22:04:05 [0] DEBUG: Highest number of allocations: 1393 areas 2002-04-06 22:04:05 [0] DEBUG: Highest memory usage: 73971 bytes 2002-04-06 22:04:05 [0] DEBUG: Area 0xa016130, size 16, max_size 16 2002-04-06 22:04:05 [0] DEBUG: Allocated by octstr_create_from_data_real at gwlib/octstr.c:171 2002-04-06 22:04:05 [0] DEBUG: Claimed by init_smsbox at gw/smsbox.c:2066 2002-04-06 22:04:05 [0] DEBUG: Contents of area (first 16 bytes): 2002-04-06 22:04:05 [0] DEBUG: 68 61 01 0a 0b 00 00 00 0c 00 00 00 00 00 00 00 2002-04-06 22:04:05 [0] DEBUG: Area 0xa016168, size 12, max_size 12 2002-04-06 22:04:05 [0] DEBUG: Allocated by octstr_create_from_data_real at gwlib/octstr.c:179 2002-04-06 22:04:05 [0] DEBUG: Contents of area (first 16 bytes): 2002-04-06 22:04:05 [0] DEBUG: 30 31 32 33 34 35 36 37 38 39 20 00 2002-04-06 22:04:11 [0] INFO: Added logfile `smsbox.log' with level `0'. here it restarts...... P.S. (it uses even sim-buffering, don't know if this helps).