Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 2.6 pfiles ((current rlimit: ...)

1 view
Skip to first unread message

Jesse Waters

unread,
Jul 3, 2002, 2:16:53 PM7/3/02
to
in pfiles output the second line reads
"Current rlimit: 1024 file descriptors"

What does rlimit mean? Can't find man page on it.
Soft limit 64, Hard limit 1024


Chris Thompson

unread,
Jul 3, 2002, 3:29:25 PM7/3/02
to
In article <afvfdo$5us$1...@f1n1.spenet.wfu.edu>,

Jesse Waters <jcwa...@wfubmc.edu> wrote:
>in pfiles output the second line reads
>"Current rlimit: 1024 file descriptors"
>
>What does rlimit mean? Can't find man page on it.

$ man -k rlimit
getrlimit getrlimit (2) - control maximum system resource consumption
setrlimit getrlimit (2) - control maximum system resource consumption

Chris Thompson
Email: cet1 [at] cam.ac.uk

Tony Walton - Sun Enterprise Services UK

unread,
Jul 4, 2002, 4:50:56 AM7/4/02
to
Jesse Waters wrote:
>
> in pfiles output the second line reads
> "Current rlimit: 1024 file descriptors"
>
> What does rlimit mean?

Resource limit.

> Can't find man page on it.

$ man -k rlimit


getrlimit getrlimit (2) - control maximum system resource
consumption
setrlimit getrlimit (2) - control maximum system resource
consumption

[gs]etrlimit are the system calls which the ulimit command actually uses
to manipulate the things that ulimit manipulates.

> Soft limit 64, Hard limit 1024

The rlimit reported by pfiles is the current, ie the soft, limit. It
seems the pfiles output you're quoting at the top doesn't refer to the
same process as the soft and hard limits you quote later.

$ pfiles $$|grep rlimit
Current rlimit: 256 file descriptors

$ ulimit -n;ulimit -Hn
256
65536


--
Tony Walton

Do not put all your trust in root vegetables

0 new messages