Author Topic: Large Xerox Files + AFP2PDF  (Read 5825 times)

jeffs42885

  • Guest
Large Xerox Files + AFP2PDF
« on: December 18, 2013, 11:40:08 AM »
We recently started using Infoprint XT to convert Xerox Metacode jobs to AFP. Some of these files can be quite large.

It seems like we are hitting a limit with the files. Infoprint processes the file in the /var/pdxt/jobs directory, and the first suggestion from XT support was to increase VAR. So we increased var to 15GB.

The file that we are are working with is 3.5 GB, and I watch the AFP file get built, and it fails right around 2.1GB It throws an ONCODE 1040 error and also tells us broken pipe. The file system is JFS2 enabled, and all the ulimits are set to unlimited (for both the account running XT and root)

I am just wondering if anyone has seen this before. These are simple mainframe reports that just contain several hundred thousand pages. I have SEV1/2 tickets open with both IBM and Ricoh on this issue and I am just wondering if anyone has encountered this before.

Thanks in advance,

Jeff

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • Tenacious Consulting
Re: Large Xerox Files + AFP2PDF
« Reply #1 on: December 19, 2013, 06:11:36 AM »
We got hit with a ulimit issue earlier this year -- if your job is launched by crontab (or any other process owned by root) then you need to make sure that the ulimits for root are also set to unlimited.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jeffs42885

  • Guest
Re: Large Xerox Files + AFP2PDF
« Reply #2 on: December 19, 2013, 06:53:08 AM »
yep, ulimits are all set to unlimited for both the process account that runs the application as well as root

jeffs42885

  • Guest
Re: Large Xerox Files + AFP2PDF
« Reply #3 on: February 17, 2014, 08:00:57 AM »
I have since switched positions but, from what my investigation found was that when AFP2PDF was being called (It was a custom IBM version that would take the "indexed" afp file, and craete the ard out ind)

on VERY VERY large AFP files, year end stuff.. If i ran 1 file, i noticed cpu spike, if i noticed 2 same, 3, system cpu would be at 99.5% busy. I am suprised that this did not cause the box to go down.

So I am not sure if it a bug in the AFP2PDF code, but just be careful if you run ODLoad_afp2pdf to transform Indexed AFP files (Files that come out of Ricohs AVE tool) to PDF to load'em into OD..

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • Tenacious Consulting
Re: Large Xerox Files + AFP2PDF
« Reply #4 on: February 17, 2014, 08:19:18 AM »
For most modern OS's, being CPU bound for hours (days/weeks/months) shouldn't be an issue.  Running out of RAM/Swap is a no-no though.

I suspect AFP2PDF is a Java app ("write once, run anywhere") and Java is well known for being CPU-hungry.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jeffs42885

  • Guest
Re: Large Xerox Files + AFP2PDF
« Reply #5 on: March 20, 2014, 04:02:08 PM »
Just an FYI- I think that this was also on outdated hardware that were held back due to licensing, so we were limited by cores, newer CPUs, etc. Once they migrate i expect them to see a world of difference.

Oh, and we tried this with a version written in C and a Java version, same issue.