z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for changing the process limits for an active process

z/OS UNIX System Services Planning
GA32-0884-00

Before you begin: You need to know the PID of the process. To find the process, issue D OMVS,A=ALL.

Perform the following steps to change the process limits for an active process.

  1. Display information about the current parmlib limits for a process with the ID nnn.
    Example: Issue:
    d omvs,limits,pid=nnn
    Result: You will get a display similar to the following:
    BPXO051I 16.42.32 DISPLAY OMVS 277                                    
    OMVS     000D ACTIVE          OMVS=(6F)                               
    USER     JOBNAME  ASID        PID       PPID STATE   START     CT_SECS
    MEGA     MEGA1    0020 0050331651   33554434 1CI--- 16.31.46      .051
      LATCHWAITPID=         0 CMD=sh -L                                   
    PROCESS LIMITS:        LIMMSG=NONE                                    
                      CURRENT  HIGHWATER    PROCESS                       
                        USAGE      USAGE      LIMIT                       
                                                                          
    MAXFILEPROC             6          7        256                       
    MAXFILESIZE           ---        ---    NOLIMIT                       
    MAXPROCUSER             3          4    NOLIMIT                       
    MAXQUEUEDSIGS           0          1       1000                       
    MAXTHREADS              0          0        200                       
    MAXTHREADTASKS          0          0       1000                       
    IPCSHMNSEGS             0          0        500                       
    MAXCORESIZE           ---        ---    4194304                       
    MAXMEMLIMIT             0          0     16383P 

    _______________________________________________________________

  2. Change the high memory limit, MEMLIMIT, in the address space containing PID nnn.
    Example: Issue:
    SETOMVS PID=nnn, memlimit=16M

    Result: You will get a message that the SETOMVS command was successful.

    _______________________________________________________________

  3. Check that the limit has been changed.
    Example: Issue:
    D OMVS,LIMITS,PID=nnn
    Result: You will see a display similar to the following:
    BPXO051I 16.44.40 DISPLAY OMVS 283                                      C
    OMVS     000D ACTIVE          OMVS=(6F)                                  
    USER     JOBNAME  ASID        PID       PPID STATE   START     CT_SECS   
    MEGA     MEGA1    0020 0050331651   33554434 1CI--- 16.31.46      .051   
      LATCHWAITPID=         0 CMD=sh -L                                      
    PROCESS LIMITS:        LIMMSG=NONE                                       
                      CURRENT  HIGHWATER    PROCESS                          
                        USAGE      USAGE      LIMIT                          
                                                                             
    MAXFILEPROC             6          7        256                          
    MAXFILESIZE           ---        ---    NOLIMIT                          
    MAXPROCUSER             3          4    NOLIMIT                          
    MAXQUEUEDSIGS           0          1       1000                          
    MAXTHREADS              0          0        200                          
    MAXTHREADTASKS          0          0       1000                          
    IPCSHMNSEGS             0          0        500                          
    MAXCORESIZE           ---        ---    4194304                          
    MAXMEMLIMIT             0          0        16M *

    _______________________________________________________________

When you are done, you have changed the process limit.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014