Chapter 6. SRR Module

Table of Contents

6.1. Increasing the Maximum Number of Named Processes

6.1. Increasing the Maximum Number of Named Processes

Problem:

The SrrNameAttach function returns an error: Resource Temporarily Unavailable.

Possible Cause:

There is a set maximum number of named processes in the SRR module, and this error is generated by an attempt to exceed the maximum.

Solution:

You can increase the maximum number using the following procedure:

  1. Edit the file mod/srr_tt.h in the SRR Module source tree, changing the value 128 in the line #define SRR_MAX_NAMES 128 to whatever you like.
  2. Recompile and re-install the SRR Module.
  3. Unload the current SRR Module by shutting down all programs that are using it and then issuing the command
    [sh]$ /sbin/rmmod srripc
    When you start a program that uses SRR, the newly installed SRR Module will be loaded into the kernel.