Linux Process Management Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
The current value can be read and set with [[Ulimit#Options|ulimit -u]]. | The current value can be read and set with [[Ulimit#Options|ulimit -u]]. | ||
For Java applications, this setting limits the number of threads a JVM can create, and it can cause the JVM to throw <tt>OutOfMemoryError</tt> exceptions when that limit is reached. For more details see {{Internal|Java_Threads#Java_Threads_and_Linux_Processes|Java Threads and Linux Processes}} |
Revision as of 21:16, 21 April 2017
Internal
Process
Maximum Number of Processes Allowed on the System
cat /proc/sys/kernel/pid_max
or
sysctl kernel.pid_max
For more details, see sysctl.
Maximum Number of Processes Available to a Single User
The current value can be read and set with ulimit -u.
For Java applications, this setting limits the number of threads a JVM can create, and it can cause the JVM to throw OutOfMemoryError exceptions when that limit is reached. For more details see