 |
≫ |
|
|
 |
パッチ名: PHKL_36085
パッチ摘要: s700_800 11.23 shmget(2)累積パッチ
作成日: 07/03/06
公開日: 07/03/28
ハードウェアプラットフォームおよびOSリリース:
s700: 11.23
s800: 11.23
現象:
PHKL_36085:
(SR:8606470396 CR:JAGag25491)
VM pstat(2)インタフェースと大きなSystem V共有メモリーオブジェクトを同
時に使用すると、システムが(数分間)ハングしているように見えます。
問題点の説明:
PHKL_36085:
(SR:8606470396 CR:JAGag25491)
大きなメモリーオブジェクトの削除操作には非常に時間がかかることがありま
す。ところが、そのオブジェクトを参照するpstat(2)呼び出しが、その削除操
作が完了するまでブロックされていました。
解決方法:
実際に共有メモリー領域を分解する前に、共有メモリーロック(rwロックおよ
びオブジェクトごとのbsema)を解放するようにコードを修正しました。
これで、領域の分解中に、pstat_getdynamic(2)呼び出しが共有メモリーロッ
クによってブロックされることはありません。
-----------------------------------------------------------------------------
Patch Name: PHKL_36085
Patch Description: s700_800 11.23 shmget(2) cumulative patch
Creation Date: 07/03/06
Post Date: 07/03/28
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
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP
Automatic Reboot?: Yes
Status: General Release
Critical:
Yes
PHKL_36085: HANG
Category Tags:
defect_repair general_release critical halts_system
Path Name: /hp-ux_patches/s700_800/11.X/PHKL_36085
Symptoms:
PHKL_36085:
( SR:8606470396 CR:JAGag25491 )
Apparent hang(in minutes) for the system which uses VM
pstat(2) interfaces concurrent with large System V shared
memory objects.
PHKL_35478:
( SR:8606454841 CR:JAGag11461 )
Need to Support IPC_RELAXED_ISOLATION flag on HP-UX 11.23.
Defect Description:
PHKL_36085:
( SR:8606470396 CR:JAGag25491 )
Operations to finalize the removal of a large memory object
may take a significant amount of time -- and pstat(2) calls
referencing that object are blocked until the removal
completes.
Resolution:
Shared memory locks (rw lock and per-object bsema) are
released before the actual tearing down of shared memory
region. Thus, the pstat_getdynamic(2) calls will not block
on the shared memory lock while the region tear-down is
taking place.
PHKL_35478:
( SR:8606454841 CR:JAGag11461 )
Currently, the use of the IPC_RELAXED_ISOLATION flag in the
shmget(2) call will result in shmget(2) returning EINVAL.
Resolution:
On HP-UX 11.23, the IPC_RELAXED_ISOLATION flag will be
accepted and ignored. shmget(2) now, will not return EINVAL.
Enhancement:
No
SR:
8606470396 8606454841
Patch Files:
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/conf/lib/libshm.a(sysV_shm.o)
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/conf/lib/libshm.a(sysV_shm.o)
what(1) Output:
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
/usr/conf/lib/libshm.a(sysV_shm.o):
sysV_shm.c $Date: 2007/03/06 16:16:59 $Revision: r11
.23/4 PATCH_11.23 (PHKL_36085)
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
/usr/conf/lib/libshm.a(sysV_shm.o):
sysV_shm.c $Date: 2007/03/06 16:16:59 $Revision: r11
.23/4 PATCH_11.23 (PHKL_36085)
cksum(1) Output:
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
1792906178 76592 /usr/conf/lib/libshm.a(sysV_shm.o)
OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
2819366093 52680 /usr/conf/lib/libshm.a(sysV_shm.o)
Patch Conflicts: None
Patch Dependencies:
s700: 11.23: PHKL_31500
s800: 11.23: PHKL_31500
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHKL_35478
Equivalent Patches: None
Patch Package Size: 60 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_36085
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_36085.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHKL_36085. 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_36085.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHKL_36085.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHKL_36085.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|