Tru64 Unix
取消
顯示結果 
搜尋替代 
您的意思是: 

要改哪個kernel參數,才能加大ulimit -a 裡的memory(kbytes)

要改哪個kernel參數,才能加大ulimit -a 裡的memory(kbytes)

# ulimit -a

time(seconds) unlimited

file(blocks) unlimited

data(kbytes) 1048567

stack(kbytes) 32768

memory(kbytes) 630008

coredump(blocks) unlimited

nofiles(descriptors) 4096

vmemory(kbytes) 4194304
2 回覆

要改哪個kernel參數,才能加大ulimit -a 裡的memory(kbytes)

/etc/sysconfigtab里面的ipc下的第一项你可以试试

要改哪個kernel參數,才能加大ulimit -a 裡的memory(kbytes)

Hi Joey,



The value of memory via "ulimit" that means the physical memory on Alpha system. So that it's not tunable.



If you want to use a large VM (vmemory) in one process. PLease modify both "proc" and "ipc" from /etc/sysconfigtab.



See "man sys_attr_proc" for the detailed explanation.

# sysconfig -q proc|grep per

max_proc_per_user = 256

max_threads_per_user = 1024

per_proc_stack_size = 8388608

max_per_proc_stack_size = 33554432

per_proc_data_size = 134217728 <=======

max_per_proc_data_size = 1073741824 <========

max_per_proc_address_space = 4294967296 <=======

per_proc_address_space = 4294967296 <=======

# sysconfig -q ipc|grep shm

shm_max = 4194304 <=== For DB share memory usage.

shm_min = 1

shm_mni = 128

shm_seg = 32

shm_allocate_striped = 1

shm_enable_core_dump = 1

#



Best regards,

Richard.