Monitoring memory use on your InfoPrint Manager server
- Select Server → Properties.
- Click the Show more button.
- Select the Memory Usage tab.
From the Memory Usage page, you can specify a low memory threshold percentage and a high memory threshold
percentage that cause InfoPrint to invoke a customized exit program or shell script
that you can write for your print installation. For example, if the server's system memory usage goes above 60% (the value for the upper memory usage threshold field), InfoPrint invokes a user-customized shell script (the /localtools/uplimit
value for the Upper memory usage exit field) that contains specific recovery actions for your print installation. If the
server's system memory usage drops below 59% (the value for the lower memory usage threshold field), InfoPrint calls a user-customized shell script (the /localtools/lowlimit
value for the Lower memory usage exit field) that contains specific recovery actions for your
print installation. This exit usually restores the previous state of the server, undoing
temporary changes made by the upper threshold exit.
The customized exit programs or shell scripts can do as little or as much as you specify.
For example, you might write a script to disable a certain set of printers. The script
could also move jobs to other servers. Both the lower-memory-usage-exit and upper-memory-usage-exit server attributes allow you to substitute values in the commands that are generated
to run the exit program. For example, %s
is equivalent to server name and %t
is equivalent to threshold value. If a particular exit attribute contains a value of memprob %s
in the server server1, then when InfoPrint invokes the memory usage shell script it passes server1
as the first argument.
For example, a shell script named uplimit
might:
- Prevent new jobs from arriving at a logical destination by disabling that InfoPrint object.
- Prevent the listing of jobs so that queries of the current backlog do not add to the memory constraints.
- Ensure that any actual destinations (in this case, the three pooled actual destinations
named
ad
n) are re-enabled, so that they can reduce any backlog of jobs that could be causing the problem.
The uplimit
script might look like this:
#!/bin/ksh pddisable prt1-ld pdset -cserv -xdisallow-list-obj-class=job server1 pdenable ad1 ad2 ad3
The lowlimit
script might look like this:
- Re-enable the logical destination so that new jobs are being accepted.
- Reset the server to allow the listing of job queries.
The lowlimit
script might look like this:
#!/bin/ksh pdenable prt1-ld pdset -cserv -xdisallow-list-obj-class== server1
Note that if the shell scripts or programs are not in the system path, you must specify the fully qualified path for the shell scripts that you have customized. If you misspell a shell script name or refer to a file that does not exist, InfoPrint lets you change the setting. For more information about the lower-memory-usage-threshold, lower-memory-usage-exit, upper-memory-usage-threshold, and upper-memory-usage-exit server attributes that support this feature, see RICOH InfoPrint Manager: Reference.
Once you have selected the appropriate values, click OK to apply this change and close the Server Properties dialog.