AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only

"System error: Not enough space" on exec

  • 1.  "System error: Not enough space" on exec

    Posted Tue February 19, 2013 04:09 AM

    Originally posted by: SystemAdmin


    Hi folks,

    If I try to run a 32bit database application, then it dies with

    
    Could not load program /export/source/release/lib/application/app__database_manager_debug: Dependent module /export/source/release/lib/libclntsh.so could not be loaded. System error: Not enough space
    


    (Please ignore the "_debug". All libs have been stripped.)

    The host (P710, AIX 6.1) has 32 GByte RAM and 32 GByte paging space. "ulimit -a" says:

    
    core file size          (blocks, -c) unlimited data seg size           (kbytes, -d) unlimited file size               (blocks, -f) unlimited max memory size         (kbytes, -m) unlimited open files                      (-n) 4096 pipe size            (512 bytes, -p) 64 stack size              (kbytes, -s) 131072 cpu time               (seconds, -t) unlimited max user processes              (-u) unlimited virtual memory          (kbytes, -v) unlimited
    


    truss shows that it dies at execve(2) time right at the beginning. Setting LDR_CNTRL=MAXDATA=0x80000000 (as suggested in the 6.1 documentation) or LDR_CNTRL="NAMEDSHLIB=private@MAXDATA=0x80000000" didn't help.

    Every helpful comment would be highly appreciated
    Harri