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

RE: Messages stuck pre-processed



Thanks for the insight.  Is the big-todo patch part of netqmail-1.05? I'm
not sure how I would have ended up with folders for the patch if I didn't
have it, as I didn't move or recover the queue, but that's a good start.

While this is a bit of a rookie question, I want to be sure I do everything
correctly, so what exact steps would I take to apply the big-todo patch to
my current netqmail-1.05 setup?  It seems even when qmail isn't running,
it's accepting mail, which may be the issue here, so I need to be sure I get
things shut down enough to do the patch and not get any more email stuck. :)

Again, thanks for your help!

Peter Janett

-----Original Message-----
From: Jeremy Kitchen [mailto:kitchen@xxxxxxxxxxxxxxxxx] 
Sent: Tuesday, November 02, 2004 4:12 PM
To: qmail@xxxxxxxxxxxxx
Subject: Re: Messages stuck pre-processed


On Tuesday 02 November 2004 04:55 pm, Peter Janett wrote:
> Dave,
>
> Thank you SO much for responding.
>
> We didn't actually restore the queue after the crash, we did a fresh 
> install.  No other patches, just netqmail.
>
> A few days after the fresh install, qmail-send was not working.  We 
> tracked it down to a permission and qmail group id miss-match.  The 
> messages stuck preprocessed seem to get stuck when we turn off 
> qmail-send.  Qmail send is working, however, as new messages get 
> through fine, but those that are stuck remain where they are.  There 
> may be others stuck in the main queue, it's hard to say as there are 
> always plenty of messages in there, but the preprocessed number always 
> stops dropping at 1132, which is why I say they are "stuck".
>
> My log says:
> @4000000041880b6a081ac694 warning: unable to stat mess/0/0
[snip]
> ALL THE WAY UP TO
> @4000000041880c61100bfe7c warning: unable to stat mess/22/22

looks like a big-todo style todo directory without the big-todo patch 
installed.

What's the output of 'ls -l /var/qmail/queue/todo' ?

*cough* I should read further!

> Here's the output of queue/todo
> ls -ls /var/qmail/queue/todo/
> total 104
>   16 drwxr-x---    2 qmailq   qmail       16384 Nov  1 21:49 0
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 1
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 10
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 11
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 12
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 13
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 14
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 15
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 16
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 17
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 18
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 19
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 2
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 20
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 21
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 22
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 3
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 4
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 5
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 6
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 7
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 07:45 8
>    4 drwxr-x---    2 qmailq   qmail        4096 Nov  1 21:49 9

either install the big-todo patch (recommended but not absolutely necessary)

or shut off qmail-send and remove those directories.  If they have mail in 
them, it's probably best to install the big-todo patch and go on with it.  
The big-todo patch is nothing but helpful, and shouldn't cause any 
performance degradation.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
  jeremy@xxxxxxxxxx ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
        kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
           GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc