25.01.2015 Views

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Calculating System Parameters for UNIX and Linux<br />

B.2.2.5 Sun Solaris Platform Notes<br />

The Solaris 10 release no longer uses the /etc/system mechanism to tune the IPC shared<br />

memory parameters. These allocations are now automatic or configured through the resource<br />

controls mechanism.<br />

If you try to use /etc/system on Solaris 10, you may receive the following message:<br />

* IPC Shared Memory<br />

*<br />

* The IPC Shared Memory module no longer has system-wide limits.<br />

* Please see the "Solaris Tunable Parameters Reference Manual" for<br />

* information on how the old limits map to resource controls and<br />

* the prctl(1) and getrctl(2) manual pages for information on<br />

* observing the new limits.<br />

See “Chapter 6 Resource Controls (Overview)” of the System Administration <strong>Guide</strong>: Solaris<br />

Containers-Resource Management and Solaris Zones on the Sun Web site for detailed<br />

information on using the rctladm, prctl, and projects commands to set Solaris 10 parameters.<br />

See the Solaris Tunable Parameters Reference Manual for specific information on Solaris<br />

tunable parameters.<br />

B.2.2.6 SUSE Linux Platform Notes<br />

The default shared memory limits (shhmax and shmall) on SUSE Linux platforms are too<br />

small for <strong>Caché</strong>, and can be changed in the proc file system without a restart.<br />

If the machine is being used only for <strong>Caché</strong>, <strong>InterSystems</strong> recommends setting the shared<br />

memory to approximately half the total memory.<br />

For example, to allow 512 MB, type the following commands:<br />

#sets shmall and shmmax shared memory<br />

echo 536870912 >/proc/sys/kernel/shmall<br />

echo 536870912 >/proc/sys/kernel/shmmax<br />

#Sets shmall to 512 MB<br />

#Sets shmmax to 512 MB<br />

You can also put these commands into a script run at startup.<br />

Also change the settings for the system memory user limits by modifying a file called<br />

/etc/profile. Add lines similar to the following:<br />

#sets user limits (ulimit) for system memory resources<br />

ulimit -v 512000 #set virtual (swap) memory to 512 MB<br />

ulimit -m 512000 #set physical memory to 512 MB<br />

In this same file, you can permanently change the values for the PATH and CLASSPATH<br />

parameters by adding lines similar to the following:<br />

84 <strong>Caché</strong> <strong>Installation</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!