欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

成功在搭载UOS操作系统的龙芯PC上安装达梦数据库DM8

最编程 2024-01-17 07:40:50
...
#修改操作系统资源限制 vim /etc/security/limits.conf dmdba soft noproc 65536 dmdba hard noproc 65536 dmdba soft nofile 65536 dmdba hard nofile 65536 dmdba hard core unlimited dmdba soft core unlimited vi /etc/security/limits.d/20-nproc.conf * soft nproc 65536 #修改内核参数 vim /etc/sysctl.conf fs.file-max = 6815744 fs.aio-max-nr = 1048576 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 vm.swappiness = 0 vm.dirty_background_ratio = 3 vm.dirty_ratio = 80 vm.dirty_expire_centisecs = 500 vm.dirty_writeback_centisecs = 100 #使内核参数生效: kernel.core_pattern = /backup/corefile/core.%p sysctl -p