MIN_STACK_LIMIT for stacksize not working

Description

The minimum ulimit for stacksize(MIN_STACK_LIMIT) is not working and sets this is “unlimited” for pbs_mom component.

Cause / Analysis

Introduction of "<Python.h>" in mom_main.c(fb2a93b) makes pbs_mom to build in 64 bit mode due to enabling 64 bit macro "RLIM64_INFINITY".

This third party header "python.h" has "<limits.h>", which defines the "__USE_LARGEFILE64", this again defines the "RLIM64_INFINITY" macro at usr/include/bits/resource.h.

Solution description

The solution would be to set the stack limits to "MIN_STACK_LIMIT" value in 64 bit code path too.

Acceptance Criteria

None

Status

Assignee

Brem Anand J K

Reporter

Scott Campbell

Severity

3-High

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Fix versions

Affects versions

18.1.0

Priority

Critical
Configure