Waste Bin Emptying and Garbage Collection [ HP DeskManager Administration ] MPE/iX 5.0 Documentation
HP DeskManager Administration
Waste Bin Emptying and Garbage Collection
If you have HP DeskManagerPLUS installed you can utilize the Bin Emptier
and Garbage Collector facilities to allow the removal of unwanted items
from the database fully concurrently with the rest of the system. One of
the advantages of this mechanism over Mailmaint is that users have access
to the full functionality of HP Desk while the programs are running.
The functions of the two components are described below.
NOTE The Bin Emptier and Garbage Collector will only run on an HP
DeskManagerPLUS system.
Waste Bin Emptier
This program is run at discreet times and releases the contents of users'
Waste Baskets for deletion from the database by the Garbage Collector.
From the users perspective the effect of running the Bin Emptier is
similar to running Mailmaint, that is, when a user signs on again after
he has previously moved items to the Waste Basket, the Waste Basket
appears empty. However, the contents of the emptied Waste Baskets still
occupy space in the database.
NOTE If a user session is active when the Bin Emptier program is run,
then the contents of the user's Waste Basket will NOT be emptied.
If a user has signed on as a designate of another user when the
program is run, then the designate's own Waste Basket will be
emptied, but the principal's Waste Basket will be left intact.
How to run the Bin Emptier program.
To run the Bin Emptier, type the command MAILBINEMPTY.
The MAILBINEMPTY command will typically take only a few seconds to
process, and will indicate its completion by a message to the console.
The Bin Emptier may alternatively be scheduled to run at predetermined
times automatically.
When to run the Bin Emptier
Since users may wish to retrieve items they have deleted from their Waste
Baskets, the Bin Emptier program should be run only at the end of each
day. This means the contents of users Waste Baskets will be accessible
all day, but will have been removed by the time they sign on to HP Desk
at the beginning of the next day.
The only exception to this might be that for some reason the databases
are near to filling up, and it is essential to allow the Garbage
Collector (see below) to reclaim some space in order that the system can
remain live.
The Garbage Collector (Shredder)
The function of the Garbage Collector is to run concurrently with the
rest of HP DeskManagerPLUS to deleted unwanted items in the database,
including the contents of Waste Baskets released by the Bin Emptier
program, and those items that accumulate through normal usage of the
product. These mostly include messages that have passed through this
computer onto another computer, but also include acknowledgment items,
temporary copies that are taken when the HP Desk user moves items from
one area to another.
The program physically removes items from the Item-Header, Item-Structure
and Item-Content data sets in the Local Database, so releasing space. If
the program is run continuously, then the accumulation of unwanted items,
and so the likelihood of the databases filling up, can be minimized.
Since the Garbage Collector can potentially impose a slight performance
overhead on the system, it is possible to configure when the program is
to be active during the day, and at which MPE priority it is to run, and
when it is to be inactive. This may be specified for each 15 minute
"time slice". By default, the program is configured to be inactive at
all times, and so it must be explicitly enabled on new HP DeskManagerPLUS
installations.
If the program is to be run continuously, you may wish to disable it, or
run it at a low priority during periods where the system is busy, for
example first thing in the morning and after lunch (which is typically
when most people read their mail).
________________________________________________________________________
| |
| How to configure the Garbage Collector profile: |
| |
| 1. Type MAILCONFIG. |
| |
| 2. Select the System Menu, and then the Garbage Collection |
| screen |
| |
| 3. Within the time slice matrix, specify either C (highest MPE |
| priority), D or E (lowest priority) to indicate that the |
| program should be active during this period, or X to indicate |
| the program should be inactive during this period. Press |
| Modify to effect the changes. |
| |
| These changes will be effective immediately the next time the |
| program is run, or within 2 minutes if the program is already |
| running. |
________________________________________________________________________
How to run the Garbage Collector
The Garbage Collector is started automatically with the rest of the
System with the MAILON command, and is stopped with MAILOFF or
MAILSHUTDOWN.
If you wish to explicitly stop the Garbage Collector you should type
MAILSHREDOFF. The program will then close down when it finishes deleting
the item is currently processing, and will indicate in a message to the
console the current capacity of the Item-Header, Item-Structure and
Item-Content data sets.
To start the program again, type MAILSHREDON.
Mailmaint Frequency
If you do not have HP DeskManagerPLUS, then you should run Mailmaint
every day that HP Desk is used. This is because in this case Mailmaint
performs the deletion of unwanted items, so keeping the database from
filling up.
If you have HP DeskManagerPLUS and you are making use of the Garbage
Collector, then you must still run Mailmaint. However, the frequency can
be reduced to once a week.
NOTE You should continue to perform daily backups of your system (see
"Database Backups" ). You may decide that you require the
Mailmaint report produced on a daily basis, in which case you will
continue to run the job each day.
Since Mailmaint requires exclusive access to HP Desk files for a period
of time, it is best to run the job at a time that causes least
inconvenience, for example, at night or at weekends.
MPE/iX 5.0 Documentation