getrlimit.2 (165903) | getrlimit.2 (181905) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93 |
29.\" $FreeBSD: head/lib/libc/sys/getrlimit.2 165903 2007-01-09 00:28:16Z imp $ | 29.\" $FreeBSD: head/lib/libc/sys/getrlimit.2 181905 2008-08-20 08:31:58Z ed $ |
30.\" | 30.\" |
31.Dd June 13, 2004 | 31.Dd August 20, 2008 |
32.Dt GETRLIMIT 2 33.Os 34.Sh NAME 35.Nm getrlimit , 36.Nm setrlimit 37.Nd control maximum system resource consumption 38.Sh LIBRARY 39.Lb libc --- 52 unchanged lines hidden (view full) --- 92.It Dv RLIMIT_SBSIZE 93The maximum size (in bytes) of socket buffer usage for this user. 94This limits the amount of network memory, and hence the amount of 95mbufs, that this user may hold at any time. 96.It Dv RLIMIT_STACK 97The maximum size (in bytes) of the stack segment for a process; 98this defines how far a program's stack segment may be extended. 99Stack extension is performed automatically by the system. | 32.Dt GETRLIMIT 2 33.Os 34.Sh NAME 35.Nm getrlimit , 36.Nm setrlimit 37.Nd control maximum system resource consumption 38.Sh LIBRARY 39.Lb libc --- 52 unchanged lines hidden (view full) --- 92.It Dv RLIMIT_SBSIZE 93The maximum size (in bytes) of socket buffer usage for this user. 94This limits the amount of network memory, and hence the amount of 95mbufs, that this user may hold at any time. 96.It Dv RLIMIT_STACK 97The maximum size (in bytes) of the stack segment for a process; 98this defines how far a program's stack segment may be extended. 99Stack extension is performed automatically by the system. |
100.It Dv RLIMIT_NPTS 101The maximum number of pseudo-terminals created by this user id. |
|
100.El 101.Pp 102A resource limit is specified as a soft limit and a hard limit. 103When a 104soft limit is exceeded a process may receive a signal (for example, if 105the cpu time or file size is exceeded), but it will be allowed to 106continue execution until it reaches the hard limit (or modifies 107its resource limit). --- 85 unchanged lines hidden --- | 102.El 103.Pp 104A resource limit is specified as a soft limit and a hard limit. 105When a 106soft limit is exceeded a process may receive a signal (for example, if 107the cpu time or file size is exceeded), but it will be allowed to 108continue execution until it reaches the hard limit (or modifies 109its resource limit). --- 85 unchanged lines hidden --- |