summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-08 13:35:55 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-08 13:35:55 (GMT)
commit5bb414d176b5c99d9f2500738fe77c47ea938763 (patch)
tree84b7bfa89c46eb75e08ddb25ba174ac2b769271e /Doc
parentead8d0858b326ec8d902dc597aa3da23e4c5a82b (diff)
downloadcpython-5bb414d176b5c99d9f2500738fe77c47ea938763.zip
cpython-5bb414d176b5c99d9f2500738fe77c47ea938763.tar.gz
cpython-5bb414d176b5c99d9f2500738fe77c47ea938763.tar.bz2
Issue #19343: Expose FreeBSD-specific APIs in resource module. Original patch by Koobs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/resource.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst
index 9bb5848..f8112cc 100644
--- a/Doc/library/resource.rst
+++ b/Doc/library/resource.rst
@@ -217,6 +217,34 @@ platform.
.. versionadded:: 3.4
+.. data:: RLIMIT_SBSIZE
+
+ The maximum size (in bytes) of socket buffer usage for this user.
+ This limits the amount of network memory, and hence the amount of mbufs,
+ that this user may hold at any time.
+
+ Availability: FreeBSD 9 or later.
+
+ .. versionadded:: 3.4
+
+.. data:: RLIMIT_SWAP
+
+ The maximum size (in bytes) of the swap space that may be reserved or
+ used by all of this user id's processes.
+ This limit is enforced only if bit 1 of the vm.overcommit sysctl is set.
+ Please see :manpage:`tuning(7)` for a complete description of this sysctl.
+
+ Availability: FreeBSD 9 or later.
+
+ .. versionadded:: 3.4
+
+.. data:: RLIMIT_NPTS
+
+ The maximum number of pseudo-terminals created by this user id.
+
+ Availability: FreeBSD 9 or later.
+
+ .. versionadded:: 3.4
Resource Usage
--------------