Main Menu

KB#00188-Error 16, TCB(10)=-46 or -49, under Unix: TCB(10)=--37 under Linux - No Record Locks Available

Title:

Error 16, TCB(10)=-46 or -49, under Unix: TCB(10)=--37 under Linux - No Record Locks Available

Description:

The TCB(10)=-46 or -49 under Unix and -37 under Linux indicates that the system has run out of record locks. A TCB(10) -28 is indcation under SCO that the number of semaphores should be increased. In order to correct the problem, the system needs to have its record locks parameter increased or semaphores increased and the kernel needs to be re-linked. With this particular error, the system may appear to be frozen or give a 'kernel panic' message instead of BBx issuing an error. 

BBx uses one file lock per open file and one for each EXTRACT. 

GENERAL FORMULA: # system locks = max # of users * max # of OPENS * 1.2 

In order to configure the number of locks available to the system you'll need to check the kernel system configuration file. Note that the following is for informational purposes only, and was known to be correct circa 1990. Before attempting to modify these parameters, ensure that you have consulted with your system administrator. 

Xenix - (/usr/sys/conf/master) 

Altos Unix AIX IBM-RT - NFLOCKS - the number of system file locks. 

Unix - FLCKREC FLCKFIL NFILES - # of record locks file locks open files (all should equal each other). 

NCR Unix - NFRECLOCK - the general record locks parameter; NFLOCKS is for NCR specific programs and should be ignored. 

SCO Unix - FLCKREC (/etc/conf/cf.d/mtune) 

# cd /etc/conf/cf.d 
# ./configure -y FLCKREC [use -y to see current value of FLCKREC] 
# ./configure -o FLCKREC=700 [use -o to override 500 FLCKREC maximum] 
# ./link_unix 
# /etc/shutdown 

Contact your specific OS vendor for information specific to your operating system and how to increase file lock and semaphores parameters.



Last Modified: 03/20/2003 Product: PRO/5 Operating System: Unix Error Number: 16OS Error: 46,49,37

BASIS structures five components of their technology into the BBx Generations.

  Google+ View BASIS LinkedIN Profile Visit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel