On Sat, 8 Apr 2000, Marilyn Davis wrote:
> Before I bring in the new exim executable, I want to remove the
> messages in my queue with stale locks. But when I give the exim -Mrm
> command on them, I just get the message that they are locked.
>
> I knew that! :^)
>
> Can you tell me how to get rid of them? I want to be sure those old
> messages don't go out to my lists again.
You must first get rid of the processes that have got the files locked
and are stuck. But the minute you do so, a new queue runner process
might pick them up. So what I suggest is:
1. You kill off your Exim daemon, so no new queue runners can be started.
2. You kill off the relevant Exim processes (probably, in your case,
this is *all* remaining Exim processes.)
3. Then you should be able to -Mrm the messages, and after that, restart
the Exim daemon.
> I don't see this in the FAQ or the documentation. Searching the
> archives of this list takes too much patience for me because I don't
> see a search facility for it. Please tell me if I'm missing something
> there.
Someone pointed me at
http://seattle.gii.net/exim/search/ recently. It
gives an odd error, but seems to work. However, I don't think you'll
find anything. I don't recall this kind of problem being raised before.
> I'm wondering why the default value of "lockfile_timeout" doesn't
> kick in. The locks are almost a month old!
No, it's nothing to do with lockfile_timeout, which is concerned with
locking mailboxes for delivery. This is a message lock, which will
remain until the process that is handling the message goes away.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.