From owner-freebsd-questions@FreeBSD.ORG Mon Mar 24 18:39:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A0301065678 for ; Mon, 24 Mar 2008 18:39:13 +0000 (UTC) (envelope-from mgarbowski@poczta.fm) Received: from smtp239.poczta.interia.pl (smtp239.poczta.interia.pl [217.74.64.239]) by mx1.freebsd.org (Postfix) with ESMTP id A99E18FC32 for ; Mon, 24 Mar 2008 18:39:12 +0000 (UTC) (envelope-from mgarbowski@poczta.fm) Received: by smtp239.poczta.interia.pl (INTERIA.PL, from userid 502) id 5ADC450938D; Mon, 24 Mar 2008 19:39:11 +0100 (CET) Received: from poczta.interia.pl (mi03.poczta.interia.pl [10.217.12.3]) by smtp239.poczta.interia.pl (INTERIA.PL) with ESMTP id EE34B50939E for ; Mon, 24 Mar 2008 19:39:10 +0100 (CET) Received: by poczta.interia.pl (INTERIA.PL, from userid 502) id DC413454C0; Mon, 24 Mar 2008 19:39:10 +0100 (CET) Received: from [192.168.1.5] (static-87-105-24-17.ssp.dialog.net.pl [87.105.24.17]) by www.poczta.fm (INTERIA.PL) with ESMTP id 725FB454B1 for ; Mon, 24 Mar 2008 19:39:10 +0100 (CET) Message-ID: <47E7F53B.7060607@poczta.fm> Date: Mon, 24 Mar 2008 19:38:51 +0100 From: Michal Garbowski User-Agent: Thunderbird 2.0.0.12 (X11/20080317) To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit X-EMID: 79c3d138 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Fork bomb immune to limits for user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 18:39:13 -0000 Hello, Did You start start program via screen -m -d -s ~/kaboom ? This is important here. And I want ask You, how you can stop screen -m -d -s ~/kaboom via ctrl+c ? It's impossible with that bomb. (number of PIDs is going to infinity, you can't find that one 'root pid', which will kill all children). Regards... Bill Moran wrote: Michal Garbowski [1] wrote: Hello, I've the question, to the bug report: [2]http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 . Is there any limit, (which I didn't wrote in PR), which can stop gives memory for user (not root) in fBSD ? Can't help you much here because I can't reproduce the problem. I compiled your program and ran it and I was still able to use the system just fine as it was scrolling numbers past. I was also able to CTRL-C the program from the terminal and it stopped without any problems. Nor did I see any unusual memory usage. ---------------------------------------------------------------------- Asy i Cieniasy pilkarskiej ekstraklasy kliknij >> [3]http://link.interia.pl/f1d27 References 1. mailto:mgarbowski@poczta.fm 2. http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 3. http://link.interia.pl/f1d27