动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Oracle教程 ]的信息

本月文章推荐
.Oracle函数列表速查.
.Oracle数据库备份技术.
.oracle中获取表空间ddl语句.
.DNS配置问答集.
.ORACLE SQL性能优化系列 (八).
.浅谈Oracle 10G 闪回恢.
.Oracle数据库中管理表空间和数据.
.Oracle数据库联机日志文件丢失处.
.运用Java如何存取Oracle中的CLOB.
.SQL Server 与Oracle的不同点(从.
.影响ORACLE汉字显示的字符集问题.
.用Control file恢复DB运行.
.oracle双机热备份方法.
.利用Java存储过程简化数据库操作.
.Oracle 10g学习手册1:证书的验证.
.为什么划分了独立的boot区以后gr.
.Oracle服务器参数文件spfile的使.
.铁道部运营财务收入系统Oracle数.
.oracle数据库备份与恢复a piece .
.深入了解Oracle数据恢复/挖掘工具.

ORACLE在HP-UX下的系列问题处理(40)

发表日期:2008-2-9 |



  Oracle 7.3.3 setprivgrp/大文本页错误
  
  问题描述
  
  在 HP-UX 10.20上的dmesg输出或syslog中发现下面的信息:
  Process pid num=1 does not have mem locking privileges
   ^ or a meaningful PID with PHKL_11902/3
   [PHKL_11959]
  required for using large text pages in this version.
  See setprivgrp command
  
  这是怎么回事?
  
  配置信息
  
  操作系统 - HP-UX
  版本 -
  硬件系统 - HP 9000
  系列 -H70
  
  解决方法
  
  这个显示表示执行了一个要求使用大文本页的二进制文件(因为"chatr +pi L" 在二进制文件上运行),用ADB 可以关闭该信息:
   echo "allow_superpage_text?W 0" adb -w /stand/vmunix
  
  安装了PHKL_12945/6后,就无须再用这种方式关闭(要求重新启动,并且假如重建内核,必须重复执行)。
  
  假如不应使用该特性,那么最好用chatr(1)重新设置二进制文件,请求应用缺省的4k 页。假如应当使用该特性,则进程执行时所在的组应当被赋予MLOCK 权限,例如,假如这是一个Oracle进程,Oracle 用户所在的组为dba:
  setprivgrp dba CHOWN MLOCK
  为永久性实现这个目的,应当修改/etc/privgroup (位于/sbin/init.d/set_prvgrp: /usr/sbin/setprivgrp -f /etc/privgroup)(如有边要创建该文件,添加一行"dba CHOWN MLOCK")。但假如使用了Advanced或Online JFS,则必须安装下面的VxFS补丁程序,以避免在装载可导致进程挂起、无法杀死的二进制文件过程中死锁。:
  PHKL_12945 (s700) 或 PHKL_12946 (s800).
  背景资料:
  处理器需要将虚拟地址映射到物理页地址上,它们使用一个硬件TLB (翻译后援缓冲器)来缓冲最近使用的译文。假如译文不在TLB中,就会出现读取页目录和更新TLB的开销。PA-8000 处理器与较老的处理器相比,TLB故障的代价更大,但是它可以处理更大的页面尺寸,所以您需要的TLB登录项可能更少。
  
  HP-UX 10.20 内核不能要求装载具有大文本页的二进制文件,因此它必须在exec(2)过程中读一次,然后将其锁入RAM中。只有在进程具有MLOCK 权限的情况下,内核才能进行此项处理,而这个权限是在已经用setprivgrp 赋予当前组的情况下获得的。
  
  TLB故障的减少和文本页故障的消除应当能够提高系统性能,代价就是启动时间稍微有些长(启动过程中装载整个的二进制文件),损失可用于其它目的的RAM页(现在内存中驻留整个二进制文件,而不只是最近使用过的页面)。
  .........following with all English text ....
  Oracle 7.3.3 setprivgrp/large text pages errors
  
  Problem Description
  
  On HP-UX 10.20, I see the following message in the dmesg output or syslog:
  
   Process pid num=1 does not have mem locking privileges
   ^ or a meaningful PID with PHKL_11902/3
   [PHKL_11959]
  
   required for using large text pages in this version.
   See setprivgrp command
  
  What is happening?
  
  Configuration Info
  
  Operating System - HP-UX
  Version -
  Hardware System - HP 9000
  Series -H70
  
  Solution
  
  This message means a binary was exec(2)uted which asked to use large text pages (because "chatr +pi L" was run on the binary file).
  The message can be disabled with ADB:
   echo "allow_superpage_text?W 0" adb -w /stand/vmunix
  
  Disabling it this way (which requires a reboot and must be repeated if the kernel was rebuilt) is no longer necessary with PHKL_12945/6.
  
  If the feature should not be used,
using chatr(1) to reset the binary to request the default 4k pages is the preferred method. If the
  feature should be used, the group the process is executing in should be granted the MLOCK privilege, e.g. if this is an Oracle
  process and the group the Oracle user is in is dba:
  setprivgrp dba CHOWN MLOCK
  To do this permanently, /etc/privgroup (which is read in
  /sbin/init.d/set_prvgrp: /usr/sbin/setprivgrp -f /etc/privgroup)
  should be edited (create if necessary, add a line "dba CHOWN MLOCK").
  However, if Advanced or Online JFS is used, the following VxFS patch
  needs to be installed to prevent a deadlock during the load of the binary that would result in a hung, un-killable process:
  PHKL_12945 (s700) or PHKL_12946 (s800).
  Background:
  Processors need to map virtual to physical page addresses. They use a
  piece of hardware, the TLB (Transaction Lookaside Buffer) to cache recently used translations. If a translation is not in the TLB,
  overhead to read the page Directory and update the TLB is incurred.
  PA-8000 processors have a larger penalty for a TLB miss than older processors, but can handle larger page sizes, so that you may need
  fewer TLB entries.
  
  The HP-UX 10.20 kernel cannot demand load a binary with large text pages, so it has to read it once during exec(2) and lock it into RAM.
  The kernel will only do that if the process has the MLOCK privilege,which is granted if the current group has been given this privilege with setprivgrp.
  
  The redUCtion of TLB misses and elimination of text page faults should increase performance. The cost is a slightly larger startup time (during which the whole binary is loaded) and the loss of RAM pages available
  for other purposes (the whole binary is now resident in memory, not just the recently used pages)
上一篇:ORACLE在HP-UX下的系列问题处理(44) 人气:455
下一篇:ORACLE在HP-UX下的系列问题处理(41) 人气:534
浏览全部Oracle教程的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-10-12 team论坛 v2.0.4 bulid 080916 A
2008-10-12 Roclog v3.1.6
2008-10-12 SupeV v1.0.1 简体中文 GBK
2008-10-12 NetCMS v1.6.0.1010 正式版
2008-10-12 PHP考试系统PPFrame v1.2.7
2008-10-12 LPAS个人相册 v1.6.3
2008-10-12 快问仿百度知道系统 动态-静态-互
2008-10-12 方卡广告防点击系统 V1.0 GB2312
2008-10-12 泡菜内容管理系统[PCMS] v1.0 Bu
2008-10-11 联系人分组工具 v1.1 中文破解版
2008-10-11 FaceMelter变脸 v2.0 汉化破解版
2008-10-11 PathTracker道路跟踪仪 v1.2 破解
2008-10-11 Rooms手机聊天室 v0.6.7 破解版
2008-10-11 RemoteDesktop远程桌面 v1.0 破解
2008-10-11 ProRemote远程调音台 v1.0.1 破解
2008-10-11 PicShare照片共享 v1.0.0 破解版
2008-10-11 Photogene照片编辑器 v1.5 汉化破
2008-10-11 WriteRoom共享文档 v1.0 破解版
  发表评论
姓 名: 验证码:
内 容:
站长工具:网站收录查询 | Google PR查询 | ALEXA排名查询 | CSS在线编辑器 | 广告代码 | js/vbs加密 | md5加密 | 进制转换 | UTF-8 转换工具 | Html转换js | Html转换asp | Html转换php | Html转换perl
实用工具:汉字翻译拼音 | 拼音字典 | 符号对照表 | 个税计算 | 实时汇率查询换算 | 经典小工具 | 汉字简繁转换 | 普通单位换算 | 公制单位换算 | 生辰老黄历 | 国内电话区号 | 国家代码与域名缩写 | 文字加密解密 | 健康查询 | 万年历 | 汉字横竖排版 | 手机号码查询 | 计算器 | ip搜索
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号