From smyl@lyms.penguinpowered.com  Sun Feb 11 08:13:45 2001
Return-Path: <smyl@lyms.penguinpowered.com>
Received: from lyms.penguinpowered.com (cm-24-161-57-148.nycap.rr.com [24.161.57.148])
	by hub.freebsd.org (Postfix) with ESMTP id D1A6437B69D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Feb 2001 08:13:44 -0800 (PST)
Received: (from smyl@localhost)
	by lyms.penguinpowered.com (8.11.1/8.9.3) id f1BGDTH97648;
	Sun, 11 Feb 2001 11:13:29 -0500 (EST)
	(envelope-from smyl)
Message-Id: <200102111613.f1BGDTH97648@lyms.penguinpowered.com>
Date: Sun, 11 Feb 2001 11:13:29 -0500 (EST)
From: Bobb Voigt <smyl@lyms.penguinpowered.com>
Reply-To: smyl@rocketry.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: it is easy for a user to lock the entire system up with a shell script
X-Send-Pr-Version: 3.2

>Number:         25004
>Category:       misc
>Synopsis:       it is easy for a user to lock the entire system up with a shell script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 08:20:00 PST 2001
>Closed-Date:    Fri Mar 23 21:54:35 PST 2001
>Last-Modified:  Fri Mar 23 21:54:54 PST 2001
>Originator:     Bobb Voigt
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

	

>Description:

system runs out of resourses, and locks up when a normal user runs a 
script that calls itself...
i have both searched the web, and read almost the entire online freebsd 
handbook looking for a solution to this problem, and have yet to find an 
answer to it...
it could just be me, but i have had a few users who do this 
"accidently"...
 >How-To-Repeat: 

create a script that calls itself multiple times in a loop

>How-To-Repeat:
>Fix:

	


>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@orbitel.bg>
To: smyl@rocketry.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/25004: it is easy for a user to lock the entire system up with a shell script
Date: Sun, 11 Feb 2001 18:27:37 +0200

 On Sun, Feb 11, 2001 at 11:13:29AM -0500, Bobb Voigt wrote:
 > 
 > >Number:         25004
 > >Category:       misc
 > >Synopsis:       it is easy for a user to lock the entire system up with a shell script
 > >Originator:     Bobb Voigt
 > 
 > system runs out of resourses, and locks up when a normal user runs a 
 > script that calls itself...
 > i have both searched the web, and read almost the entire online freebsd 
 > handbook looking for a solution to this problem, and have yet to find an 
 > answer to it...
 > it could just be me, but i have had a few users who do this 
 > "accidently"...
 >  >How-To-Repeat: 
 > 
 > create a script that calls itself multiple times in a loop
 
 Have you set maxproc limits in /etc/login.conf?
 
 G'luck,
 Peter
 
 -- 
 This sentence would be seven words long if it were six words shorter.
 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Mar 23 21:54:35 PST 2001 
State-Changed-Why:  
Can be trivially fixed using login.conf resource limits 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25004 
>Unformatted:
