How to know memory area on zos?

Previous topic - Next topic

plb3945

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

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

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

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

Philippe - sent.

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

Ed
#zOS #ODF

Ed_Arnold

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

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

When I need to find out PID stuff I use RMF III, option 7:  OPD OMVS process data.

Ed
#zOS #ODF

Ed_Arnold

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

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