Page tree
Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 62

(Home >> Security Center >> Shell Fork Bomb Protection)

Overview

Fork bombs start a cascade of small processes on a server that duplicate themselves until the server’s resources are depleted.

This feature helps you protect your server from users with terminal access (SSH or Telnet) who may inadvertently or intentionally cause a fork bomb.

How to configure shell fork bomb protection

To enable or disable shell fork bomb protection, click Enable Protection or Disable Protection.

After you enable shell fork bomb protection, the system imposes the following limits on users in order to protect the server:

LimitOptionDescription
200000-cLimits the maximum size of core files that users can create.
200000-dLimits the maximum size of a process's data segment.
200000-mLimits the maximum resident set size.
100-nLimits the maximum number of open-file descriptors.
8192-sLimits the maximum stack size.
35-u

Limits the maximum number of processes that are available to a single user.

Note:

This option limits cPanel users with bash shell access, which is the default shell for cPanel users, to 35 processes each.

Unlimited-vThe amount of virtual memory available for the processes.

Additional documentation