28.06.2014 Views

Sun Fire V445 Server Administration Guide - SCN Research

Sun Fire V445 Server Administration Guide - SCN Research

Sun Fire V445 Server Administration Guide - SCN Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

core dump directory to another locally mounted location so that you can better<br />

manage any system core dumps. In certain testing and pre-production<br />

environments, this is recommended since core dump files can take up a large<br />

amount of file system space.<br />

Swap space is used to save the dump of system memory. By default, Solaris software<br />

uses the first swap device that is defined. This first swap device is known as the<br />

dump device.<br />

During a system core dump, the system saves the content of kernel core memory to<br />

the dump device. The dump content is compressed during the dump process at a 3:1<br />

ratio; that is, if the system were using 6 Gbytes of kernel memory, the dump file will<br />

be about 2 Gbytes. For a typical system, the dump device should be at least one third<br />

the size of the total system memory.<br />

See “Enabling the Core Dump Process” on page 217 for instructions on how to<br />

calculate the amount of available swap space.<br />

Enabling the Core Dump Process<br />

This is normally a task that you would complete just prior to placing a system into<br />

the production environment.<br />

Access the system console. See:<br />

■ “About Communicating With the System” on page 24<br />

▼<br />

To Enable the Core Dump Process<br />

1. Check that the core dump process is enabled. As root, type the dumpadm<br />

command.<br />

# dumpadm<br />

Dump content: kernel pages<br />

Dump device: /dev/dsk/c0t0d0s1 (swap)<br />

Savecore directory: /var/crash/machinename<br />

Savecore enabled: yes<br />

By default, the core dump process is enabled in the Solaris 8 OS.<br />

Chapter 9 Troubleshooting 217

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!