免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 22741 | 回复: 5

[求助] HP UNIX kcusage maxssiz :95.90% 报错求组 [复制链接]

论坛徽章:
0
发表于 2014-01-15 15:30 |显示全部楼层

请教一下怎么才能增加maxssiz 大小吗?

HP UNIX kcusage maxssiz :95.90%

谢谢

-----------------------------------------------------

root jbksrv [/]# kcusage
Tunable                 Usage / Setting
=============================================
filecache_max       297172992 / 1020264448
maxdsiz              18608128 / 1073741824
maxdsiz_64bit        71958528 / 4294967296
maxfiles_lim               65 / 4096
maxssiz               8044544 / 8388608
maxssiz_64bit          212992 / 268435456
maxtsiz               4898816 / 100663296
maxtsiz_64bit         3022848 / 1073741824
maxuprc                     7 / 256
max_thread_proc           101 / 1200
msgmbs                      0 / 8
msgmni                      2 / 512
msgtql                      0 / 1024
nflocks                    30 / 4096
ninode                    942 / 72192
nkthread                  546 / 8416
nproc                     172 / 4200
npty                        0 / 60

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
发表于 2014-01-15 20:40 |显示全部楼层
回复 1# yahoo

# man kctune
   

论坛徽章:
0
发表于 2014-01-16 16:46 |显示全部楼层
能再详细点吗?

谢谢

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
发表于 2014-01-16 19:49 |显示全部楼层
# kctune maxssiz=8388608
       * The automatic 'backup' configuration has been updated.
       * The requested changes have been applied to the currently
         running configuration.
Tunable              Value  Expression  Changes
maxssiz  (before)   800000  800000      Immed
         (now)     8388608  8388608

PS: 这是立即生效的,不需要重启。另外查一下maxssiz的manpage,不同系统有不同的最大允许值。

论坛徽章:
0
发表于 2014-05-28 10:39 |显示全部楼层
maxssiz 大小修改方法

root jbksrv [/]# sam

                                                   HP-UX System Management Homepage (Text User Interface)
                                                                            SMH
------------------------------------------------------------------------------------------------------------------------------------------------------------
a - Auditing and Security
c - Auditing and Security Attributes Configuration(new)
d - Peripheral Devices
e - Resource  Management
f - Disks and File Systems
g - Display
k - Kernel Configuration
l - Printers and Plotters(new)
m - Event Monitoring Service
n - Networking and Communications
o - View samlOg
p - Printers and Plotters
s - Software Management
u - Accounts for Users and Groups

2. k Enter

                                                                 SMH->Kernel Configuration
------------------------------------------------------------------------------------------------------------------------------------------------------------
    t - Tunables                        View or modify kernel tunables

    m - Modules                         View or modify kernel modules and drivers

    a - Alarms                          View or modify alarms for kernel tunables

    l - Log Viewer                      View the changes made to kernel tunables or modules

    u - Usage                           View usage of kernel tunables


    c - Manage Configuration            View the  options available to manage configurations

    b - Restore Previous Boot Values    Restores Previous Boot Values for Tunables And Modules

3. t Enter

                                                         SMH->Kernel Configuration->Tunables (All)
------------------------------------------------------------------------------------------------------------------------------------------------------------
Tunable                      Tuning      Current     Next Boot   Default     Usage     Module
                             Capability  Value       Value       Value
===================================================================================================================================================SCROLL /\
filecache_max                Auto        1020264448  -           1020264448  26.1%     fs_bufcache
filecache_min                Auto        102023168   -           102023168   -         fs_bufcache
fr_rulecache                 Dynamic     0           0           0           -         ipf
fr_statemax                  Dynamic     800000      800000      800000      -         ipf
fr_tcpidletimeout            Dynamic     86400       86400       86400       -         ipf
fr_tcptimewait               Dynamic     120         120         120         -         ipf
frnat_tcptimewait            Dynamic     120         120         120         -         ipf
fs_async                     Static      0           0           0           -         fs   
fs_symlinks                  Dynamic     20          20          20          -         fs   
ftable_hash_locks            Static      64          64          64          -         fs_filedscrp
gvid_no_claim_dev            Dynamic     0           0           0           -         gvid_core   
hires_timeout_enable         Dynamic     0           0           0           -         pm_callout  
hp_hfs_mtra_enabled          Static      1           1           1           -         ufs
intr_strobe_ics_pct          Dynamic     80          80          80          -         svc
io_ports_hash_locks          Static      64          64          64          -         io  
ipf_icmp6_passthru           Dynamic     0           0           0           -         ipf
ipl_buffer_sz                Dynamic     8192        8192        8192        -         ipf
ipl_logall                   Dynamic     0           0           0           -         ipf
ipl_suppress                 Dynamic     1           1           1           -         ipf
ipmi_watchdog_action         Dynamic     0           0           0           -         ipmi
ipnat_enable                 Dynamic     1           1           1           -         ipf
kmem_aggressive_caching      Dynamic     0           0           0           -         vm_kmem
ksi_alloc_max                Dynamic     33600       33600       33600       -         pm_sig         
ksi_send_max                 Static      32          32          32          -         pm_sig         
lcpu_attr                    Auto        0           -           0           -         pm_sched      
lotsfree_pct                 Dynamic     0           0           0           -         vm
max_acct_file_size           Dynamic     2560000     2560000     2560000     -         pm_acct
max_async_ports              Dynamic     4096        4096        4096        -         asyncdsk
max_mem_window               Dynamic     0           0           0           -         vm
max_thread_proc              Dynamic     1200        1200        256         8.4%      pm_proc
maxdsiz                      Dynamic     1073741824  1073741824  1073741824  1.7%      vm
maxdsiz_64bit                Dynamic     4294967296  4294967296  4294967296  0.6%      vm
maxfiles                     Static      2048        -           2048        -         fs
maxfiles_lim                 Dynamic     4096        4096        4096        2.9%      fs
maxssiz                      Dynamic     12582912    12582912    8388608     63.9%     vm
maxssiz_64bit                Dynamic     268435456   268435456   268435456   0.1%      vm
maxtsiz                      Dynamic     100663296   100663296   100663296   4.9%      vm
maxtsiz_64bit                Dynamic     1073741824  1073741824  1073741824  0.3%      vm
maxuprc                      Dynamic     256         256         256         3.9%      pm_proc
mprotect_reduce_protid_on    Dynamic     0           0           0           -         vm
msgmbs                       Dynamic     8           8           8           0.0%      pm_usync

4. maxssiz Enter

                                                     SMH->Kernel Configuration->Tunables (All)->Details
                                                                     Details : maxssiz
------------------------------------------------------------------------------------------------------------------------------------------------------------
     Tunable            maxssiz
============================================================================================================================================================
     Description        Maximum size of the stack segment of a 32-bit process (bytes)
     Dynamic            yes
     Subsystem          vm
     Default Value      8388608
     Current Value      12582912
     Planned Value      12582912
     Last Boot Value    8388608
     Constraints        maxssiz >= 262144
     Constraints        maxssiz <= 401604608
     Auto Tuning        Not Supported
     Current Usage      8044544

5.m 进行修改  1024的倍数  我的原来8MB 修改为12M了

6.修改输入设定大小

                                                 SMH->Kernel Configuration->Tunables (All)->Details->Modify
------------------------------------------------------------------------------------------------------------------------------------------------------------

Tunable             maxssiz
Description         Maximum size of the stack segment of a 32-bit process (bytes)
Module              vm
Current Value       12582912
Value at Next Boot  12582912
Value at Last Boot  8388608
Default Value       8388608
Constraints         maxssiz >= 262144
                    maxssiz <= 401604608
Can Change          Immediately or at Next Boot
     
     
     
NOTE:   If the new Value is specified as Default, the next boot value
        will be default value for the tunable as recommended by HP.
        However, if the tunable is being autotuned then the value assigned
        will be determined dynamically by kernel during run-time.


New setting[Expression/Value]:  ______12582912_____________

New setting (evaluated):  ________12582912___________
[ Recalculate ]


Do you want to hold the change until next reboot ?:   ( ) Yes
                                                      ( x) No

Back up the current configuration before applying change:   (X) Yes
                                                            ( ) No

Reason for change :  _______________________________________
[ Modify ] [ Preview ] [ Cancel ]


论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
发表于 2014-05-28 11:00 |显示全部楼层
回复 5# yahoo

这是SMH的修改方法,都可以~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP