Author Topic: AFP2PDF Size Limitation  (Read 5611 times)

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
AFP2PDF Size Limitation
« on: November 10, 2015, 09:23:21 AM »
Just wondering if anyone has reached an input filesize limitation with AFP2PDF. Is anyone currently using AFP2PDF to convert very large AFP files (2-3 GB) to PDF?

I am getting a core dump when this is attempted  :-[ ::)
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: AFP2PDF Size Limitation
« Reply #1 on: November 10, 2015, 11:54:14 AM »
I would imagine you're blowing out the size limit of PDF documents.  Can you get coredumps/traces from the conversion?
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

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #2 on: November 11, 2015, 03:00:34 AM »
From which platform are you doing such transformation?

If you are on Windows, then since the AFP2PDF is in 32bit, then "maybe", you have reached a problem... which could not be there with the Linux/Unix version, which is 64bits.
Otherwise... no idea...
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #3 on: November 12, 2015, 07:27:27 AM »
AIX 5.3 :(
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #4 on: November 12, 2015, 07:57:45 AM »
did you check the "ulimit" ? maybe your have there some "limitation" on your user...
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #5 on: November 12, 2015, 09:59:06 AM »
THANK YOU ALLESANDRO! I said this but its glad to see someone backs me up

whatever one that is (coredumps) isn't set to unlimited.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: AFP2PDF Size Limitation
« Reply #6 on: November 12, 2015, 11:21:13 AM »
ulimit on coredumps only means you get bigger core files.  It doesn't change how much memory is available to your process.

What other changes did you make to the limits?
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

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #7 on: November 13, 2015, 06:30:34 AM »
none as of yet. Heres the current ulimits:

:user@aixbox:# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) 2097151
nofiles(descriptors) 2000

:user@aixbox:# ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
« Last Edit: November 13, 2015, 06:32:20 AM by jsquizz »
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #8 on: November 13, 2015, 06:52:46 AM »
try

Code: [Select]
ulimit -s unlimited

this is to put the STACK to unlimited... sometimes the stack limitation can cause such problem...
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: AFP2PDF Size Limitation
« Reply #9 on: November 13, 2015, 10:29:25 AM »
And change your coredump limit back to something reasonable like 10 or 20MB.  You can accidentially fill a filesystem writing out core-dumps from processes that run out of memory...
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

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: AFP2PDF Size Limitation
« Reply #10 on: November 16, 2015, 06:38:33 AM »
Haven't made any changes as of yet.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING