Subject: Re: sysctl & process limitations
To: Randy Arabie <rrarabie@arabie.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/02/2002 22:05:40
On Sat, 2 Feb 2002, Randy Arabie wrote:
> > might just be the per-process rlimit. What does "ulimit -n" print?
>
> Command not found.
>
> Couldn't find it with find, locate, or which either.
ulimit is a shell built-in command (bash, ksh, sh).
Search your shell's manual page for "limit", e.g.:
% limit openfiles
openfiles 64
% limit -h openfiles
openfiles 1772
% sysctl proc.$$.rlimit.descriptors
proc.18190.rlimit.descriptors.soft = 64
proc.18190.rlimit.descriptors.hard = 1772
Of course, this doesn't help with your original problem ...
Jeremy C. Reed
http://bsd.reedmedia.net/