HP UNIX kcusage maxssiz :95.90% 报错求组
请教一下怎么才能增加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
回复 1# yahoo
# man kctune
能再详细点吗?
谢谢 # kctune maxssiz=8388608
* The automatic 'backup' configuration has been updated.
* The requested changes have been applied to the currently
running configuration.
Tunable ValueExpressionChanges
maxssiz(before) 800000800000 Immed
(now) 83886088388608
PS: 这是立即生效的,不需要重启。另外查一下maxssiz的manpage,不同系统有不同的最大允许值。 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 - ResourceManagement
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 theoptions 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
CapabilityValue Value Value
===================================================================================================================================================SCROLL /\
filecache_max Auto 1020264448- 102026444826.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 1073741824107374182410737418241.7% vm
maxdsiz_64bit Dynamic 4294967296429496729642949672960.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 1073741824107374182410737418240.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 Boot12582912
Value at Last Boot8388608
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:______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 ]
回复 5# yahoo
这是SMH的修改方法,都可以~
页:
[1]