🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #26

Re: Limits on number of open file descriptors in ksh and others

#26
From: Dave Schaumann
Date: Fri, 30 Oct 1992 07:29
13 lines
1150 bytes
In article <1992Oct29.161118.12523@cas.org>, lwv26@cas (Larry W. Virden) writes:
[...]
>What benefits are there in limiting the number of file descriptors?  And
>what harm would be caused if the soft limit were just automatically set to
>the hard limit size?

I've always assumed that the ability to set limits was for two purposes:
to keep run-away processes from grabbing all of some particular resource,
and (most importantly, at least to me) to allow you to test a program's
exception handling code in a resource-scarce environment.

-- 
Dave Schaumann			dave@cs.arizona.edu
Technical Details
Message-ID: <1992Oct30.072955.14289@organpipe.uug.arizona.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!news
References: <1992Oct29.161118.12523@cas.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!news
From: dave@cs.arizona.edu (Dave Schaumann)
Newsgroups: comp.unix.shell
Subject: Re: Limits on number of open file descriptors in ksh and others
Message-ID: <1992Oct30.072955.14289@organpipe.uug.arizona.edu>
Date: 30 Oct 92 07:29:55 GMT
References: <1992Oct29.161118.12523@cas.org>
Sender: news@organpipe.uug.arizona.edu
Reply-To: dave@cs.arizona.edu (Dave Schaumann)
Organization: University of Arizona
Lines: 13
In-Reply-To: lwv26@cas.org (Larry W. Virden)