System Administration Guide

How to Increase the Number of Lock Requests

By default, the number of lock requests that may occur simultaneously is 512. As users log out, they lock files, including utmp. If more than 512 users are likely to log out simultaneously (within a few seconds), the number of file locks allowed must be increased.

  1. Open the /etc/system file, using the editor of your choice.

  2. Add the following line to the file to increase the number of lock requests (default is 512).


    set tune_t_flckrec=value
    
  3. Exit the file, saving changes.

  4. Verify the tune_t_flckrec value change.


    # grep tune_t_flckrec /etc/system
    set tune_t_flckrec=value
    
  5. Reboot the system.

Example--Increasing the Number of Lock Requests

The following example increases the number of lock requests to 1024.


set tune_t_flckrec=1024