_This is a shorter version without changing the limit.maxproc values derived from the original gist.
Please take a look at https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c before doing anything from this gist
I removed any explenation from this and I also removed the changes to limit.maxproc