|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: local delivery problems
From: Andii (andii2
gmail.com)
Date: Mon Jul 26 2004 - 12:09:22 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here are the last lines of a strace attached to one of the "local"
command (the whole output seems to be pretty big to post on the list):
brk(0x8082000) = 0x8082000
brk(0) = 0x8082000
brk(0x8083000) = 0x8083000
read(13, "| /usr/bin/procmail\n", 4096) = 20
lseek(12, 301, SEEK_SET) = 301
pipe([14, 15]) = 0
pipe([16, 17]) = 0
fcntl64(17, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl64(17, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(15, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl64(15, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fork() = 31087
close(14) = 0
close(17) = 0
time([1090861125]) = 1090861125
brk(0) = 0x8083000
brk(0x8084000) = 0x8084000
read(12, "N>Received: from aaaa.aaaaaa.aa "..., 4096) = 2237
select(16, NULL, [15], [15], {1000, 0}) = 1 (out [15], left {1000, 0})
write(15, "From aaaaa.aaaaaaaaaaaa
aaaaaa.a"..., 2322) = 2322
close(15) = 0
select(17, [16], NULL, [16], {1000, 0}
after a few minutes the process is still in this state, with no new
output of strace:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
postfix 31080 0.0 0.6 4060 1524 ? S 19:58 0:00 local -t unix -D
A lot of the "local" commands hangup at the same point.
Any ideeas?
On Mon, 26 Jul 2004 12:42:12 -0400 (EDT), Wietse Venema
<wietse
porcupine.org> wrote:
> Andii:
> > sorry, I'll include some more info:
> >
> > result of egrep '(warning|error|fatal|panic):' /var/log/mail:
> >
> > Jul 26 01:21:19 aaa postfix/qmgr[22744]: fatal: 950B4372652: timeout
> > receiving delivery status from transport: local
> > Jul 26 01:21:20 aaa postfix/local[22745]: fatal: watchdog timeout
> > Jul 26 01:21:20 aaa postfix/local[22746]: fatal: watchdog timeout
> > Jul 26 01:21:20 aaa postfix/master[4096]: warning: process
> > /usr/lib/postfix/qmgr pid 22744 exit status 1
> > Jul 26 01:21:21 aaa postfix/master[4096]: warning: process
> > /usr/lib/postfix/local pid 22745 exit status 1
> > Jul 26 01:21:21 aaa postfix/master[4096]: warning:
> > /usr/lib/postfix/local: bad command startup -- throttling
> > Jul 26 01:21:21 aaa postfix/master[4096]: warning: process
> > /usr/lib/postfix/local pid 22746 exit status 1
>
> This happens when the local(8) delivery agent needs more than
> $daemon_timeout seconds (18000 seconds) to deliver a message.
>
> The watchdog timer is a safety mechanism that prevents Postfix from
> becoming stuck forever.
>
> To find out what operation is taking so long, try to deliver some
> mail and then see if you can get a system call trace for the local(8)
> delivery agent with the procedure described in
>
> http://www.postfix.org/DEBUG_README.html#auto_trace
>
> Wietse
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]