Your browser does not allow storing cookies. We recommend enabling them.

SSH

Exceeding Maximum CPU Time

In some environments it is possible that CPU time is restricted per user process. This can cause the transfer of large files or long-running terminal sessions to fail.

The problem can manifest itself as the signal 29 (SIGXCPU) error, which means that the allocated CPU time per process was exceeded.

Global

The global maximum CPU time can be defined in MAXCPUTIME in the SYS1.PARMLIB(BPXPRMxx) file.

MAXMMAPAREA(40960)
MAXCORESIZE(4194304)
MAXASSIZE(2147483647)
MAXCPUTIME(2147483647)

The defined SYS1.PARMLIB(BPXPRMxx) values can be easily displayed with the console command D OMVS,O.

OMVS

The CPU time can be defined in the RACF OMVS segment with the CPUTIMEMAX option as follows:

OMVS INFORMATION
----------------
UID= 0000000000
HOME= /
PROGRAM= /bin/sh
CPUTIMEMAX= NONE
ASSIZEMAX= 0268435456
FILEPROCMAX= NONE
PROCUSERMAX= NONE
THREADSMAX= NONE
MMAPAREAMAX= NONE

JCL

In JCL, the CPU time can be defined with the TIME option. Defining TIME=1440 sets unlimited CPU time.


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more