# Stack size of 12288 \[kb\] is lower than recommended minimum of 2097152 \[kb\]

**URL:** <https://community.openpbs.org/t/stack-size-of-12288-kb-is-lower-than-recommended-minimum-of-2097152-kb/3399>\
**Category:** Users/Site Administrators\
**Created:** [December 28, 2022, 9:29am UTC](https://community.openpbs.org/t/stack-size-of-12288-kb-is-lower-than-recommended-minimum-of-2097152-kb/3399 "2022-12-28T09:29:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![buzhiqiuyuebai](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/buzhiqiuyuebai/32/620_2.png) [@buzhiqiuyuebai](https://community.openpbs.org/u/buzhiqiuyuebai)\
**Post date:** [December 28, 2022, 9:29am UTC](https://community.openpbs.org/t/stack-size-of-12288-kb-is-lower-than-recommended-minimum-of-2097152-kb/3399/1 "2022-12-28T09:29:36Z")

</div>

I recently tested the parallelism of the code in the cluster. At first, I used 224 cores on the four nodes node02, node03, node04, and node05， the test was no problem. Later, after adding node06, the following problems occurred. I tried a variety of methods It didn’t solve the problem, do you know what could be the cause of this?  
Since I just registered and can’t insert too many links, the detailed errors can be seen on my github account.  
Here are details about [error](https://github.com/buzhiqiuyuebai/errorlog/issues/1)

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [December 29, 2022, 4:57am UTC](https://community.openpbs.org/t/stack-size-of-12288-kb-is-lower-than-recommended-minimum-of-2097152-kb/3399/2 "2022-12-29T04:57:13Z")

</div>

Please try setting the limits on the pbs\_mom (compute node)  
/opt/pbs/lib/init.d/limits.pbs\_mom # $PBS\_EXEC/lib/init.d/limits.pbs\_mom  
#restart of pbs services on the compute node is required after updating this file with limits.

or you can set the stack size in the /etc/security/limits.conf at the system level and check the /proc/pid\_of\_the\_process/limits whether this has been applied.
