- 论坛徽章:
- 0
|
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 ]
|
|