close_wake_blkdflks man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

close_wake_blkdflks(5)					close_wake_blkdflks(5)

NAME
       close_wake_blkdflks  - Wakeup the threads blocked for file segment lock
       upon file close.

VALUES
   Failsafe
   Default
   Allowed values
   Recommended values
       unless a multithreaded application requires close(2), not  to  wait  on
       threads blocked for file segment lock.

DESCRIPTION
       In  a  multithreaded  application  with	file segment locking, a thread
       calling close(2) might get blocked for some time or indefinitely.  This
       is  because, close(2) waits for the threads that are blocked to acquire
       the file segment lock to return to the application from the correspond‐
       ing file segment locking system call such as lockf(2) or fcntl(2).

       is  a  static  tunable that enables or disables support for the threads
       calling close(2) to wakeup the other threads of the same process, which
       are  sleeping  on  to  acquire  a  file segment lock in a multithreaded
       application.

   Who Is Expected to Change This Tunable?
       System administrators who require close(2) thread not to get blocked on
       the  other threads sleeping on to acquire a file segment lock in a mul‐
       tithreaded process.

   Restrictions on Changing
       Changes to this tunable only take effect after a reboot of the system.

   When Should the Tunable Be Turned On?
       The value of should be set to if multithread applications require their
       close(2)	 thread	 not  to get blocked indefinitely on the other threads
       waiting to acquire a file segment lock.	Changes are system-wide.

   What Are the Side Effects of Turning the Tunable On?
       In a multi threaded application, close(2) might take few more cycles to
       complete based on the number of threads in the process.

   When Should the Tunable Be Turned Off?
       The  value  of may be set to if there are no multithreaded applications
       that might make the close(2) thread to get  blocked  on	other  threads
       waiting to acquire a file segment lock using fcntl(2) or lockf(2).

   What Are the Side Effects of Turning the Tunable Off?
       In  a  multithread application involving file segment locking, close(2)
       thread may hang indefinitely.

   What Other Tunable Values Should Be Changed at the Same Time?
       None

WARNINGS
       All HP-UX kernel tunable parameters are release specific.  This parame‐
       ter  may	 be  removed or have its meaning changed in future releases of
       HP-UX.

       Installation of optional kernel software, from HP or other vendors, may
       cause  changes  to  tunable parameter values.  After installation, some
       tunable parameters may no longer be at the default or recommended  val‐
       ues.  For information about the effects of installation on tunable val‐
       ues, consult the documentation for the kernel software being installed.
       For  information	 about	optional  kernel  software  that  was  factory
       installed on your system, see at

AUTHOR
       was developed by HP.

SEE ALSO
       close(2), fcntl(2), lockf(2).

			   Tunable Kernel Parameters	close_wake_blkdflks(5)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net