Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby / usr / share / ri / 2.2.0 / system / Process / setrlimit-c.ri
Size: Mime:
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::BlankLineo;
;	[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 <code>Process::RLIMIT_CORE</code>. ;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"*<code>Process::RLIM_INFINITY</code>, ;TI"3which means that the resource is not limited. ;TI"7They may be <code>Process::RLIM_SAVED_MAX</code>, ;TI".<code>Process::RLIM_SAVED_CUR</code> 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"(p1, p2, p3 = v3);T@šFI"Process;TcRDoc::NormalModule00