Novell Home

My Favorites

Close

Please to see your favorites.

JAVA core dumps occupy disk space in /usr/sbin

This document (7012623) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 1.7

Situation

JAVA core dumps (heapdump*, Snap* and javacore*) have been located in /usr/sbin and occupy disk space:
susemanager:~ # du -hs /usr/sbin/
2.2G    /usr/sbin/



Resolution

Add the following environment variables to /etc/profile.local:
export IBM_HEAPDUMP=TRUE
export IBM_HEAPDUMPDIR=/var/crash
export IBM_JAVACOREDIR=/var/crash
export IBM_COREDIR=/var/crash
and change the permissions on /var/crash to 1777:
chmod 1777 /var/crash
to allow the files get created by the respective user that owns the process. Restart spacewalk services to load the new settings:
spacewalk-service restart

Cause

In this case the dumps were caused by taskomatic which launches the JVM from /usr/sbin. The current settings store the core dumps in the executing directory.

Status

Reported to Engineering

Additional Information

  • /etc/profile.local does not exist by default and needs to be created manually.
  • The usual disk space usage of a default installation of SUSE Manager occupies roughly 10MB of data in /usr/sbin.
  • /var/crash may be used for kernel dumps as well. Please make sure there is enough disk space available at this location.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012623
  • Creation Date:18-JUN-13
  • Modified Date:19-JUN-13
    • SUSESUSE Manager

Did this document solve your problem? Provide Feedback