分类: LINUX
2008-04-23 18:48:12
|
Field name | Description |
RLIMIT_AS | The maximum size of process address space, in bytes. The kernel checks this value when the process uses malloc( ) or a related function to enlarge its address space (see the section "The Process's Address Space" in Chapter 9). 进程空间的最大数目,用byte表示。内核在进程使用malloc()或者有关扩大其地址空间的函数时检查这个值。 |
RLIMIT_CORE | The maximum core dump file size, in bytes. The kernel checks this value when a process is aborted, before creating a core file in the current directory of the process (see the section "Actions Performed upon Delivering a Signal" in Chapter 11). If the limit is 0, the kernel won't create the file. 最大的core dump文件大小,用byte表示。当进程夭折,在进程当前目录产生一个core文件前,内核会检查这个值。如果这个限制是0,内核不会创建这个文件。 |
RLIMIT_CPU | The maximum CPU time for the process, in seconds. If the process exceeds the limit, the kernel sends it a SIGXCPU signal, and then, if the process doesn't terminate, a SIGKILL signal (see Chapter 11). 进程最大的CPU时间,用秒表示。如果进程超出了这个限制,内核就向它发生一个SIGXCPU信号,如果进程没有结束,接着在发送一个SIGKILL信号。 |
RLIMIT_DATA | The maximum heap size, in bytes. The kernel checks this value before expanding the heap of the process (see the section "Managing the Heap" in Chapter 9). 最大的堆大小,用byte表示。内核在扩大进程的堆大小前检查这个值。 |
RLIMIT_FSIZE | The maximum file size allowed, in bytes. If the process tries to enlarge a file to a size greater than this value, the kernel sends it a SIGXFSZ signal. 最大允许的文件大小,用byte表示。如果进程试图扩大一个文件到比这个值大的数目,内核会向它发生一个SIGXFSZ信号。 |
RLIMIT_LOCKS | Maximum number of file locks (currently, not enforced). 最大的文件锁数目(目前,不强制) |
RLIMIT_MEMLOCK | The maximum size of nonswappable memory, in bytes. The kernel checks this value when the process tries to lock a page frame in memory using the mlock( ) or mlockall( ) system calls (see the section "Allocating a Linear Address Interval" in Chapter 9). 最大的不可交换内存大小,用byte表示。当进程试图使用mlock()或mlockall()系统调用将一个页帧锁在内存中时,内核会检查这个值。 |
RLIMIT_MSGQUEUE | Maximum number of bytes in POSIX message queues (see the section "POSIX Message Queues" in Chapter 19). 最大的POSIX消息队列数目。 |
RLIMIT_NOFILE | The maximum number of open file descriptors. The kernel checks this value when opening a new file or duplicating a file descriptor (see Chapter 12). 最大的打开的文件描述符的数目。当打开一个新文件或复制一个文件描述符时,内核会检查这个值。 |
RLIMIT_NPROC | The maximum number of processes that the user can own (see the section "The clone( ), fork( ), and vfork( ) System Calls" later in this chapter). 用户可拥有的最大进程数目。 |
RLIMIT_RSS | The maximum number of page frames owned by the process (currently, not enforced). 进程可拥有的最大页帧数目(当前,不强制) |
RLIMIT_SIGPENDING | The maximum number of pending signals for the process (see Chapter 11).进程的最大未处理的信号数目。 |
RLIMIT_STACK | The maximum stack size, in bytes. The kernel checks this value before expanding the User Mode stack of the process (see the section "Page Fault Exception Handler" in Chapter 9).最大的栈大小,byte表示。 在扩大进程的用户空间栈时,内核检查这个值。 |