Fixing Error: "Maximum number of clients reached"

Context

The error "maximum number of clients reached" occurs when SAProuter cannot accept any further clients because the maximum number has been reached (default 800). However, SAProuter continues running with all other clients.

Procedure

  1. Perform a soft shutdown of SAProuter with option saprouter -p (IBM i: call saprouter ('-p')).
    Following a soft shutdown, SAProuter continues to run on a different port.
  2. Optional: Restart SAProuter on the old port with option saprouter -C <number of clients> (IBM i: call saprouter '-C '<number of clients>' )) and enter a higher number of clients.
  3. Optional: You can automate the procedure from step 2 by starting SAProuter with option saprouter -Y (IBM i: Start call saprouter ( '-Y' )).
    In this case, a new SAProuter is started every time the client table becomes full.