Author Topic: How to know memory area on zos?  (Read 7560 times)

plb3945

  • Guest
How to know memory area on zos?
« on: May 25, 2012, 02:50:40 AM »
Hello,
We have to know the max size of memory area on zos v1r11, where we can find the information, the parameter? Is it possible to change the value?
Explanation: we load generic files .gz in CMOD and we are looking for the max size it's possible to load.
Actually we are able to load 651 Mo for a .gz file but not 711 Mo.
We would like to be able to give correct information for our users.
Thanks for your help.
Best regards
Philippe

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: How to know memory area on zos?
« Reply #1 on: May 25, 2012, 08:29:23 AM »
Is that purely a memory issue?  We don't use the generic indexer much but for the OS/390 and ACIF indexer the size of the load is tied more closely to the size of the temp directory defined in ARS.CFG.

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: How to know memory area on zos?
« Reply #2 on: May 25, 2012, 10:32:38 AM »
Philippe - first off I agree with Greg...make sure you have temp to handle it.

If you think it's a memory problem -

1. Do you run everything connected with CMOD at REGION=0M?   Absolutely critical.

2. Do you have any IEFUSI exits that limit memory?

3. I received a handy tool from Java Level 2 called SDKcheck.

When you run it you get the report at the bottom of this append.  (Looks better in non-proportional font)

If you're interested, send me an email and I'll send it to you.

Ed Arnold

** Version 1.0 **
-----------|-------------------- Operating Environment Information -------------------
 --INFO--  | OS is OS/390 V03 R21.00 Machine 2064 Node SVLSPIL2
 --INFO--  | MaxShrPages:   3932160
           |
           |----------------------- Environment Variables ----------------------------
 --INFO--  | PATH           = /usr/lpp/java/J5.0/bin:/bin:/usr/lpp/Printsrv/bin:/usr/local/bin:/usr/lpp/ars/V8R5M0/bin:/usr/lpp/java/J6.0_64/bin:/u/odv733:.
 --INFO--  | JAVA_HOME      = /usr/lpp/java/J5.0
 --INFO--  | CLASSPATH      = /u/odv733/myCLASSPATH/ODAPI.JAR:/usr/lpp/db2/db2a10/classes/db2jdbcclasses.zip:/usr/lpp/java/J6.0_64/lib/core.jar:/usr/lpp/ars/V8R5M0/www/api/ODApi.jar:/WAS601/SVLSPIL2/AppServer/lib/j2ee.jar:.
           |
-----------|---------------------------- Private Area --------------------------------
 --PASS--  | Total Private Area Size (984 MB)
           |
-----------|-------------------------------- MEMLIMIT --------------------------------
 --PASS--  | Above the 2GB Bar (MEMLIMIT) Space (2048 MB)
           |
-----------|--------------------------- Unix Region Limits ---------------------------
           | RLIMIT_AS -
 --PASS--  |      Current:  1032364032 (984 MB)
 --PASS--  |      Max:      2147483647 (2047 MB)
-----------|--------------------------------------------------------------------------
#zOS #ODF

plb3945

  • Guest
Re: How to know memory area on zos?
« Reply #3 on: May 28, 2012, 11:40:08 PM »
Hi Ed and Greg,

Thanks very much for your help. Effectively i'm interested by your handy tool, could you send me to my professional adress: phlauhiratbidot@airfrance.fr?
I check your other suggestions in the day and contact also our system team about IEFUSI exit.
Best regards
Philippe

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: How to know memory area on zos?
« Reply #4 on: May 29, 2012, 09:59:22 AM »
Philippe - sent.

If you see "interesting" results from running SDKcheck, please share.

Ed
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: How to know memory area on zos?
« Reply #5 on: July 09, 2012, 12:01:11 PM »
One more command you should run to check memory:

lu userid noracf omvs

where userid is the user the job runs under


My output looks like this because I don't limit the userid at all:

USER=ARSSERVR     
                 
OMVS INFORMATION 
---------------- 
UID= 0000000207   
HOME= /ars/tmp   
PROGRAM= /bin/sh 
CPUTIMEMAX= NONE 
ASSIZEMAX= NONE   
FILEPROCMAX= NONE
PROCUSERMAX= NONE
THREADSMAX= NONE 
MMAPAREAMAX= NONE

ASSIZEMAX (Address Space Size Max) is the parameter we're particularly interested in.
#zOS #ODF

LWagner

  • Guest
Re: How to know memory area on zos?
« Reply #6 on: July 16, 2012, 02:57:02 PM »
To acquire Process IDs for ARSSOCKD and ARSLOAD in the active stem log
/d omvs,a=all

the PID used below were the correct ones on my system on the day I last ran this.

to dipslay Process ID usage of ARSSOCKD
/D OMVS,L,PID=50331706
83886309


to dipslay Process ID usage ARSLOAD
/D OMVS,L,PID=33554472

/D OMVS,L,PID=67108987

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: How to know memory area on zos?
« Reply #7 on: July 17, 2012, 01:48:56 PM »
When I need to find out PID stuff I use RMF III, option 7:  OPD OMVS process data.

Ed
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
The ulimit command
« Reply #8 on: February 21, 2013, 12:46:16 PM »
Try running this snippet of JCL to see how much memory you have available:

//STEP1    EXEC PGM=BPXBATCH,REGION=0M   
//*                                     
//SYSPRINT DD SYSOUT=*                   
//SYSOUT   DD SYSOUT=*                   
//STDERR   DD SYSOUT=*                   
//STDOUT   DD SYSOUT=*                   
//STDPARM DD *                           
PGM /bin/ulimit -a                       
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: How to know memory area on zos?
« Reply #9 on: February 21, 2013, 12:56:46 PM »
Sample output from SDKCHECK ran from batch

(
** Version 1.0 **                                                               
-----------|-------------------- Operating Environment Information -------------
 --INFO--  | OS is OS/390 V03 R23.00 Machine 2064 Node SVLSPIL2                 
 --INFO--  | MaxShrPages:   3932160                                             
           |                                                                   
           |----------------------- Environment Variables ----------------------
           |                                                                   
-----------|---------------------------- Private Area --------------------------
 --PASS--  | Total Private Area Size (1533 MB)                                 
           |                                                                   
-----------|-------------------------------- MEMLIMIT --------------------------
 --PASS--  | Above the 2GB Bar (MEMLIMIT) Space (17592186040320 MB)             
           |                                                                   
-----------|--------------------------- Unix Region Limits ---------------------
           | RLIMIT_AS -                                                       
 --PASS--  |      Current:  1615831040 (1540 MB)                               
 --PASS--  |      Max:      2147483647 (2047 MB)                               
-----------|--------------------------------------------------------------------



Sample output from ulimit -a run in batch:


********************************* TOP OF DATA *******
core file         unlimited                         
cpu time          1801                               
data size         unlimited                         
file size         unlimited                         
stack size        unlimited                         
file descriptors  64000                             
address space     1577960k                           
memory above bar  17592186040320m                   
******************************** BOTTOM OF DATA *****

#zOS #ODF