mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-11 05:44:45 -06:00
Move "container_pid_limit" info to its own section (#488)
This commit is contained in:
parent
7d31df56da
commit
fdf2d4819c
@ -59,6 +59,21 @@ To enable Cloudflare proxy, you must change the Wings port to one of the Cloudfl
|
||||
|
||||
You are unable to proxy the SFTP port through Cloudflare unless you have their enterprise plan.
|
||||
|
||||
## Container PID Limit
|
||||
|
||||
You can change the total number of processes that can be active in a container at any given moment by changing the `container_pid_limit` value. The default value is `512`.
|
||||
You can set it to `0` to disable the limit completely. However, this is _not_ recommended as the limit prevents malicious overloading of the node.
|
||||
Restart wings and your game server to apply the new limit.
|
||||
|
||||
### Example of usage
|
||||
|
||||
```yml
|
||||
docker:
|
||||
...
|
||||
container_pid_limit: 512
|
||||
...
|
||||
```
|
||||
|
||||
## Throttles Limits
|
||||
|
||||
You can use these settings to adjust or completely disable throttling.
|
||||
@ -73,7 +88,6 @@ You can use these settings to adjust or completely disable throttling.
|
||||
| stop_grace_period | 15 | Time that a server is allowed to be stopping for before it is terminated forcefully if it triggers output throttle |
|
||||
| write_limit | 0 | Impose I/O write limit for backups to the disk, 0 = unlimited. Value greater than 0 throttles write speed to the set value in MiB/s |
|
||||
| download_limit | 0 | Impose a Network I/O read limit for archives, 0 = unlimited. Value greater than 0 throttles read speed to the set value in MiB/s |
|
||||
| container_pid_limit | 256 | The total number of processes that can be active in a container at any given moment to prevent malicious overloading of the node |
|
||||
|
||||
### Example of usage
|
||||
|
||||
@ -88,10 +102,11 @@ throttles:
|
||||
```
|
||||
|
||||
## Installer Limits
|
||||
|
||||
Defines the limits on the installer containers that prevents a server's installation process from unintentionally consuming more resources than expected. This is used in conjunction with the server's defined limits. Whichever value is higher will take precedence in the install containers.
|
||||
|
||||
| Setting Key | Default Value | Notes |
|
||||
| :-------------------- | :-----------: | ----------------------------------------------------------------------------------------------------------- |
|
||||
| :---------- | :-----------: | ----------------------------------------------------------------------------------------------------------- |
|
||||
| memory | 1024 | The maximum amount of memory install container can use unless server memory limit is higher than this value |
|
||||
| cpu | 100 | The maximum amount of cpu install container can use unless server cpu limit is higher than this value |
|
||||
|
||||
@ -108,7 +123,7 @@ installer_limits:
|
||||
More commonly discussed values. View all Wings config values and explanations in [these two files.](https://github.com/pterodactyl/wings/tree/develop/config)
|
||||
|
||||
| Setting Key | Default Value | Notes |
|
||||
| -------------------------- | :-----------: | ----------------------------------------------------------------------------------------------- |
|
||||
| -------------------------- | :-----------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| debug | false | Force Wings to run in debug mode |
|
||||
| tmpfs_size | 100 | The size of the /tmp directory in MB when mounted into a container |
|
||||
| websocket_log_count | 150 | The number of lines to display in the console |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user