Server IP : 66.29.132.122 / Your IP : 18.116.47.222 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Process/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the resource limit of the process. <em>cur_limit</em> means current (soft) limit and <em>max_limit</em> means maximum (hard) limit. - !ruby/struct:SM::Flow::P body: If <em>max_limit</em> is not given, <em>cur_limit</em> is used. - !ruby/struct:SM::Flow::P body: <em>resource</em> indicates the kind of resource to limit. The list of resources are OS dependent. Ruby may support following resources. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_CORE body: core size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_CPU body: CPU time (seconds) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_DATA body: data segment (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_FSIZE body: file size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_NOFILE body: file descriptors (number) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_STACK body: stack size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_AS body: total available memory (bytes) (SUSv3, NetBSD, FreeBSD, OpenBSD but 4.4BSD-Lite) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_MEMLOCK body: total size for mlock(2) (bytes) (4.4BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_NPROC body: number of processes for the user (number) (4.4BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_RSS body: resident memory size (bytes) (4.2BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_SBSIZE body: all socket buffers (bytes) (NetBSD, FreeBSD) type: :LABELED - !ruby/struct:SM::Flow::P body: Other <tt>Process::RLIMIT_???</tt> constants may be defined. - !ruby/struct:SM::Flow::P body: <em>cur_limit</em> and <em>max_limit</em> may be <tt>Process::RLIM_INFINITY</tt>, which means that the resource is not limited. They may be <tt>Process::RLIM_SAVED_MAX</tt> or <tt>Process::RLIM_SAVED_CUR</tt> too. See system setrlimit(2) manual for details. full_name: Process::setrlimit is_singleton: true name: setrlimit params: | Process.setrlimit(resource, cur_limit, max_limit) => nil Process.setrlimit(resource, cur_limit) => nil visibility: public