HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] faxgetty hangs



Lucie,

Please set:

TracingMask: 0x11
SessionTracing: 0xFFF

in your modem config file, restart faxgetty, and then send the log that gets stuck.

Your strace really looks like it's talking about a driver read block, but the session log with that verbosity should give us some clear indication.

Thanks.

Lee.


On 2005.02.21 13:23 Lucie wrote:
Hello,

I'm experiencing a problem since i upgraded to hylafax 4.2.1 on a server that had been running hylafax 4.1.7 on Slackware 9.0 without any problems. the modem is a gnet md0340, which i use on a few different sites and it works just fine. configs are defaults for class 1 except for PPM TCF EOP wait cmds and Class1SwitchingCmd that are set to <delay:n>

the fax answers most incoming faxes without problems, but approx. once a day it hangs, and i have to kill -HUP it to get things back up.

when it hangs, faxstat still thinks it is receiving, the log file c000XXX.log is stuck receiving frames
if i try to strace on the hanged process i get :
12:17:37.482728 time(NULL) = 1108574257
12:17:37.482776 time(NULL) = 1108574257
12:17:37.482827 read(7, <unfinished ...>


I really would appreciate some directions as to where to look.

this is a full log:
Feb 21 15:32:52.38: [14549]: SESSION BEGIN 000000962 15144991071
Feb 21 15:32:52.38: [14549]: HylaFAX (tm) Version 4.2.1
Feb 21 15:32:52.38: [14549]: <-- [4:ATA\r]
Feb 21 15:32:55.55: [14549]: --> [7:CONNECT]
Feb 21 15:32:55.55: [14549]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'
Feb 21 15:32:55.55: [14549]: RECV FAX: begin
Feb 21 15:32:55.55: [14549]: <-- data [32]
Feb 21 15:32:55.55: [14549]: <-- data [2]
Feb 21 15:32:57.43: [14549]: --> [7:CONNECT]
Feb 21 15:32:57.43: [14549]: <-- data [23]
Feb 21 15:32:57.43: [14549]: <-- data [2]
Feb 21 15:32:58.21: [14549]: --> [7:CONNECT]
Feb 21 15:32:58.21: [14549]: <-- data [10]
Feb 21 15:32:58.21: [14549]: <-- data [2]
Feb 21 15:32:58.70: [14549]: --> [2:OK]
Feb 21 15:32:58.70: [14549]: <-- [9:AT+FRH=3\r]
Feb 21 15:32:58.80: [14549]: --> [7:CONNECT]
Feb 21 15:33:00.20: [14549]: --> [2:OK]
Feb 21 15:33:00.20: [14549]: REMOTE wants 14400 bit/s
Feb 21 15:33:00.20: [14549]: REMOTE wants A4 page width (215 mm)
Feb 21 15:33:00.20: [14549]: REMOTE wants unlimited page length
Feb 21 15:33:00.20: [14549]: REMOTE wants 3.85 line/mm
Feb 21 15:33:00.20: [14549]: REMOTE wants 2-D MMR
Feb 21 15:33:00.20: [14549]: REMOTE wants T.30 Annex A, 256-byte ECM
Feb 21 15:33:00.20: [14549]: RECV training at v.17 14400 bit/s
Feb 21 15:33:00.20: [14549]: <-- [11:AT+FRM=145\r]
Feb 21 15:33:01.97: [14549]: --> [7:CONNECT]
Feb 21 15:33:03.50: [14549]: RECV: TCF 2720 bytes, 0% non-zero, 2703 zero-run
Feb 21 15:33:03.50: [14549]: --> [10:NO CARRIER]
Feb 21 15:33:03.50: [14549]: DELAY 75 ms
Feb 21 15:33:03.58: [14549]: TRAINING succeeded
Feb 21 15:33:03.58: [14549]: <-- [9:AT+FTH=3\r]
Feb 21 15:33:03.77: [14549]: --> [7:CONNECT]
Feb 21 15:33:03.77: [14549]: <-- data [3]
Feb 21 15:33:03.77: [14549]: <-- data [2]
Feb 21 15:33:05.05: [14549]: --> [2:OK]
Feb 21 15:33:05.05: [14549]: <-- [11:AT+FRM=146\r]
Feb 21 15:33:06.01: [14549]: --> [7:CONNECT]
Feb 21 15:33:06.30: [14549]: RECV received frame number 0
Feb 21 15:33:06.51: [14549]: RECV received frame number 1
Feb 21 15:33:06.65: [14549]: RECV received frame number 2
Feb 21 15:33:06.79: [14549]: RECV received frame number 3
...
Feb 21 15:33:14.59: [14549]: RECV received frame number 56
Feb 21 15:33:14.59: [14549]: RECV received RCP frame
Feb 21 15:33:14.71: [14549]: --> [10:NO CARRIER]
Feb 21 15:33:14.71: [14549]: <-- [9:AT+FRH=3\r]
Feb 21 15:33:14.75: [14549]: --> [7:CONNECT]
Feb 21 15:33:16.00: [14549]: --> [2:OK]
Feb 21 15:33:16.06: [14549]: RECV recv PPS (partial page signal)
Feb 21 15:33:16.06: [14549]: RECV recv MPS (more pages, same document)
Feb 21 15:33:16.06: [14549]: RECV received 57 frames of block 1 of page 1
Feb 21 15:33:16.09: [14549]: RECV: 14365 bytes of data, 1046 total lines
Feb 21 15:33:16.09: [14549]: DELAY 70 ms
Feb 21 15:33:16.16: [14549]: <-- [9:AT+FTH=3\r]
Feb 21 15:33:16.35: [14549]: --> [7:CONNECT]
Feb 21 15:33:16.35: [14549]: RECV send MCF (message confirmation)
Feb 21 15:33:16.35: [14549]: <-- data [3]
Feb 21 15:33:16.35: [14549]: <-- data [2]
Feb 21 15:33:16.35: [14549]: RECV FAX (000000962): from <UNSPECIFIED>, page 1 in
0:13, INF, 3.85 line/mm, 2-D MMR, 14400 bit/s
Feb 21 15:33:17.63: [14549]: --> [2:OK]
Feb 21 15:33:17.63: [14549]: <-- [11:AT+FRM=146\r]
Feb 21 15:33:18.57: [14549]: --> [7:CONNECT]
Feb 21 15:33:18.86: [14549]: RECV received frame number 0
Feb 21 15:33:19.08: [14549]: RECV received frame number 1
...
Feb 21 15:33:41.28: [14549]: RECV received frame number 148
Feb 21 15:33:41.42: [14549]: RECV received frame number 149


thanks,


-- Lucie

____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*

____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions