# How to set up stack-size to unlimited in PBS pro

**URL:** <https://community.openpbs.org/t/how-to-set-up-stack-size-to-unlimited-in-pbs-pro/235>\
**Category:** Users/Site Administrators\
**Created:** [August 24, 2016, 2:29pm UTC](https://community.openpbs.org/t/how-to-set-up-stack-size-to-unlimited-in-pbs-pro/235 "2016-08-24T14:29:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jon](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/jon/32/23_2.png) [@jon](https://community.openpbs.org/u/jon)\
**Post date:** [August 24, 2016, 2:45pm UTC](https://community.openpbs.org/t/how-to-set-up-stack-size-to-unlimited-in-pbs-pro/235/2 "2016-08-24T14:45:42Z")

</div>

I believe that you can do what you are looking for by changing the file PBS\_EXEC/lib/init.d/limits.pbs\_mom on each mom

I typically just remove the if (line 4) and the fi (last line) lines. Then I set the desired ulimit parameters and values and then restart the mom.

Jon

---

_[View the full topic](https://community.openpbs.org/t/how-to-set-up-stack-size-to-unlimited-in-pbs-pro/235)._
