Maximum limit to number of Linux processes?

1149895 pts.
Tags:
Linux
Does anyone know the maximum limit to the number of processes in my Linux system? Is there a way I can find it? Thanks for the help.
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Elizine
    Your kernel should export this information in procfs:

    cat /proc/sys/kernel/pid_max
    This is the maximum number of unique process identifiers your system can support.

    Since this is a file, int fd = read("/proc/sys/kernel/pid_max");s perfectly valid, from C.


    1,145 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: