On Mon, Jan 04, 1999 at 09:27:24AM -0500, Vince Vielhaber wrote:
> On Mon, 4 Jan 1999, Vince Vielhaber wrote:
 Following up to my own, I don't know what I missed last time, but I just
> tried it again and it left files of 0 length as advertised:
> 
> -rw-r--r--  1 qmailq  qmail     0 Jan  4 09:15 ./mess/10/224720
> 
> But how many would it take for DoS?  Use up all the inodes?  Still no
> mail would be lost AFAICT.
> 

I think you did not do ^Z.

In any case, what is interesting is that qmail-queue exits with 143: I tried
this under X

in one xterm, I do

qmail-queue

(I do not stop it) in the other I kill this new qmail-queue process.  In the
first xterm I get

echo $?
143

Nevertheless, the 0 length file appears in the queue.  Here is a shellscript
to automate the whole thing

while true; do
    qmail-queue&
    killall qmail-queue
done

This should not stop till the inodes are all used up.



-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  

Reply via email to