Patch Name: PHKL_20890

Patch Description: s700 10.20 VM, PM cumulative patch

Creation Date: 00/01/19

Post Date:  00/01/21

Hardware Platforms - OS Releases:
	s700: 10.20

Products: N/A

Filesets:
	OS-Core.CORE-KRN

Automatic Reboot?: Yes

Status: General Release

Critical:
	Yes
	PHKL_20890: MEMORY_LEAK

Path Name: /hp-ux_patches/s700/10.X/PHKL_20890

Symptoms:
	PHKL_20890:
	(SR: 8606114558   CR: JAGac29322)
	kernel memory leak when using setrlimit(2)
	RLIMIT_NOFILE to decrease the maximum number
	of open files

Defect Description:
	PHKL_20890:
	(SR: 8606114558   CR: JAGac29322)
	The setrlimit(2) handling routine failed to free
	previously allocated file descriptor chunks when a
	process forks and calls setrlimit(2) RLIMIT_NOFILE
	to decrease the maximum number of open files

	Resolution:
	The setrlimit(2) handling routine now correctly
	frees the unused file descriptor chunks across a
	fork

SR:
	8606114558

Patch Files:
	/usr/conf/lib/libhp-ux.a(pm_resource.o)

what(1) Output:
	/usr/conf/lib/libhp-ux.a(pm_resource.o):
		pm_resource.c $Date: 2000/01/19 10:22:27 $ $Revision
			: 1.7.98.15 $ PATCH_10.20 (PHKL_20890)

cksum(1) Output:
	2563024167 7188 /usr/conf/lib/libhp-ux.a(pm_resource.o)

Patch Conflicts: None

Patch Dependencies:
	s700: 10.20: PHKL_16750

Hardware Dependencies: None

Other Dependencies: None

Supersedes: None

Equivalent Patches:
	PHKL_20891:
	s800: 10.20

Patch Package Size: 70 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_20890

	5a. For a standalone system, run swinstall to install the
	    patch:

		swinstall -x autoreboot=true -x match_target=true \
			-s /tmp/PHKL_20890.depot

	By default swinstall will archive the original software in
	/var/adm/sw/patch/PHKL_20890.  If you do not wish to retain a
	copy of the original software, you can create an empty file
	named /var/adm/sw/patch/PATCH_NOSAVE.

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

	It is recommended that you move the PHKL_20890.text file to
	/var/adm/sw/patch for future reference.

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

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

Special Installation Instructions:
	This patch depends on base patch PHKL_16750 .
	For successful installation, please ensure that PHKL_16750
	is in the same depot with this patch, or PHKL_16750  is
	already installed.