OnDemand User Group

Support Forums => z/OS Server => Topic started by: jhe2 on October 25, 2017, 02:07:38 AM

Title: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on October 25, 2017, 02:07:38 AM
We have try to laod a pdf-document greater than 100 MB via ARSLOAD.

The Loading-Process is failed with following message


 ARS4335I Server Version <9.0.0.5>  Operating System <z/OS> <04.25.00>  Database <DB2> <11.01.0005>                                   
 ARS4312I 10/12/17 11:59:10 -- Loading started, --UNKNOWN-- bytes to process                                                         
 ARS1408W Warning:  A document of size >111647893< bytes was processed.  It is not recommended to store documents in OnDemand greater
 than 50MB in size.  Although data may store successfully, it is possible that the data may not be able to be retrieved successfully.
 ARS1144I OnDemand Load Id = >5603-11-0-7FAA-20170421000000-20170421000000-5608<                                                     
 ARS1106E Connection cannot be established for the >ARCHIVE< server                                                                   
 ARS1157E Unable to store the object >7FAAA<.  Object size 111647893                                                                 
 ARS1146I Loaded 0 rows into the database                                                                                             
 ARS4311E 10/12/17 11:59:11 Loading failed                                                                                           
 ARS4318E Processing failed for file >file-name<                                                               
 ARS4320I 10/12/17 11:59:11 -- Unloading started                                                                                     
 ARS1106E Connection cannot be established for the >ARCHIVE< server                                                                   
 ARS1162E Unable to unload data from OnDemand - LoadId(5603-11-0-7FAA-20170421000000-20170421000000-5608) Rows Deleted(0)             
 ARS4322E 10/12/17 11:59:11 -- Unloading of data failed                                                                               
 ARS1106E Connection cannot be established for the >ARCHIVE< server                                                                   
 Unable to log load information                                                                                                       
 Processing has stopped.  The remaining files will NOT be processed.     

can you help me to solve this problem?

thx jhe2                                                             





Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jsquizz on October 25, 2017, 06:01:13 AM
Hi, what else is in the system log around this time frame.

Also, I am sure that others are going to reccomend to get off of 9.0.0.5 and get to the latest fixpack, or even move to 9.5 / 10.1
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Justin Derrick on October 25, 2017, 06:38:01 AM
Jeff's right.  v9.0 is out of support.  The last patch for v9.0.x was just released last week -- move to that version before anything else.

Links to the latest patches can always be found on the Wiki:  https://cmod.wiki/index.php?title=Main_Page#IBM_CMOD_Fixpacks_.26_Security_Bulletins

-JD.
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Nolan on October 25, 2017, 06:59:07 AM
The error message is what you should be focusing on.

 ARS1106E Connection cannot be established for the >ARCHIVE< server 

Are you loading from a different server?  Have you loaded other documents from this server to your CMOD successfully?
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Greg Ira on October 25, 2017, 07:03:32 AM
Are you using OAM for your storage manager?  You may be hitting the 50MB limit for OAM if you haven't increased the ability to load larger files through IEFSSNxx
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on October 26, 2017, 02:13:03 AM
We are using OAM for storage manager und we have incraesed the maximum object size to 256 MB

OAM1 Parms: TIME=LOC  MSG=EM  UPD=Y  QB=Y
             MOS= 256  OTIS=N  LOB=N  DP=N


All Documents lower 100 MB we are loading with out problems.
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on October 26, 2017, 03:36:40 AM
successful load of a Document with size lower 100 MB and greater 50 MB:


 ARS4335I Server Version <9.0.0.5>  Operating System <z/OS> <04.25.00>  Database <DB2> <11.01.0005>                                   
 ARS4312I 10/26/17 10:21:40 -- Loading started, --UNKNOWN-- bytes to process                                                         
 ARS1408W Warning:  A document of size >53101401< bytes was processed.  It is not recommended to store documents in OnDemand greater t
 han 50MB in size.  Although data may store successfully, it is possible that the data may not be able to be retrieved successfully. 
 ARS1144I OnDemand Load Id = >5603-11-0-16FAA-20170831000000-20170831000000-5608<                                                     
 ARS1146I Loaded 1 rows into the database                                                                                             
 ARS1175I Document compression type used - Disable.  Bytes Stored = >53101529< Rows = >1<                                             
 ARS4310I 10/26/17 10:21:41 Loading completed                                                                                         
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on October 26, 2017, 04:18:23 AM
now we get an other message for Documents greater than 100MB -> unable to allocate enough memory:

ARS1109E Unable to allocate enough memory.  File=arsadmp.c, Line=1470
ARS1157E Unable to store the object >2FAAA<.  Object size 111647893 
ARS1146I Loaded 0 rows into the database                             
ARS4311E 10/26/17 11:06:03 Loading failed                           
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jsquizz on October 26, 2017, 06:07:16 AM
This is strange since it looks like it is a generic index file you are trying to load.

What system is arsload running from? Is it local to the library server or is it on an obj/remote server (..or something..)

Note - No experience with Z/OS, but I have seen issues like this before, mostly in 8.4
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Justin Derrick on October 26, 2017, 06:33:32 AM
Unable to allocate memory indicates you've exceeded the user's ulimit.  I'm not sure if this is a z/OS setting, or if it behaves like AIX/Linux under USS -- you can see all your limits with "ulimit -a" at a UNIX shell prompt.

-JD.
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on October 26, 2017, 07:09:45 AM
arsload running from z/OS
ARS4335I Server Version <9.0.0.5>  Operating System <z/OS> <04.25.00>  Database <DB2> <11.01.0005>   
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Greg Ira on October 26, 2017, 07:31:21 AM
Get your limits from OMVS.  Run the command ulimit -a from the command line or from batch and show us the output
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on October 27, 2017, 01:37:29 AM
here the output from ulimit -a:

core file         8192b     
cpu time          901       
data size         unlimited
file size         88000000b 
stack size        unlimited
file descriptors  64000     
address space     36928k   
memory above bar  2048m     
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Greg Ira on October 27, 2017, 06:08:40 AM
They definately seems low.   Ours is currently:
core file         8192b
cpu time          unlimited
data size         unlimited
file size         unlimited
stack size        unlimited
file descriptors  64000
address space     1011240k
memory above bar  2048m
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Ed_Arnold on October 27, 2017, 08:00:02 AM
I think Greg has nailed it.

Quote
address space     36928k

36 meg?  You should be running REGION=0M and getting over a gig of private area.

| Make sure you run the ulimit -a under the userid associated with the load.

| Here's sample JCL:

Quote

//ULIMIT   JOB (BLAH,REPORT),'ARNOLD',CLASS=A,REGION=0M,
//             MSGCLASS=X,MSGLEVEL=(1,1),USER=ARSSERVR 
//STEP31 EXEC PGM=BPXBATCH,REGION=0M                   
//STDPARM  DD *                                         
SH ulimit -a                                           
//SYSPRINT DD SYSOUT=*                                 
//STDERR   DD SYSOUT=*                                 
//SYSOUT   DD SYSOUT=*                                 
//SYSPRINT DD SYSOUT=*                                 
//STDERR   DD SYSOUT=*                                 
//STDOUT   DD SYSOUT=*                                 


Ed
Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Justin Derrick on October 27, 2017, 11:10:17 AM
This is a problem so insidious that it got it's own article in the OD News Newsletter back in 2013, and I think they even changed the output of arsload to include the ulimits when starting processing.

-JD.

Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: jhe2 on November 09, 2017, 05:07:10 AM
now we have set OMVS-Parms to:
core file           8192b       
cpu time          901         
data size          unlimited   
file size            unlimited   
stack size        unlimited   
file descriptors  64000       
address space  unlimited   
memory above bar  2048m       

OAM1 Parms:
TIME=LOC  MSG=EM  UPD=Y  QB=Y
MOS= 256  OTIS=N  LOB=N  DP=N


the ARSLOAD-Job ist running with REGION=0M

but the message for files greater 100MB is still:
ARS1109E Unable to allocate enough memory.  File=arsadmp.c, Line=1470
ARS1157E Unable to store the object >28FAAA<.  Object size 111647893
ARS1146I Loaded 0 rows into the database
ARS4311E 11/09/17 09:55:26 Loading failed


What can we do?







Title: Re: ARSLOAD Problem with Documents greater than 100 MB
Post by: Ed_Arnold on November 09, 2017, 12:10:19 PM
Suggestion:

You could APPLY all PTFs for 9.0 to date (which will bring you to 9.0.0.9).

Ed