Deprecated you should configure template with memory/cpu constraints, so docker infrastructure can manage resource consumption.

Maximal number of instances of this template to run, or empty for unlimited.

Note that also those containers (using the same image) are counted which have not been started by Jenkins.