 |
» |
|
|
 |
 |
 |
|
|
 |
|
Patch Name: PHKL_25994
Patch Description: s700_800 11.11 Thread NOSTOP, Psets Enablement, Ufalloc
Creation Date: 02/06/27
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_24253: OTHER
Hung, Unkillable Process
Category Tags:
defect_repair enhancement general_release critical
manual_dependencies
Path Name: /hp-ux_patches/s700_800/11.X/PHKL_25994
Symptoms:
PHKL_25994:
( 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_25993, PHKL_25994, PHKL_25995, 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) system call.
PHKL_24569:
( SR:8606200799 CR:JAGad69975 )
This patch is a member of a set of patches needed to enable
the HP-UX Processor Sets product (PROCSETS). When PROCSETS
product is installed, it will install the full set of
required patches for that product, including this patch.
If the HP-UX Processor Sets product is not installed, this
change will have no impact on your system.
PHKL_24253:
( SR:8606159451 CR:JAGad28779 ) Duplicate
( SR:8606103740 CR:JAGab70789 )
A multi-threaded process being executed over NFS can become
hung and unkillable while performing either a fork, core,
setrlimit, SIGSTOP, or debugger operations. This can happen
with mutiple threads in different processes competing for
the same resource when one thread is stopped.
Defect Description:
PHKL_25994:
( 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:
This product update adds necessary infrastructure (variable
and pointer definitions) required to enable the Fast File
Descriptor Allocation Feature.
PHKL_24569:
( SR:8606200799 CR:JAGad69975 )
This patch contains minor enhancements required to support
the HP-UX Processor Sets product.
Resolution:
Enhancements added to handle pset inheritance in fork and
exit path when Processor Sets product is enabled.
PHKL_24253:
( SR:8606159451 CR:JAGad28779 ) Duplicate
( SR:8606103740 CR:JAGab70789 )
A thread acquires a lock and then sleeps interruptibly. The
interruptible sleep permits the thread to be stopped. Any
other thread attempting to acquire this lock will sleep
uninterruptibly until the lock is available. This
uninterruptible thread is also unkillable. This introduces
a deadlock potential in multi-threaded processes: when a
thread holding the lock, a thread desiring the lock, and a
third thread doing one of fork, setrlimit, core, SIGSTOP, or
debugger operations, all occur at the same time in the
same process, the deadlock is reached. The only way to
resolve the deadlock is to reboot the system. A similar
situation can occur when threads in different processes
are competing for the same NFS resource and the thread that
owns that resource is stopped via a signal, a debugger,
or a ctrl-Z.
This patch is part of a set of five patches (PHKL_24253,
PHKL_24254,PHKL_24255,PHKL_24256,PHKL_24257) that enable
P_NOSTOP, a new feature that prevents a process from being
unkillable. Each patch is independently installable.
Without all five installed, P_NOSTOP will be unavailable.
In order to prevent the process executed over NFS from
becoming unkillable, NFS must use the P_NOSTOP feature.
Usage of this feature was added to PHNE_23502.
Resolution:
If a thread acquires a lock and then sleeps interruptibly,
it is not permitted to be stopped if P_NOSTOP is set. This
prevents this thread from becoming unkillable and prevents
the deadlock.
SR:
8606103740 8606159451 8606200799 8606212631 8606217733
8606217874
Patch Files:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
/usr/conf/lib/libpm.a(kern_exit.o)
/usr/conf/lib/libpm.a(kern_fork.o)
/usr/conf/lib/libpm.a(pm_exec.o)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
/usr/conf/lib/libpm.a(kern_exit.o)
/usr/conf/lib/libpm.a(kern_fork.o)
/usr/conf/lib/libpm.a(pm_exec.o)
what(1) Output:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
/usr/conf/lib/libpm.a(kern_exit.o):
kern_exit.c $Date: 2002/06/25 15:23:53 $Revision: r1
1.11/3 PATCH_11.11 (PHKL_25994)
/usr/conf/lib/libpm.a(kern_fork.o):
kern_fork.c $Date: 2001/07/05 22:34:55 $Revision: r1
1.11/2 PATCH_11.11 (PHKL_24569)
/usr/conf/lib/libpm.a(pm_exec.o):
pm_exec.c $Date: 2001/05/29 12:00:15 $Revision: r11.
11/1 PATCH_11.11 (PHKL_24253)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
/usr/conf/lib/libpm.a(kern_exit.o):
kern_exit.c $Date: 2002/06/25 15:23:53 $Revision: r1
1.11/3 PATCH_11.11 (PHKL_25994)
/usr/conf/lib/libpm.a(kern_fork.o):
kern_fork.c $Date: 2001/07/05 22:34:55 $Revision: r1
1.11/2 PATCH_11.11 (PHKL_24569)
/usr/conf/lib/libpm.a(pm_exec.o):
pm_exec.c $Date: 2001/05/29 12:00:15 $Revision: r11.
11/1 PATCH_11.11 (PHKL_24253)
cksum(1) Output:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
1349966822 24492 /usr/conf/lib/libpm.a(kern_exit.o)
3890269849 18508 /usr/conf/lib/libpm.a(kern_fork.o)
1680304043 4052 /usr/conf/lib/libpm.a(pm_exec.o)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
2448740836 47160 /usr/conf/lib/libpm.a(kern_exit.o)
1166750053 36872 /usr/conf/lib/libpm.a(kern_fork.o)
2780165961 7760 /usr/conf/lib/libpm.a(pm_exec.o)
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies:
PHKL_25994:
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 product
update will have no impact on your system.
PHKL_24253: If NFS is installed on the system, all five
patches (PHNE_23502, PHKL_24253, PHKL_24254,PHKL_24255,
PHKL_24256, PHKL_24257) are required to resolve the process
hang/deadlock due to unkillable processes executed over NFS.
However, if NFS is not in use, none of these patches are
required.
Supersedes:
PHKL_24569 PHKL_24253
Equivalent Patches: None
Patch Package Size: 170 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_25994
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_25994.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHKL_25994. 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_25994.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHKL_25994.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHKL_25994.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|