Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: $PID/$$ capped at 32767?

by reinaldo.gomes (Beadle)
on Oct 30, 2017 at 23:51 UTC ( #1202393=note: print w/replies, xml ) Need Help??


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 (Bishop) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-10-26 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (254 votes). Check out past polls.

    Notices?