Szerző: John C. Ring, Jr. Dátum: Címzett: exim-users Tárgy: Re: Connection being lost to remote SMTP server?
At 09:32 AM 4/8/97 +0100, Philip Hazel wrote: >On Mon, 7 Apr 1997, John C. Ring, Jr. wrote:
>
>> Occasionally, I'm seeing messages sit on the queue for very long periods of
>> time.
>>
>> I find that whenever I use exiwhat, the messages are then delivered.
>
>Exiwhat sends a signal to each Exim process. Therefore, the stuck
>processes must be in some state of waiting for something, and the signal
>frees it up. Which operating system are you using?
I have Exim running on a Solaris 2.4 SPARCstation.
>One thing you could do is to run a delivery that sticks using the -d9 option.
>This should give some idea of how far it gets before sticking.
Hm, I can't seem to think of a way to do this, besides running the entire queue
with that level of logging enabled, as this only happens sporadically. This
will take up huge amounts of logging, but I can give it a shot sometime this week,
I hope, when I have time to watch its disk space. I did try to do it specifically
on a "stuck" job, but since the previous delivery attempt still had to spool file
locked, I had to kill -9 (rudely) the job, then rerun it with -d9, but of course it
went fine, then...
The output from that was:
# exim -d9 -M 0wEb9m-0007HI-00
Debug level set to 9
set_process_info: 28186 1.61 delivering specified messages
delivering message 0wEb9m-0007HI-00
set_process_info: 28186 1.61 delivering 0wEb9m-0007HI-00
Opened spool file 0wEb9m-0007HI-00-H
user=root uid=0 gid=0 sender=ricketf@???
sender_local=0 resent=no
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
Previously delivered address Michael=Malvestuto%PDE%PIT@??? taken
from journal file
Writing spool header file
Delivery address list:
mgmalvestuto@???
opened DB file /var/spool/exim/db/retry: flags=0 fd = 5
locked
unique=mgmalvestuto@???
mgmalvestuto@???: queued for directing
directing mgmalvestuto@???
calling system_aliases director
system_aliases director: file = /etc/aliases search type = 49
file=/etc/aliases query=mgmalvestuto
search_open (1) /etc/aliases
file lookup required for mgmalvestuto in /etc/aliases
parse_extract_addresses: Michael=Malvestuto%PDE%PIT@???
extracted: Michael=Malvestuto%PDE%PIT@???
system_aliases director generated Michael=Malvestuto%PDE%PIT@???
uid=unset gid=unset home=null
system_aliases director succeeded for mgmalvestuto
transport: <none>
opened DB file /var/spool/exim/db/retry: flags=0 fd = 7
locked
unique=Michael=Malvestuto%PDE%PIT@???
Michael=Malvestuto%PDE%PIT@??? was previously delivered: discarded
After directing:
Local addresses:
Remote addresses:
Failed addresses:
Addresses to be routed:
Deferred addresses:
search_tidyup called >>> Local deliveries >>> search_tidyup called >>> Remote deliveries >>> tidying up after delivering 0wEb9m-0007HI-00
set_process_info: 28186 1.61 tidying up after delivering 0wEb9m-0007HI-00
Processing retry items
Succeeded addresses:
mgmalvestuto@???: no retry items
Failed addresses:
Deferred addresses:
end of retry processing
LOG: 0 MAIN
Completed
end delivery of 0wEb9m-0007HI-00
-------------------------
John C. Ring, Jr.
jcring@???
Network Specialist
Union Switch & Signal Inc.