Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] Found cause of Modem Hung indefinately and failure to receive completion notcie
I figured out what was causing HylaFAX to hang a modem indefinately and fail
to send a job status email on job completion.
I have a daeomon that pops mail out of the mailbox that contains all of the
status messages and inserts them into a database. This program checks the
mailbox every 20 seconds and can run for up to a minute. I am not sure how
HylaFAX writes to a mail spool but it appears that when it is locked for an
extended period of time that there can be problems. Email notification would
fail and occasionally the modem for the job in question would hang
indefinately.
I am currently examining the source code to see what mechanism HylaFAX uses
to write mail to a spool. I may modify it to send mail through sendmail
rather than writing to the spool directly (I have not confirmed that HylaFAX
writes to the spool directly).
-----Original Message-----
From: hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org]On Behalf Of Brendin Emslie
Sent: Monday, July 10, 2000 6:16 PM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] Modem Hung indefinately
HylaFAX scheduler on ohaton.dreamland.ab.ca: Running
Modem ttyR0 (1.888.701.1310): Running and idle
Modem ttyR1 (1.888.701.1310): Running and idle
Modem ttyR2 (1.888.701.1310): Running and idle
Modem ttyR3 (1.888.701.1310): Sending job 1134 <-- stuck on this job since
9:51 am it is now 6:00pm .... the only way to reset is to reboot.
We fax out 1300+ faxes per day and every day at least one modem gets stuck
indefinately. Here is the log... the modem had the carrier detect light on
when I checked it at 6:20pm. I hope this wasn't connected for that long as
the long distance will be atrocious. Is there some kind of timeout I can
set to avoid this?????
Jul 10 09:50:32.49: [ 9141]: SESSION BEGIN 00044617 14023466145
Jul 10 09:50:32.49: [ 9141]: SEND FAX: JOB 1134 DEST 14023466145 COMMID
00044617
Jul 10 09:50:35.09: [ 9141]: <-- [4:ATZ\r]
Jul 10 09:50:35.22: [ 9141]: --> [3:ATZ]
Jul 10 09:50:35.22: [ 9141]: --> [2:OK]
Jul 10 09:50:35.22: [ 9141]: <-- [17:ATE0V1Q0X4S0=0H0\r]
Jul 10 09:50:35.36: [ 9141]: --> [16:ATE0V1Q0X4S0=0H0]
Jul 10 09:50:35.36: [ 9141]: --> [2:OK]
Jul 10 09:50:35.36: [ 9141]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
Jul 10 09:50:35.50: [ 9141]: --> [2:OK]
Jul 10 09:50:35.50: [ 9141]: <-- [12:AT+FCLASS=1\r]
Jul 10 09:50:35.63: [ 9141]: --> [2:OK]
Jul 10 09:50:35.63: [ 9141]: <-- [12:AT&H1&I0&R2\r]
Jul 10 09:50:35.77: [ 9141]: --> [2:OK]
Jul 10 09:50:35.77: [ 9141]: <-- [21:AT+FCLASS=0&H1&I0&R2\r]
Jul 10 09:50:35.91: [ 9141]: --> [2:OK]
Jul 10 09:50:35.91: [ 9141]: <-- [7:ATL3M1\r]
Jul 10 09:50:36.04: [ 9141]: --> [2:OK]
Jul 10 09:50:36.04: [ 9141]: <-- [12:AT+FCLASS=1\r]
Jul 10 09:50:36.28: [ 9141]: --> [2:OK]
Jul 10 09:50:36.28: [ 9141]: <-- [12:AT&H1&I0&R2\r]
Jul 10 09:50:36.52: [ 9141]: --> [2:OK]
Jul 10 09:50:36.52: [ 9141]: <-- [16:ATDT14023466145\r]
Jul 10 09:51:00.30: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:01.27: [ 9141]: --> [2:OK]
Jul 10 09:51:01.27: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:01.28: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:01.91: [ 9141]: --> [2:OK]
Jul 10 09:51:01.91: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:01.92: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:02.60: [ 9141]: --> [2:OK]
Jul 10 09:51:02.60: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:02.61: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:02.90: [ 9141]: --> [2:OK]
Jul 10 09:51:02.90: [ 9141]: <-- [9:AT+FTH=3\r]
Jul 10 09:51:03.09: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:03.09: [ 9141]: <-- data [23]
Jul 10 09:51:03.09: [ 9141]: <-- data [2]
Jul 10 09:51:03.11: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:03.11: [ 9141]: <-- data [6]
Jul 10 09:51:03.11: [ 9141]: <-- data [2]
Jul 10 09:51:05.07: [ 9141]: --> [2:OK]
Jul 10 09:51:05.15: [ 9141]: <-- [10:AT+FTM=96\r]
Jul 10 09:51:05.47: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:05.47: [ 9141]: <-- data [1024]
Jul 10 09:51:05.47: [ 9141]: <-- data [776]
Jul 10 09:51:05.47: [ 9141]: <-- data [2]
Jul 10 09:51:07.00: [ 9141]: --> [2:OK]
Jul 10 09:51:07.00: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:07.06: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:10.10: [ 9141]: <-- data [1]
Jul 10 09:51:10.30: [ 9141]: MODEM <Timeout>
Jul 10 09:51:11.80: [ 9141]: <-- [9:AT+FTH=3\r]
Jul 10 09:51:11.99: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:11.99: [ 9141]: <-- data [23]
Jul 10 09:51:11.99: [ 9141]: <-- data [2]
Jul 10 09:51:12.01: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:12.01: [ 9141]: <-- data [6]
Jul 10 09:51:12.01: [ 9141]: <-- data [2]
Jul 10 09:51:13.97: [ 9141]: --> [2:OK]
Jul 10 09:51:14.05: [ 9141]: <-- [10:AT+FTM=96\r]
Jul 10 09:51:14.37: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:14.37: [ 9141]: <-- data [1024]
Jul 10 09:51:14.37: [ 9141]: <-- data [776]
Jul 10 09:51:14.37: [ 9141]: <-- data [2]
Jul 10 09:51:15.90: [ 9141]: --> [2:OK]
Jul 10 09:51:15.90: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:19.00: [ 9141]: --> [0:]
Jul 10 09:51:19.00: [ 9141]: MODEM <Empty line>
Jul 10 09:51:19.00: [ 9141]: <-- data [1]
Jul 10 09:51:19.01: [ 9141]: --> [2:OK]
Jul 10 09:51:20.51: [ 9141]: <-- [9:AT+FTH=3\r]
Jul 10 09:51:20.54: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:20.54: [ 9141]: <-- data [23]
Jul 10 09:51:20.54: [ 9141]: <-- data [2]
Jul 10 09:51:20.56: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:20.56: [ 9141]: <-- data [6]
Jul 10 09:51:20.56: [ 9141]: <-- data [2]
Jul 10 09:51:22.52: [ 9141]: --> [2:OK]
Jul 10 09:51:22.60: [ 9141]: <-- [10:AT+FTM=72\r]
Jul 10 09:51:22.91: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:22.91: [ 9141]: <-- data [1024]
Jul 10 09:51:22.91: [ 9141]: <-- data [326]
Jul 10 09:51:22.91: [ 9141]: <-- data [2]
Jul 10 09:51:24.45: [ 9141]: --> [2:OK]
Jul 10 09:51:24.45: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:27.55: [ 9141]: --> [0:]
Jul 10 09:51:27.55: [ 9141]: MODEM <Empty line>
Jul 10 09:51:27.55: [ 9141]: <-- data [1]
Jul 10 09:51:27.56: [ 9141]: --> [2:OK]
Jul 10 09:51:29.06: [ 9141]: <-- [9:AT+FTH=3\r]
Jul 10 09:51:29.10: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:29.10: [ 9141]: <-- data [23]
Jul 10 09:51:29.10: [ 9141]: <-- data [2]
Jul 10 09:51:29.12: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:29.12: [ 9141]: <-- data [6]
Jul 10 09:51:29.12: [ 9141]: <-- data [2]
Jul 10 09:51:31.08: [ 9141]: --> [2:OK]
Jul 10 09:51:31.16: [ 9141]: <-- [10:AT+FTM=72\r]
Jul 10 09:51:31.48: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:31.48: [ 9141]: <-- data [1024]
Jul 10 09:51:31.48: [ 9141]: <-- data [326]
Jul 10 09:51:31.48: [ 9141]: <-- data [2]
Jul 10 09:51:33.02: [ 9141]: --> [2:OK]
Jul 10 09:51:33.02: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:36.12: [ 9141]: --> [0:]
Jul 10 09:51:36.12: [ 9141]: MODEM <Empty line>
Jul 10 09:51:36.12: [ 9141]: <-- data [1]
Jul 10 09:51:36.13: [ 9141]: --> [2:OK]
Jul 10 09:51:37.63: [ 9141]: <-- [9:AT+FTH=3\r]
Jul 10 09:51:37.67: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:37.67: [ 9141]: <-- data [23]
Jul 10 09:51:37.67: [ 9141]: <-- data [2]
Jul 10 09:51:37.69: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:37.69: [ 9141]: <-- data [6]
Jul 10 09:51:37.69: [ 9141]: <-- data [2]
Jul 10 09:51:39.65: [ 9141]: --> [2:OK]
Jul 10 09:51:39.73: [ 9141]: <-- [10:AT+FTM=48\r]
Jul 10 09:51:40.74: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:40.74: [ 9141]: <-- data [900]
Jul 10 09:51:40.74: [ 9141]: <-- data [2]
Jul 10 09:51:42.28: [ 9141]: --> [2:OK]
Jul 10 09:51:42.28: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:45.07: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:45.38: [ 9141]: <-- data [1]
Jul 10 09:51:45.58: [ 9141]: MODEM <Timeout>
Jul 10 09:51:47.08: [ 9141]: <-- [9:AT+FTH=3\r]
Jul 10 09:51:47.27: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:47.27: [ 9141]: <-- data [23]
Jul 10 09:51:47.27: [ 9141]: <-- data [2]
Jul 10 09:51:47.29: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:47.29: [ 9141]: <-- data [6]
Jul 10 09:51:47.29: [ 9141]: <-- data [2]
Jul 10 09:51:49.25: [ 9141]: --> [2:OK]
Jul 10 09:51:49.33: [ 9141]: <-- [10:AT+FTM=48\r]
Jul 10 09:51:50.34: [ 9141]: --> [7:CONNECT]
Jul 10 09:51:50.34: [ 9141]: <-- data [900]
Jul 10 09:51:50.34: [ 9141]: <-- data [2]
Jul 10 09:51:51.88: [ 9141]: --> [2:OK]
Jul 10 09:51:51.88: [ 9141]: <-- [9:AT+FRH=3\r]
Jul 10 09:51:54.98: [ 9141]: --> [7:CONNECT]
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null