Patch Name: PHKL_30753 Patch Description: s700_800 11.23 Fix system call sched_getscheduler() Creation Date: 04/04/21 Post Date: 04/06/09 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_30753: HANG If repeated calls are made to the system call sched_getscheduler(), then fork calls will ultimately fail leading to a system that is unusable until the system is rebooted. Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30753 Symptoms: PHKL_30753: ( SR:8606356258 CR:JAGaf16964 ) The sched_getscheduler() system call is consuming system resources that are never freed back to the system. Frequent use of this system call may lead to an unusable system, or system hang, which can be cleared only by rebooting the system. Defect Description: PHKL_30753: ( SR:8606356258 CR:JAGaf16964 ) The kernel resources for a process specified as the target of the sched_getscheduler() system call are not freed when the process exits. When there are many such processes, the system runs out of process resources leading to an unusable system where no new processes can be created. Resolution: Change the system call sched_getscheduler() to correctly free process resources before returning. Enhancement: No SR: 8606356258 Patch Files: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libpm.a(pm_rtsched.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libpm.a(pm_rtsched.o): pm_rtsched.c $Date: 2004/04/21 11:11:25 $Revision: r 11.23/1 PATCH_11.23 (PHKL_30753) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 910666149 66520 /usr/conf/lib/libpm.a(pm_rtsched.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 40 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_30753 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30753.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30753. 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_30753.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30753.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30753.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None