25.01.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring 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.

<strong>Monitoring</strong> <strong>Caché</strong> Using the Management Portal<br />

Identifier<br />

Total SMH Pages Used<br />

Definition<br />

Total directly allocated shared memory heap (SMH) and string table allocated SMH<br />

memory, together with the total used/available memory in the static memory table<br />

(SMT) and the general string table (GST); the number of 64-KB pages is displayed<br />

parenthetically.<br />

1.3 <strong>Monitoring</strong> Locks<br />

<strong>Caché</strong> locks are created when a <strong>Caché</strong> process issues a Lock command on a <strong>Caché</strong> entity, such as a local or global variable,<br />

as long as the entity is not already locked by another process. Entities need not exist in the database to lock them.<br />

To display or delete locks, navigate to the [System] > [Locks] page from the Operations section of the Management Portal<br />

home page. The table lists one row for each lock owner and lock waiter. If one lock is owned by more than one process,<br />

each owner has its own row.<br />

The Lock Table has the following column entries.<br />

Column Heading<br />

Owner<br />

Mode/Count<br />

Reference<br />

Directory<br />

System<br />

Remove<br />

Definition<br />

The process ID of the process holding or waiting for the lock. Contains the client<br />

system name if it is a remote lock.<br />

Lock mode and count of the lock item. If the lock count is 1 the count is not displayed.<br />

For details, see the Lock Modes table.<br />

Lock reference string of the lock item (does not include the database name).<br />

The database location of the lock item.<br />

The system name of where the lock is located, if it is the local system the column is<br />

blank.<br />

If this lock is removable, this option along with the Remove all locks for process option<br />

appears in the row. Click the appropriate option to remove the lock or remove all<br />

locks for the process.<br />

In most cases, the only time you need to remove locks is as a result of an application problem.<br />

For a more in-depth description of the Lock command and its features, see the Lock entry of the <strong>Caché</strong> ObjectScript Reference<br />

guide.<br />

You may need to enlarge the size of the lock table if your system uses a large number of locks. You can do this using the<br />

Management Portal:<br />

1. Navigate to the [System] > [Configuration] > [Advanced Memory Settings] page.<br />

2. In the locksiz (locksiz) row, click Edit.<br />

3. In the locksiz box, update the amount of memory allocated on your system for locks (in bytes), and click OK.<br />

The minimum is 65536; the maximum value depends on the value of gmheap (Generic Memory Heap Size). Increase<br />

the heap size if you need more room for the lock table. <strong>Caché</strong> rounds up the value to the next multiple of 64 KB. The<br />

default range is from 65536 – 1769472.<br />

4. Click Save and restart <strong>Caché</strong> for this information to take effect.<br />

The following table lists the possible values of the mode portion of the Mode/Count column.<br />

8 <strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!