From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14642 invoked from network); 16 Feb 1999 05:00:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Feb 1999 05:00:19 -0000 Received: from mail-atm.nycap.rr.com (root@mail-atm.nycap.rr.com [24.92.32.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA01738 for ; Mon, 15 Feb 1999 23:47:28 -0500 Received: from toshiba-179-24.nycap.rr.com (toshiba-179-24.nycap.rr.com [204.210.179.24]) by mail-atm.nycap.rr.com (8.9.1/8.9.1) with ESMTP id XAA12765 for ; Mon, 15 Feb 1999 23:47:26 -0500 (EST) Date: Mon, 15 Feb 1999 23:47:38 -0500 (EST) From: Dan Morrill To: axp-list@redhat.com Subject: fork() and 2.2.1 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII *sigh* I ruined my uptime. (14 days 22 hours on 2.2.1. Oh well. :) I forkbombed my Alpha to see what would happen. By "forkbomb" I mean: #include #include int main( int argc, char** argv ) { int i = 0; while (fork()) printf( "Hi! %d\n", i++ ); return 0; } (Yes, I have too much free time.) No problemo; I just did a: while true; do ps aux | grep -v grep | grep morrildl | awk '{ print $2; }' | \ xargs kill -KILL; done ...as root and morrildl went bye-bye. Well, except for one last unkillable zombie process. I was under the impression that no process should be unkillable to SIGKILL. Since this SIG is intercepted by the OS and not the process, is this a bug in the kernel, or a "feature" I don't know about? Is this maybe an Alpha-specific thing? (I don't recall ever seeing this happen on Intel.) (I lost my uptime because I rebooted to get rid of this zombie process; even though it wasn't burning any cycles, looking at unkillable zombie processes in ps makes me nervous. :) Dan Morrill Computer Scientist, Physicist