in reply to Re: $PID/$$ capped at 32767?
in thread $PID/$$ capped at 32767?

So, I just realized that I can lower the 'kernel.max_pid' value to 32768, which would solve my problem. However, just for the sake of completeness, I would like to know if there is any configuration that I can change on Perl to increase the max PID value capacity.

Replies are listed 'Best First'.
Re^3: $PID/$$ capped at 32767?
by syphilis (Archbishop) on Oct 31, 2017 at 01:04 UTC
    I would like to know if there is any configuration that I can change on Perl to increase the max PID value capacity

    I don't have an answer to that question, but perhaps you'll get to see the larger values by calling POSIX::getpid instead of $$.
    (This would require, of course, that the POSIX module be loaded.)

    Or there might be some other module that would return the larger values.

    Cheers,
    Rob