澳门·威尼斯人(中国)官方网站

澳门·威尼斯人(中国)官方网站

| 举报 切换到宽版

澳门·威尼斯人(中国)官方网站

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2021-9-29
跳转到指定楼层
1#
发表于 2023-1-1 15:30:12 |只看该作者 |倒序浏览
1.1.1  硬件要求
云化主机资源需要较多,大致规划如下
l   Oracle数据库2台,用于配置和生产数据,需要较高配置
l   DDAL和Nats消息系统18台,
l   余额服务12台,需要大内存
l   累积量服务12台,需要大存储
具体配置要求见主机需求excel!
1.1.2  系统要求
Red Hat Enterprise LinuxServer release 7.0(Santiago)或者以上
1.1.3  参数要求
系统参数ulimit按照如下要求设置
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 514978
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 102400
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 65536
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
ulimit参数:
-S  use the `soft' resource limit
      -H  use the `hard' resource limit
      -a  all current limits are reported
      -b  the socket buffer size
      -c  the maximum size of core files created
      -d  the maximum size of a process's data segment
      -e  the maximum scheduling priority (`nice')
      -f  the maximum size of files written by the shell and its children
      -i  the maximum number of pending signals
      -l  the maximum size a process may lock into memory
      -m  the maximum resident set size
      -n  the maximum number of open file descriptors
      -p  the pipe buffer size
      -q  the maximum number of bytes in POSIX message queues
      -r  the maximum real-time scheduling priority
      -s  the maximum stack size
      -t  the maximum amount of cpu time in seconds
      -u  the maximum number of user processes
      -v  the size of virtual memory
      -x  the maximum number of file locks
内核参数按照如下设置
#每个消息队列的最大字节限制
kernel.msgmnb = 2147483647
#每个消息的最大size.
kernel.msgmax = 2147483647
#内核参数定义单个共享内存段的最大值
kernel.shmmax = 68719476736
#参数是控制共享内存页数
kernel.shmall = 4294967296
kernel.unknown_nmi_panic = 1
#这个参数决定了系统中同时运行的最大的message queue的个数
kernel.msgmni = 60000
kernel.sem = 10000 32000 100 256
#SEMMSL     10000       表示每个信号集中的最大信号量数目
#SEMMNS     32000  表示系统范围内的最大信号量总数目
#SEMOPM     100      表示每个信号发生时的最大系统操作数目
#SEMMNI       256      表示系统范围内的最大信号集总数目
修改方式:root用户修改
1)        修改/etc/sysctl.conf
2)        重新加载sysctl-p /etc/sysctl.conf

3)        查看内核参数ipcs –l

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

( )|联系我们 |网站地图  

GMT+8, 2024-4-28 13:38 , Processed in 0.120977 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 All Rights Reserved

回顶部