Sybase ADAPTIVE 15.0.2 User Manual

Page 41

Advertising
background image

CHAPTER 2 Installing Adaptive Server

Installation Guide

25

project-sybase:200:For use by Sybase:sybase:sybase:

project.max-shm-memory=\(privileged,17179869184,deny)

project.max-shm-memory=(privileged,17179869184,deny)

– this is the name

for the project parameter that replaces the old

shminfo-shmmax

parameter.

“privilege” is a threshold value on a resource control that constitutes a
point at which local actions can be triggered or global actions such as
logging in to machine can occur. Three privilege levels exist: “basic”- can
be modified by owner of the calling process, “privilege” - can be modified
by privileged callers, “system” - is fixed for the duration of the operating
system instance.

In specifying the threshold value of “privilege”, you can use the
abbreviation “priv” For example:

project.max-shm-memory=(priv, 17179869184, deny)

"17179869184" is the threshold value (16GB) on the resource control

deny – means attempts to use more than 16GB are denied.

The default value for

project.max-shm-memory

is 25% of the physical

memory on the system. The maximum value is UINT64_MAX, which
works out to 18446744073709551615 bytes, so essentially this is limited
only by the size of physical memory.

The setting

project.max-shm-memory

can be done while the system is

running by using the prctl command. The rctladm command can be used
to set things permanently.

16

17

18 Adjust shared memory segments.

Depending on the number and types of devices you use for backup (dump)
and recovery (load), you may need to adjust the shared memory segment
parameter in the operating system configuration file to accommodate
concurrent Backup Server processes. The default number of shared
memory segments available for process attachments is 6.

Adaptive Server may allocate shared memory segments after start-up if
any reconfiguration through

sp_configure

requires additional memory. You

may need to account for these additional segments. Allocate the maximum
memory you will make available to Adaptive Server, by using the

allocate

max shared memory

configuration parameter. See the System

Administration Guide for more information.

Advertising