<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/posix.constants.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'posix.constants.setrlimit.php',
    1 => 'Constantes posix_setrlimit',
    2 => 'Constantes posix_setrlimit',
  ),
  'up' => 
  array (
    0 => 'posix.constants.php',
    1 => 'Constantes pr&eacute;-d&eacute;finies',
  ),
  'prev' => 
  array (
    0 => 'posix.constants.mknod.php',
    1 => 'Constantes posix_mknod',
  ),
  'next' => 
  array (
    0 => 'posix.constants.pathconf.php',
    1 => 'Constantes de posix_pathconf',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/posix/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="posix.constants.setrlimit" class="section">
  <h2 class="title">Constantes <span class="function"><a href="function.posix-setrlimit.php" class="function">posix_setrlimit()</a></span></h2>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    À noter que quelques unes d&#039;entre elles peuvent ne pas être disponibles sur le système.
   </p>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    Il est recommandé de lire les notes ci-dessous en plus du manuel utilisateur sur la
    fonction <span class="function"><strong>setrlimit()</strong></span> du système spécifique, sachant
    qu&#039;il peut y avoir une variation dans l&#039;interprétation de ces limites, y
    compris entre plusieurs systèmes qui revendiquent appliquer POSIX dans
    sa globalité.
   </p>
  </p></blockquote>
  <dl>
   
    <dt id="constant.posix-rlimit-as">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-as">POSIX_RLIMIT_AS</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La taille maximale de l&#039;espace d&#039;adresse du processus, en octets. Voir aussi la
      directive de configuration PHP <a href="ini.core.php#ini.memory-limit" class="link">memory_limit</a>.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-core">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-core">POSIX_RLIMIT_CORE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La taille maximale d&#039;un fichier cœur. Si la limite est définie à 0, aucun
      fichier cœur ne sera généré.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-cpu">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-cpu">POSIX_RLIMIT_CPU</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La quantité maximale de temps CPU que le processus peut utiliser,
      en secondes. Lorsque la limite soft est atteinte, un signal
      <strong><code><a href="pcntl.constants.php#constant.sigxcpu">SIGXCPU</a></code></strong> sera émis, qui peut être intercepté avec
      la fonction <span class="function"><a href="function.pcntl-signal.php" class="function">pcntl_signal()</a></span>. Suivant les systèmes,
      des signaux <strong><code><a href="pcntl.constants.php#constant.sigxcpu">SIGXCPU</a></code></strong> peuvent aussi être émis chaque
      seconde tant que la limite hard est atteinte, auquel cas, un signal
      <strong><code><a href="pcntl.constants.php#constant.sigkill">SIGKILL</a></code></strong> non interceptable sera émis.
     </span>
     <span class="simpara">
      Voir aussi la fonction <span class="function"><a href="function.set-time-limit.php" class="function">set_time_limit()</a></span>.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-data">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-data">POSIX_RLIMIT_DATA</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La taille maximale d&#039;un segment de données du processus, en octets.
      Il est peu probable que cela ait un quelconque effet sur l&#039;exécution
      de PHP tant qu&#039;une extension est en cours d&#039;utilisation et appelle
      la fonction <span class="function"><strong>brk()</strong></span> ou <span class="function"><strong>sbrk()</strong></span>.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-fsize">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-fsize">POSIX_RLIMIT_FSIZE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La taille maximale des fichiers que le processus peut créer, en octets.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-locks">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-locks">POSIX_RLIMIT_LOCKS</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximal de verrous que le processus peut créer. Ceci n&#039;est supporté
      que sur de très vieux noyaux Linux.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-memlock">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-memlock">POSIX_RLIMIT_MEMLOCK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximal d&#039;octets qui peuvent être verrouillés en mémoire.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-msgqueue">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-msgqueue">POSIX_RLIMIT_MSGQUEUE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximal d&#039;octets qui peuvent être alloués pour la file
      d&#039;attente des messages POSIX. PHP n&#039;est pas fourni avec le support
      de la file d&#039;attente des messages POSIX, aussi, cette limite
      n&#039;aura aucun effet tant que l&#039;on n&#039;utilise pas une extension qui
      implémente ce support.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-nice">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-nice">POSIX_RLIMIT_NICE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La valeur maximale à laquelle le processus peut être
      <a href="function.pcntl-setpriority.php" class="link">changé de priorité</a>.
      La valeur utilisée sera <code class="literal">20 - limit</code>, sachant que
      les valeurs limites de la ressource ne peuvent pas être négatives.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-nofile">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-nofile">POSIX_RLIMIT_NOFILE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Une valeur supérieure au nombre maximal de descripteurs de fichier
      qui peut être ouvert par ce processus.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-nproc">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-nproc">POSIX_RLIMIT_NPROC</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximal de processus (et/ou de threads, suivant le système)
      qui peuvent être créés pour l&#039;ID utilisateur réel du processus.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-rss">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-rss">POSIX_RLIMIT_RSS</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La taille maximale du jeu résident du processus, en pages.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-rtprio">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-rtprio">POSIX_RLIMIT_RTPRIO</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La priorité maximale temps réel qui peut être défini via les
      appels systèmes
      <span class="function"><strong>sched_setscheduler()</strong></span> et
      <span class="function"><strong>sched_setparam()</strong></span>.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-rttime">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-rttime">POSIX_RLIMIT_RTTIME</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La quantité maximale de temps CPU, en microsecondes, que le processus
      peut consommer sans faire un appel système bloquant s&#039;il utilise
      l&#039;horloge de temps réel.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-sigpending">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-sigpending">POSIX_RLIMIT_SIGPENDING</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximal de signaux qui peuvent être mis en file d&#039;attente
      pour l&#039;ID utilisateur réel du processus.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-stack">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-stack">POSIX_RLIMIT_STACK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      La taille maximale de la pile du processus, en octets.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-infinity">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-infinity">POSIX_RLIMIT_INFINITY</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Utilisé pour indiquer une valeur infinie pour une limite de ressource.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-kqueues">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-kqueues">POSIX_RLIMIT_KQUEUES</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximum de kqueues que cet id utilisateur est autorisé à créer (FreeBSD).
      Disponible à partir de PHP 8.1.0.
     </span>
    </dd>
   
   
    <dt id="constant.posix-rlimit-npts">
     <strong><code><a href="posix.constants.setrlimit.php#constant.posix-rlimit-npts">POSIX_RLIMIT_NPTS</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Le nombre maximum de pseudo-terminaux que cet id utilisateur est autorisé à créer (FreeBSD).
      Disponible à partir de PHP 8.1.0.
     </span>
    </dd>
   
  </dl>
 </div><?php manual_footer($setup); ?>