Editing
Resource Limits
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== List of Resource Limits == Below is a list of resource limits used for contexts and processes within. The tables contain the following information: ; ID : Resource limit ID ; Name : Human readable identifier used in userspace utilities ; procfs : Name used in /proc/virtual/*/limit ; ulimit : command line switch for the ulimit utility ; Unit : Aprropriate unit for the limit ; Tag : Special resource limit code to denote if resources are accounted, enforced (see below) ; Description : Description of capability/flag effects === Special Resource Limit Codes === The tag column may contain one or more of the following tags: {| class="wikitable_inline" ! Tag ! Description |- | A | Limit will be accounted |- | E | Limit will be enforced |} === Linux Resource Limits === Below is a list of resource limits available in vanilla Linux (>=2.6.18). {| class="wikitable_list" ! ID ! Name ! procfs ! ulimit ! Tag ! Unit ! Description |- | 0 | CPU | -- | -t | | ms | CPU time in ms |- | 1 | FSIZE | -- | -f | | KiB | Maximum file size |- | 2 | DATA | -- | -d | | KiB | Maximum size of the data segment |- | 3 | STACK | -- | -s | | KiB | Maximum stack size |- | 4 | CORE | -- | -c | | KiB | Maximum core file size |- | 5 | RSS | RSS | -m | AE | page | Maximum resident set size |- | 6 | NPROC | PROC | -u | AE | 1 | Maximum number of processes |- | 7 | NOFILE | FILES | -n | AE | 1 | Maximum number of open files |- | 8 | MEMLOCK | VML | -l | AE | page | Maximum locked-in-memory address space |- | 9 | AS | VM | -v | AE | page | Maximum address space size |- | 10 | LOCKS | LOCKS | -x | AE | 1 | Maximum file locks held |- | 11 | SIGPENDING | -- | -i | | 1 | Maximum number of pending signals |- | 12 | MSGQUEUE | MSGQ | -q | AE | Byte | Maximum bytes in POSIX mqueues |- | 13 | NICE | -- | | | 1 | Maximum nice prio allowed to raise to |- | 14 | RTPRIO | -- | -r | | 1 | Maximum realtime priority |} === Linux-VServer Resource Limits === Below is a list of additional resource limits available in the Linux-VServer kernel. {| class="wikitable_list" ! ID ! Name ! procfs ! Tag ! Unit ! Description |- | 16 | NSOCK | SOCK | AE | 1 | Maximum number of open sockets |- | 17 | OPENFD | OFD | AE | 1 | Maximum number of open file descriptors |- | 18 | ANON | ANON | A | page | Maximum anonymous memory size |- | 19 | SHMEM | SHM | AE | page | Maximum shared memory size |- | 20 | SEMARY | SEMA | A | 1 | Maximum number of semaphore arrays |- | 21 | NSEMS | SEMS | A | 1 | Maximum number of semaphores |- | 22 | DENTRY | DENT | AE | 1 | Maximum number of dentry structs |}
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information