AIX 32bit library limitation

Clovertech Forums Cloverleaf AIX 32bit library limitation

  • Creator
    Topic
  • #121223
    Jeff Dawson
    Participant

      We run CIS 6.2.6.1 on AIX 7.2 TL 5 with plans to upgrade to CIS 22 hopefully this year.  We ran into an issue last week where a vendor sent a 150MB pdf that caused our thread acting as a server to crash due to a memory allocation error and throw a core dump.  I couldn’t even receive the message into the interface without the process crashing.   Eventually we had to ask the vendor to skip the message so anything in queue could process.

      I spoke with Infor customer support and they let us know the issue is related to AIX being 32 bit and IBM has no plans to release 64bit libraries for AIX.  One of the main reasons we stay with AIX is that our EMR, Epic, runs on AIX as well.  The solution to this problem is this process that can receive large messages is always before starting the process is to issue the export command listed below.  Then the large message can be handled in the interface engine.

      export LDR_CNTRL=’MAXDATA=0x3B9ACA00‘ ; hex value of 1000MB

      hcienginerun -p <process name>

      We’ve ran Cloverleaf on AIX since we started using this interface engine almost 20 years ago.  From what I recall AIX use to be one of the top O/S’s that clients used CIS with.  From what support mentioned a lot of customers have switched over to Windows/Linux (RHEL) based O/S’s due to the fact they support 64bit libraries and these types of memory allocation issues are not present and also financially less expensive than AIX.

      My question to the Clovertech community has anyone started on AIX and made the transition to a different O/S due to this 32bit issue or even from a financial aspect of switching from AIX?

    Viewing 3 reply threads
    • Author
      Replies
      • #121227
        Tim Pancost
        Participant

          Hmmmm, something about that doesn’t seem quite right.  AIX has been 64-bit compatible, from what I’ve read, since version 5.  Are you on an earlier AIX version than that?  Looking at our own AIX box(AIX version 7.2.0.0), the kernel is in 64-bit mode:

          CHiep1 /cloverleaf/cis20.1/integrator/bin
          $ getconf KERNEL_BITMODE
          64

          That being said, when you look at the hciengine executable, it is a 32-bit application:

          $ cd $HCIROOT/bin
          CHiep1 /cloverleaf/cis20.1/integrator/bin
          $ dump -ov hciengine

          hciengine:

          ***Object Module Header***
          # Sections Symbol Ptr # Symbols Opt Hdr Len Flags
          7 0x007d33d6 51601 72 0x1042
          Flags=( EXEC DYNLOAD DSA DEP_SYSTEM )
          Timestamp = “Feb 11 00:03:31 2022”
          Magic = 0x1df (32-bit XCOFF)

          So, to me, the question is, would Infor offer a 64-bit version of Cloverleaf?

          HTH,

          TIM

          Tim Pancost
          Trinity Health

        • #121230
          Jeff Dawson
          Participant

            Hi Tim ,

            We are running the same version of AIX, 7.2, talking with our AIX admins they are stating the same thing that AIX appears to be 64bit enabled yet hciengine is only 32bit.  I’ve taken this back to Infor support and they are asking the developers about this.    I’m hoping at some point CIS will be able to run at 64bit however it was explained to me the limitation is on the AIX which doesn’t seem to be the case with the what I’m finding out however there may be other factors involved that Infor’s developers may clarify regarding AIX.  Will post what I find out and I also attached the document that Infor provided regarding this issue.

            • This reply was modified 1 year, 11 months ago by Jeff Dawson.
            Attachments:
            You must be logged in to view attached files.
          • #122267
            Jeff Dawson
            Participant

              We came across this issue again running CIS 2022.09.03 on AIX 7.2 TL 5, 75MB pdf caused an unalloc error.   Support confirmed the engine on version 2025.01.01 will be migrated to 64 bit and hopefully this issue will no longer persist.  Received an update in KB2293813 where the release notes were linked in excel spreadsheet Cloverleaf_Integration_Services_Release_Report_2025.01.02_OP

              Migrate AIX engine to 64-bit runtime – Cloverleaf AIX 64-bit support (CISCL-10294)

               

              <td width=”525″>1. IBM XL C/C++ Runtime environment package 16.1 for AIX is required to support Cloverleaf AIX 64-bit executables. Please refer to [https://www.ibm.com/support/pages/ibm-xl-cc-runtime-aix-161|https://www.ibm.com/support/pages/ibm-xl-cc-runtime-aix-161] for more details.
              2. EXTSHM shall NOT be set in the environment, like in .cshrc file for tcsh or /etc/environment.
              3. Disable AIX Large Program Support, remove MAXDATA setting in the environment variable LDR_CNTRL or do not ldedit Cloverleaf executables again. [https://www.ibm.com/docs/en/aix/7.3?topic=concepts-large-program-support|https://www.ibm.com/docs/en/aix/7.3?topic=concepts-large-program-support]
            • #122268
              Jeff Dawson
              Participant

                One other interesting note I was able to to use the export MAXDATA command from my first post and set the process to 1GB.  I was then able to use a tcl proc in the tps inbound stack to check the message size and if greater than 50mB copy OBX-5.1 to OBX-5.5 then set OBX-2 equals to “LARGEPDF”.  In the xlate I added an If clause around the OBX-5.1 to OBX-5.5 to skip the copy command.  The xlate does use a pathcopy on the OBX segment which when deactivating the OBX-5.1 to OBX-5.5 copy statement still allowed the message to cross.  This made me realize how much memory allocation the XPM engine requires when using a copy statement.  Just to reiterate support mentioned since increasing MAXDATA above 3GB still did not allow the xlate OBX-5.1 to OBX-5.5 to work they suggested to offload the pdf locally (local disc storage) before the xlate and then add it back to the message after the xlate in the Outbound tab TPS outbound data stack.

                • This reply was modified 3 days, 13 hours ago by Jeff Dawson.
                • This reply was modified 3 days, 13 hours ago by Jeff Dawson.
            Viewing 3 reply threads
            • You must be logged in to reply to this topic.