Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
        More options        
HP.com Home
patch database

patch details: PHKL_25995

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map
Content starts here
» view selected patch list
The recommended patch is :  PHKL_30541
The most recent patch is :  PHKL_39133

   useful links
» Patch Family Tree

You may provide feedback on this document.
» patch name » patch description » creation date » post date » hardware platforms - os releases » products » filesets » automatic reboot? » status » critical » category tags » path name » symptoms » defect description » sr » patch files » what(1) output » cksum(1) output » patch conflicts » patch dependencies » hardware dependencies » other dependencies » supersedes » equivalent patches » patch package size » installation instructions » special installation instructions


Patch Name: PHKL_25995

Patch Description: s700_800 11.11 eventport syscalls; socket close(2); ufalloc

Creation Date: 02/06/18

Post Date: 02/07/23

Hardware Platforms - OS Releases: 
	s700: 11.11
	s800: 11.11

Products: N/A

Filesets: 
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP

Automatic Reboot?: Yes

Status: General Superseded

Critical: 
	No (superseded patches were critical)
	PHKL_25871: HANG
		Mutithreaded proceses may hang in socket close(2)

Category Tags: 
	defect_repair enhancement general_release critical
	halts_system manual_dependencies

Path Name: /hp-ux_patches/s700_800/11.X/PHKL_25995

Symptoms: 
	PHKL_25995:
	( SR:8606217733 CR:JAGad86885 ) Duplicate
	( SR:8606217874 CR:JAGad87024 ) Duplicate
	( SR:8606212631 CR:JAGad81817 )

	Enhancement:  This product update is a member of a set
	needed to enable Fast File Descriptor allocation.  The full
	list of product updates required for this feature are:
	PHKL_25995, PHKL_25993, PHKL_25994, PHKL_25996.

	If any member of this set of product updates is not
	installed, this product update will have no impact on your
	system.

	Performance decreases when a large number of file
	descriptors are open and as more file descriptors are
	needed, there is an increase in the time spent in the
	open(2) call.

	PHKL_25871:
	( SR:8606178928 CR:JAGad48153 )
	A process may hang when attempting to perform a close(2) on
	a file descriptor created by the socket(2) system call.

	PHKL_25611:
	( SR:8606222220 CR:JAGad91335 )
	This patch is a member of a set of patches needed to enable
	the eventport pseudo driver feature delivered in PHKL_25468.
	The eventport driver patch specifies the full set of
	required patches for this new feature.

	If the eventport pseudo driver patch (or superseding patch)
	is not installed, this change will have no impact on you
	system.

Defect Description: 
	PHKL_25995:
	( SR:8606217733 CR:JAGad86885 ) Duplicate
	( SR:8606217874 CR:JAGad87024 ) Duplicate
	( SR:8606212631 CR:JAGad81817 )
	As a user program opens a large number of file descriptors,
	more time is spent in the file allocation routines because
	of the current linear algorithm which results in a
	performance decrease.

	Resolution:
	The solution to this problem is to implement a more
	efficient algorithm for managing file descriptors.

	PHKL_25871:
	( SR:8606178928 CR:JAGad48153 )
	In a mutlithreaded situtation, socket close(2) can cause a
	program to hang as a result of a race condition between the
	close(2) and the creat(2) of the socket.

	Resolution:
	Resolution involved several kernel related subsystems.  We
	now check to see if a thread in waiting in a state that
	could cause a process to block and we abort the call to the
	routine that would cause a hang.  The patches listed in
	other dependencies are necessary to allow and detect an
	error code that is necessary for detection of the waiting
	thread.

	PHKL_25611:
	( SR:8606222220 CR:JAGad91335 )
	This change contains minor enhancements required to support
	the eventport feature.

	Resolution:
	Enhancements added include a file descriptor subsytem
	interface used by the eventport driver and respective
	eventport driver callbacks.

SR: 
	8606178928 8606212631 8606217733 8606217874 8606222220

Patch Files: 
	
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
	/usr/conf/lib/libfs.a(kern_dscrp.o)

	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
	/usr/conf/lib/libfs.a(kern_dscrp.o)

what(1) Output: 
	
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
	/usr/conf/lib/libfs.a(kern_dscrp.o):
		kern_dscrp.c $Date: 2002/06/13 13:15:45 $Revision: r
			11.11/5 PATCH_11.11 (PHKL_25995)

	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
	/usr/conf/lib/libfs.a(kern_dscrp.o):
		kern_dscrp.c $Date: 2002/06/13 13:15:45 $Revision: r
			11.11/5 PATCH_11.11 (PHKL_25995)

cksum(1) Output: 
	
	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
	616811758 31296 /usr/conf/lib/libfs.a(kern_dscrp.o)

	OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
	3831500351 70656 /usr/conf/lib/libfs.a(kern_dscrp.o)

Patch Conflicts: None

Patch Dependencies: None

Hardware Dependencies: None

Other Dependencies: 
	PHKL_25995:
	To enable the Fast File Descriptor Allocation enhancement,
	the following product updates must be installed:
	PHKL_25993, PHKL_25994, PHKL_25995, PHKL_25996.  These
	product updates may be installed in any order.  If any of
	these product updates are not installed, this patch
	will have no impact on your system.

	PHKL_25871:  To enable the changes required to fix
	JAGad48153, the following must also be installed:
	PHKL_25840, PHKL_25842, PHNE_25644, PHNE_25084.  These
	product updates may be installed in any order.  If any of
	these product updates are not installed, this patch will
	have no impact on your system.

Supersedes: 
	PHKL_25871 PHKL_25611

Equivalent Patches: None

Patch Package Size: 130 KBytes

Installation Instructions: 
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHKL_25995

	5. Run swinstall to install the patch:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -s /tmp/PHKL_25995.depot

	By default swinstall will archive the original software in 
	/var/adm/sw/save/PHKL_25995.  If you do not wish to retain a
	copy of the original software, include the patch_save_files
	option in the swinstall command above:

		-x patch_save_files=false

	WARNING: If patch_save_files is false when a patch is installed,
		 the patch cannot be deinstalled.  Please be careful
		 when using this feature.

	For future reference, the contents of the PHKL_25995.text file is 
	available in the product readme:

		swlist -l product -a readme -d @ /tmp/PHKL_25995.depot

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHKL_25995.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None




» top of page
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.