Configure the PIDs Limit

Follow these instructions to configure the PIDs limit by adding a server configuration.
Configure the PIDs limit by setting the
python.pass.extra.keys
advanced parameter.
  1. Select
    Settings
    About
    Troubleshooting
    Add Server Configuration
    .
  2. Type the following:
    Key
    Value
    python.pass.extra.keys
    --pids-limit=256
  3. Reset the running containers by running the following command:
    /reset_containers
  4. (
    Optional
    ) To test the PIDs limit, run the following command in the playground:
    !py script="from multiprocessing import Pool; p=Pool(256); print('pool started')"
    When the limit is in place, the command fails with a Python OSError. For example:

Recommended For You