Sei sulla pagina 1di 10

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

Sign in HP Logo Connect with HP Connect with HP Email us Call us HP oce locations All HP Contacts Open Community widget with HP popup Online Communities Loading... Failed to load community discussions. Please, try to refresh the page. See All Communities

Search
AllianceOne All of HPSearch Shop for Products & Services Home & Home Oce Wrapping Test without a harcoded BR Tag Small & Medium Business Large Enterprise Business Solutions Services Servers Blades Storage Networking Software Printing & Multifunction Ink, Toner & Paper Laptops Tablets & Netbooks Desktops & Workstations Monitors & Accessories Smartphones & Handhelds Video Conferencing All Large Enterprise Products & Services Government, Health & Education Graphic Arts Explore & Create At Home At Work Get professional looking marketing materials Tips & tools to manage and protect your business Free online classes How-to software and technology tips Step-by-step technology guides Graphic arts printing tools Support &

1 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

Drivers AllianceOne About AllianceOne Benets & Services Resources & Downloads Partner Programs Our Partners

HP ARIES troubleshooting tips and self help options


HP AllianceOne Partner Program HP ARIES troubleshooting Product tips and self help options Information
HP recommends following ARIES troubleshooting steps, which you can use to triage HP 9000 applications failures under ARIES. The information on this page includes: ARIES troubleshooting help HP 9000 application core le writing error HP 9000 application stack allocation error HP 9000 application memory allocation error HP 9000 applications which require compilation/linking How to create more threads under ARIES How to install and invoke HP 9000 JVM under ARIES How to invoke chatr command on HP 9000 executables How to get PA-RISC processor information When to increase pa_maxssiz_32bit | 64bit kernel tunable
ARIES troubleshooting help

Manage My AllianceOne Membership


Sign in Join AllianceOne Contact us

HP ARIES home Success stories Documentation Performance details Troubleshooting MITR HP XPADE FAQs Technical support Feedback

IMPORTANT: Refer to ARIES FAQs and aries(5) man page before going through the following troubleshooting steps. Just because an application fails while running under ARIES, it may not always be an ARIES fault. Use following steps to triage the HP 9000 application failures under ARIES: Check the application error/diagnostic logs. Check for missing shared libraries or ones with wrong le permissions. Use following command to nd the shared library path resolution and x any error that is reported:
SDKROOT=/usr/ccs/pa ldd <PA-RISC_executable_name>

2 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

Check for latest patch level of shared libraries that the application depends on. Trace the application with HP-UX system call tracer tusc. Depending on the application failure symptoms: Use HP GDB to debug the application. Use HP GDB to attach to an already running process. Use HP GDB to debug the application core le. Use HP GDB memory leak detection feature or any other memory proling tool to make sure that the HP 9000 application does not leak memory. Note that an HP 9000 application cannot leak memory under ARIES unless it does so on an HP 9000 server. If the HP 9000 application failure indicates memory allocation error, make sure that the value of kernel tunable parameter pa_maxssiz_32bit is not set to maximum or a very high value. Visit the HP WDB site for more information on HP WDB features and debugging help. Refer to the section PA-RISC HP-UX GDB DEBUGGING SUPPORT in latest aries(5) man page, for details on debugging HP 9000 HP-UX applications under ARIES. You may use following commands to nd your application's shared libraries dependencies:
SDKROOT=/usr/ccs/pa chatr <PA-RISC_executable_name> SDKROOT=/usr/ccs/pa ldd <PA-RISC_executable_name>

Contact the HP support organization at their web site, the IT Resource Center (ITRC) with details about your problem if above steps do not help. Return to top
HP 9000 application core file writing error

At times users may notice ARIES error messages of the following form:
[HP ARIES32]: Error occurred while writing core file for 32 bit [HP ARIES32]: PA-RISC application %application_name (got signal 10). [HP ARIES32]: Core file may not be correct. Segmentation fault

This error message does not necessarily indicate an issue in ARIES. This error is generated only to inform the user that the core le writing could not be completed and that it may not help to debug such incomplete core le. This error is generated under following conditions: 1. ulimit -f value in shell is very low or 0. 2. ulimit -c value in shell is very low or 0. 3. Application has reduced the le size limit (or core le size limit) using ulimit() or setrlimit() system calls. 4. The core le already exists and the user does not have permission to overwrite it.

3 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

5. User does not have permission to create les in the current working directory at the time the signal arrived. This can happen if the application is invoked using startup scripts which may change directory to application installation or system paths before launching the application. For further assistance, refer to ARIES technical support. Return to top
HP 9000 application stack allocation error

Under certain situations right after starting the HP 9000 application an ARIES error message of the following form may appear:
[HP [HP [HP [HP [HP [HP [HP [HP [HP [HP [HP ARIES32]: ***** Log time: Wed Mar 26 15:47:04 IST 2008 ***** ARIES32]: ARIES32]: Internal Error (code : 035) [PID : 18246] ARIES32]: Insufficient memory to allocate Application stack, ARIES32]: ARIES heap, Code Cache and ARIES internal memory segments. ARIES32]: ARIES32]: Suggestions: ARIES32]: -> Increase kernel tunable parameter pa_maxssiz_32bit value ARIES32]: -> or, reduce ARIES parameter -ssz value in .ariesrc file. ARIES32]: by "20987 KB". ARIES32]: -> Use -help ARIES option to check ARIES parameter ranges.

This error message is not an ARIES issue. This error message is due to environment and conguration setup. The error message indicates that ARIES could not allocate it's internal memory segments to proceed with emulation. Follow one of the suggestions in the error message to resolve the issue. Return to top
HP 9000 application memory allocation error

32-bit HP 9000 applications trying to allocate large amount of memory (> 500 MB) through single malloc() call may fail with errno set to ENOMEM. Use system call tracer utility tusc to conrm the failure symptom. To resolve the issue, make sure that the kernel tunable parameter value is not set to maximum or a very high value, unless absolutely necessary.
pa_maxssiz_32bit

The kernel tunable parameter pa_maxssiz_32bit value need to be increased only if the application requires more no. of threads than possible with default conguration or ARIES tuning for large code cache is required. NOTE: 64-bit HP 9000 applications are not likely to experience this behavior under ARIES. Return to top
HP 9000 applications which require compilation/linking

4 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

This section is applicable to HP 9000 applications which generate source les at runtime, and require compilation and linking environment. are shipped by ISVs in the form of object les and the nal executables and libraries are generated during installation. By following these steps, the minimal compilation and linking may work correctly. However, it introduces the risk of using possibly incompatible HP Integrity native header les by the HP 9000 applications. Linking of object les does not require header les and thus would not be aected by possible incompatibility with Integrity native header les. Applications discussed above may use linking using cc driver or ld command. Use the steps below to satisfy the minimal compilation and linking requirement of HP 9000 applications on HP-UX 11i on HP Integrity servers: Install following (or later) HP 9000 patches on Integrity HP-UX servers with option -x allow_incompatible=true to swinstall command
PHSS_34420: s700_800 11.23 bundled PA C compiler on IPF PHSS_36342: s700_800 11.23 linker + fdp cumulative patch

If the application uses Java code and involves JNI (Java native interface) shared library: Create an ARIES RC le with option -pa_os_cpu. Alternatively, add -pa20 to Java invocation command line. Set following environment variables before invoking the HP 9000 application installation program:
export SDKROOT=/usr/ccs/pa export TARGETROOT=/usr/ccs/pa

Run the HP 9000 application (or the installer program). WARNING: When using -pa_os_cpu ARIES option please be advised that there could be silent performance drop in Integrity native JVM due to Java launcher being an HP 9000 executable. Thus use -pa_os_cpu ARIES option without executable path wild-cards in ARIES RC le for non-Java applications only. ARIES option -pa_os_cpu is not enabled in default ARIES conguration. HP XPADE (PA-RISC Cross Development Environment on Integrity servers): HP XPADE will provide PA-RISC cross development environment on HP-UX 11i on HP Integrity servers. With HP XPADE installed, HP 9000 applications will have access to fully functional (C and aC++ compilers) and tested HP 9000 build environment on HP-UX 11i v2/v3 on HP Integrity servers.

5 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

NOTE (Oracle database client application 10.2.0.0): Oracle applications fall under the category of applications discussed in this section. To install and congure HP 9000 Oracle Database Client Application 10g R2 (10.2.0.0) on HP-UX 11i on HP Integrity servers, refer to Document ID : Note:456553.1 at Oracle metalink site. Starting Aug 30, 2007 Oracle ocially supports HP 9000 Oracle Database Client Application 10g R2 (10.2.0.0) under ARIES on HP-UX 11i on HP Integrity servers. Return to top
How to create more threads under ARIES

With default ARIES option values and kernel tunable parameter pa_maxssiz_32|64bit values, ARIES can create 85 threads in 32-bit mode and 438 threads in 64-bit mode. If your HP 9000 application needs to create more no. of threads than possible with the default conguration (pthread_create() fails with error EAGAIN), follow the steps below: Increase the value of kernel tunable parameter depending on whether the process is 32-bit or 64-bit. Increase the value of ARIES parameter -heap_ssz in ARIES RC le. For more details on how to calculate required values of ARIES parameter -heap_ssz and kernel tunable parameter pa_maxssiz_32|64bit, refer to the section on Relation Between pa_maxssiz_32|64bit and ARIES Parameters in latest ARIES aries(5) man page.
pa_maxssiz_32|64bit

Return to top
How to install and invoke HP 9000 JVM under ARIES

HP does not recommend running Java applications using HP 9000 JVM (Java Virtual Machine) on HP-UX 11i on Integrity servers using ARIES due to slow performance of the emulated JVM. However, in some Java application scenarios where JNI library is involved, users need to run their HP 9000 Java applications using HP 9000 JVM. MITR (MIxed mode TRanslator): HP's MITR solution enables Integrity native binaries to call (and be called by) HP 9000 shared libraries. Initially MITR solution is aimed at enabling Integrity native JVM to call HP 9000 JNI shared library. With MITR there should be no need to run HP 9000 JVM under ARIES. MITR may not help if the JNI shared library is C++ code. If MITR does not help: Skip to next paragraph if your Java based application is shipped with an HP 9000 JVM container. Otherwise, check if the HP 9000

6 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

JVM is properly installed on your system, by executing following command:


/opt/java1.4/bin/java -pa20 -version

If the command gives error of the following form


Error: could not find libjava.sl Error: could not find Java 2 Runtime Environment.

then HP 9000 JVM is not installed on your system. Download PA-RISC+Integrity Java installation depot from HP Java site and use option -x allow_incompatible=true to swinstall command while installing the Java depot. To invoke HP 9000 JVM on Integrity servers follow one of the following steps: Create an ARIES RC le with -pa_os_cpu ARIES option for Java executable. Add the option -pa20 to Java invocation command line. WARNING: When using -pa_os_cpu ARIES option please be advised that there could be silent performance drop in Integrity native JVM due to Java launcher being an HP 9000 executable. Thus use -pa_os_cpu ARIES option without executable path wild-cards in ARIES RC le for non-Java applications only. ARIES option -pa_os_cpu is not enabled in default ARIES conguration. Return to top
How to invoke chatr on HP 9000 executables

To invoke HP 9000 linker tools like ar, chatr, fastbind, ld, ldd, nm, odump, size, strip etc on HP-UX 11i on HP Integrity servers install following (or later) linker patch:
PHSS_36342 : s700_800 11.23 linker + fdp cumulative patch

The HP 9000 linker utilities and tools are installed under /pa/usr/ccs/bin directory and should be invoked as:
SDKROOT=/usr/ccs/pa chatr <PA-RISC_executable_name>

/usr/ccs

Return to top
How to get PA-RISC processor information

By default, ARIES returns Itanium processor information and HP-UX 11i version through emulation of sysconf() and uname() system calls. If the HP 9000 HP-UX application depends on PA-RISC processor information use ARIES option -pa_os_cpu in ARIES RC le. WARNING: When using -pa_os_cpu ARIES option please be advised that there could be silent performance drop in Integrity native JVM due to Java launcher being an HP 9000 executable. Thus use -pa_os_cpu ARIES option without executable path wild-cards in ARIES RC le for non-Java applications only. ARIES option -pa_os_cpu is not

7 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

enabled in default ARIES conguration. Return to top


When to increase pa_maxssiz_32bit | 64bit kernel tunable

The kernel tunable parameters pa_maxssiz_32bit (for 32-bit processes) and pa_maxssiz_64bit (for 64-bit processes) should be increased when application wants to: Create more no of threads than possible with default ARIES conguration (85 in 32-bit mode and 438 in 64-bit mode) Allocate more stack space than possible with default ARIES conguration (8 MB in 32-bit mode and 256 MB in 64-bit mode). Allocate larger ARIES code cache region (40 MB in 32-bit mode and 48 MB in 64-bit mode) Kernel tunable parameter pa_maxssiz_32bit species the size of ARIES private memory region AMA (ARIES managed area). At process startup time, ARIES reserves space for HP 9000 application stack with its maximum size computed as:
max_pa_stack_size

= least of the following two factors:

1. Current value of kernel tunable parameter maxssiz 2. Stack size value obtained from parent process Total size of all memory areas in AMA should be less than or equal to kernel tunable parameter pa_maxssiz_32bit value. AMA is divided into dierent memory regions as (items within brackets are ARIES options and must be prexed with a '-') :
pa_maxssiz_32bit >= max_pa_stack_size + ARIES heap size (heap_ssz) + ARIES translation code buffer size (ccsz) + ARIES AMAP size (amapsz) + ARIES code cache descriptors size (descsz) + ARIES translator heap (exc_dynt_heap_ssz) + 5 MB (ARIES data etc)

Examples 1. If a 32-bit HP 9000 application requires 128 MB stack, set the kernel tunable parameter pa_maxssiz_32bit to:
128 MB (ssz) + 22 MB (heap_ssz) + 16 MB (ccsz) + 16 MB (amapsz) + 8 MB (descsz) + 5 MB (exc_dynt_heap_ssz) + 5 MB = 200 MB

2. If a 32-bit PA-RISC application requires 128 MB of ARIES heap, set the kernel tunable parameter pa_maxssiz_32bit to:
8 MB (ssz) + 128 MB (heap_ssz) + 16 MB (ccsz) + 16 MB (amapsz) + 8 MB (descsz) + 5 MB (exc_dynt_heap_ssz) + 5 MB = 186 MB

Similarly, pa_maxssiz_64bit kernel tunable parameter value can be computed using 64-bit ARIES option values. To know the ARIES option value ranges using -help ARIES option. Refer to section Relation between pa_maxssiz_32bit | 64bit and

8 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

ARIES parameters in aries(5) man page. Return to top

Open popup menu About HP | Beginnning About HP content About HP Company Information Global Citizenship Environment Accessibility Investor Relations Jobs HP Videos Product Recycling Events End About HP content Close menu Support & Drivers | HP Labs | Open popup menu Resources | Beginnning Resources content Resources Promotions Subscribe Register Your Product Education & Training Quality / ISO Replacement Programs & Product Recalls Accessories & Parts How to Buy End Resources content Close menu Open popup menu Preferred Partners Beginnning Preferred Partners content Preferred Partners Buy from an HP Partner Become an HP Preferred Partner Log in to HP Partner Portal (Current HP Partners only) End Preferred Partners content Close menu Site Map | HP Mobile | Contact HP / Customer Service | Personal Data Rights Notice Privacy Statement |

9 of 10

03/05/2013 01:45 PM

HP ARIES troubleshooting tips and self help options

http://h21007.www2.hp.com/portal/site/dspp/menuitem....

Terms of Use | 2012 Hewlett-Packard Development Company, L.P Computers | Laptops | Desktops | Tablets | Workstations | Calculators | Computer Monitors Printer | Toner | Scanners | Ink Cartridges | Cloud Computing | Enterprise Security Software | Services | Networking | Servers | Storage | Application Lifecycle Management

10 of 10

03/05/2013 01:45 PM

Potrebbero piacerti anche