On Mon, Feb 21, 2000 at 12:27:13PM +0000, John P. Looney mentioned:
> For some reason, there are a load of messages built up in my qmail queue.
> I can run qmail-qstat, and "killall -ALRM qmail-send" to try and clear
> them, but I can't see the error messages from these attempts - they aren't
> showing up in the logs.
I've done an strace on the qmail-send program, when I send it a sigalrm.
It's showing:
open("local/4/112520", O_RDONLY|O_NONBLOCK) = 9
open("info/4/112520", O_RDONLY|O_NONBLOCK) = 10
fstat(10, {st_mode=S_IFREG|0600, st_size=21, ...}) = 0
read(10, "[EMAIL PROTECTED]\0", 128) = 21
close(10) = 0
read(9, "[EMAIL PROTECTED]\0", 128) = 21
write(0, "starting delivery ", 18) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "23", 2) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, ": msg ", 6) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "112520", 6) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, " to local ", 10) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "[EMAIL PROTECTED]", 19) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "\n", 1) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "status:", 7) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, " local ", 7) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "1", 1) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "/", 1) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "50", 2) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, " remote ", 8) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "0", 1) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "/", 1) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "150", 3) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(0, "\n", 1) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
So, it looks like the getpw program I hacked is having problems...what
could cause this ? What does qmail-lspawn write to fd 0 ? What's supposed
to be accepting this ?
Kate
PGP signature