Disclosed is an article of manufacture, system, and program for determining
device suspension and device blocking. Local session cache usage and residual counts
are compared against limit values associated with that session, wherein the limit
values comprise a device blocking count, a device blocking percent, a suspend count,
and a suspend percent for the local session. If a cache in trouble condition is
detected based on the comparison, the cache in trouble condition is processed to
determine whether one or more volumes are to be blocked or suspended.