# Restrict the core for users

**URL:** <https://community.openpbs.org/t/restrict-the-core-for-users/3544>\
**Category:** Users/Site Administrators\
**Created:** [May 15, 2023, 10:32am UTC](https://community.openpbs.org/t/restrict-the-core-for-users/3544 "2023-05-15T10:32:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![narayan](https://avatars.discourse-cdn.com/v4/letter/n/22d042/32.png) [@narayan](https://community.openpbs.org/u/narayan)\
**Post date:** [May 15, 2023, 10:32am UTC](https://community.openpbs.org/t/restrict-the-core-for-users/3544/1 "2023-05-15T10:32:59Z")

</div>

Hi Team,

Need your help to implement the mentioned below points.

Installed PBS version = 18.1.3-0

1. Restrict the core, per users can only use 128 cores not beyond that.

2. Wall time set like for 5 days only.

Regards  
Narayan Pradhan

---

<div class="post-metadata">

**Author:** ![speleolinux](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@speleolinux](https://community.openpbs.org/u/speleolinux)\
**Post date:** [May 16, 2023, 2:46am UTC](https://community.openpbs.org/t/restrict-the-core-for-users/3544/2 "2023-05-16T02:46:28Z")

</div>

Hi  
For a queue, called for instance “bigq”:  
set queue bigq resources\_max.ncpus = 128  
set queue bigq resources\_max.walltime = 120:00:00  
Mike
