Hi Oded,
I'm using your patch (sim-buffering), and I really think that's part of the problem.
Suddendly Dr. Watson raises an error on bearerbox,
even if in the log you can's see anything, then smsbox write that log.
I would really like to know If I louse some sms.
By the way I can tell you that before sim-buffering I never had Dr. Watson,
but I can't tell you if that was the cause or not.
Cheers
Andrea
P.S. I got it under windows 2000 advanced server
----- Original Message -----
From: Oded Arbel
Sent: Monday, April 08, 2002 7:09 PM
Subject: RE: smsbox error

It is very wierd - my bet is that this is a windows problem. I have encountered sporadicly closing sockets in the past, but only on NT4.
 
OTOH - I'm a linux freak, so you need to take everything I say about windows with a grain of salt ;-)
 
--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
 
"I am afraid that as death becomes less certain, taxes will get worse."
 -- Mary Smith
 

-----Original Message-----
From: Andrea Viscovich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:22 PM
To: [EMAIL PROTECTED]
Subject: smsbox error

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).

Reply via email to