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.