⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Process
/
View File Name :
setrlimit-c.ri
U:RDoc::AnyMethod[iI"setrlimit:ETI"Process::setrlimit;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"-Sets the resource limit of the process. ;TI"0_cur_limit_ means current (soft) limit and ;TI",_max_limit_ means maximum (hard) limit.;To:RDoc::Markup::BlankLine o; ; [I"6If _max_limit_ is not given, _cur_limit_ is used.;T@o; ; [I"9_resource_ indicates the kind of resource to limit. ;TI"7It should be a symbol such as <code>:CORE</code>, ;TI"-a string such as <code>"CORE"</code> or ;TI".a constant such as Process::RLIMIT_CORE. ;TI"/The available resources are OS dependent. ;TI"*Ruby may support following resources.;T@o:RDoc::Markup::List: @type: LABEL:@items[o:RDoc::Markup::ListItem:@label[I"AS;T; [o; ; [I"Utotal available memory (bytes) (SUSv3, NetBSD, FreeBSD, OpenBSD but 4.4BSD-Lite);To;;[I" CORE;T; [o; ; [I"core size (bytes) (SUSv3);To;;[I"CPU;T; [o; ; [I"CPU time (seconds) (SUSv3);To;;[I" DATA;T; [o; ; [I"!data segment (bytes) (SUSv3);To;;[I" FSIZE;T; [o; ; [I"file size (bytes) (SUSv3);To;;[I"MEMLOCK;T; [o; ; [I"8total size for mlock(2) (bytes) (4.4BSD, GNU/Linux);To;;[I" MSGQUEUE;T; [o; ; [I"<allocation for POSIX message queues (bytes) (GNU/Linux);To;;[I" NICE;T; [o; ; [I"<ceiling on process's nice(2) value (number) (GNU/Linux);To;;[I"NOFILE;T; [o; ; [I"&file descriptors (number) (SUSv3);To;;[I" NPROC;T; [o; ; [I"Bnumber of processes for the user (number) (4.4BSD, GNU/Linux);To;;[I"RSS;T; [o; ; [I"5resident memory size (bytes) (4.2BSD, GNU/Linux);To;;[I"RTPRIO;T; [o; ; [I"Eceiling on the process's real-time priority (number) (GNU/Linux);To;;[I"RTTIME;T; [o; ; [I"4CPU time for real-time process (us) (GNU/Linux);To;;[I"SBSIZE;T; [o; ; [I"1all socket buffers (bytes) (NetBSD, FreeBSD);To;;[I"SIGPENDING;T; [o; ; [I";number of queued signals allowed (signals) (GNU/Linux);To;;[I" STACK;T; [o; ; [I"stack size (bytes) (SUSv3);T@o; ; [ I"(_cur_limit_ and _max_limit_ may be ;TI"8<code>:INFINITY</code>, <code>"INFINITY"</code> or ;TI"Process::RLIM_INFINITY, ;TI"3which means that the resource is not limited. ;TI"*They may be Process::RLIM_SAVED_MAX, ;TI"!Process::RLIM_SAVED_CUR and ;TI",corresponding symbols and strings too. ;TI"0See system setrlimit(2) manual for details.;T@o; ; [I"AThe following example raises the soft limit of core size to ;TI"6the hard limit to try to make core dump possible.;T@o:RDoc::Markup::Verbatim; [I":Process.setrlimit(:CORE, Process.getrlimit(:CORE)[1]);T:@format0: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"�Process.setrlimit(resource, cur_limit, max_limit) -> nil Process.setrlimit(resource, cur_limit) -> nil ;T0[ I"(*args);T@�FI"Process;TcRDoc::NormalModule00