Stopping the spooler, Stopping, The spooler – HP NonStop G-Series User Manual
Page 279
Performing Routine Spooler Operations Using
Spoolcom
Guardian User’s Guide — 425266-001
14 -17
Stopping the Spooler
allocated each time a unit is needed.
unit-size
can be any integer from 2
through 32,767. One collector can handle a maximum of 8192 units.
The maximum logical data file size is:
(unit-size * 1024) * 8192 = maximum-data-file-size
where
maximum-data-file-size
is a number in bytes.
Determine the value of
unit-size
carefully, because you cannot increase its size
after the collector is configured. If the value of
unit-size
is large and the
majority of spooled jobs are small, the last allocated unit of each job can contain a
lot of unused space. On the other hand, if the value of
unit-size
is small and the
majority of spooled jobs are large, more units must be allocated for each job and
more time is required to complete the jobs.
•
Once you calculate the unit size needed for the data file, you can determine the data
file’s total extent size.
The data file can have up to 16 extents. However, to prevent disk space
fragmentation, allocate the collector data file in one extent. You specify the extent
size when you create the collector data file (Step 3 of the coldstart procedure). For
example, if
unit-size
is 4, the extent size is 16384 and you create the data file
with the command:
> FUP CREATE file-name, EXT ( 16384, 0 )
•
If the size of spooled jobs varies greatly, configure several collectors with different
unit sizes. For example, configure $SS with unit size 2 for small jobs, $SM with unit
size 4 for medium jobs, and $SL with unit size 8 for large jobs.
•
You cannot change the data file size once you start the collector. To change the data
file size:
1. Drain the spooler.
2. Create a larger file and change the unit size if necessary.
3. Coldstart the spooler.
•
File-system error 45 might indicate that no more units are available for a job
because the file is full.
Stopping the Spooler
Stopping the spooler subsystem is similar to draining it. When you enter the SPOOLER,
DRAIN command, the spooler should come to an orderly halt after all currently printing
or spooling jobs finish.
If a SPOOLER, DRAIN operation does not succeed (that is, spooler activity does not
stop), you must stop the collectors, print processes, and spooler supervisor with the
TACL STOP command.