/etc/nginx/nginx.conf worker_rlimit_nofile#; --指定一个worker 进程所能打开的最大文件描述符数量worker_rlimit_sigpending#; --指定每个用户能够发往进程的信号的数量 性能优化相关的配置 1.work_processes - ...
分类:
其他好文 时间:
2020-05-28 23:39:54
阅读次数:
71
使用软件版本:elasticsearch7.6.2 配置运行环境更改系统参数: vim /etc/security/limits.conf * soft nofile 65537 * hard nofile 65537 * soft nproc 65537 * hard nproc 65537 vi ...
分类:
其他好文 时间:
2020-05-17 17:51:52
阅读次数:
165
修改/etc/security/limits.conf文件 * soft nofile 85536 * soft nproc 85536 * hard nofile 85536 * hard nproc 85536 * - nofile 85536 elasticsearch sfot nofile ...
分类:
其他好文 时间:
2020-05-03 18:35:23
阅读次数:
151
一,优化nginx的worker进程数 1,worker_processes应设置为多少? worker_processes 4; 如何设置这个值: worker_processes默认值是1,一般要设置为cpu的核心数量或核心数量x2 注意:是核心的数量,不是cpu的数量,一颗cpu可能有多个核心 ...
分类:
其他好文 时间:
2020-04-28 17:03:41
阅读次数:
82
一,nginx启动时提示打开文件数,ulimit的配置不起作用: 1, 2020/04/26 14:27:46 [notice] 1553#1553: getrlimit(RLIMIT_NOFILE): 1024:4096 用户可打开文件数 软限制是:1024 硬限制是: 4096 这个值太小,不适 ...
分类:
其他好文 时间:
2020-04-28 16:43:04
阅读次数:
212
soft/hard nofile(ulimit n H)(对应的配置文件:/etc/security/limits.conf) file max(/proc/sys/fs/file max) nr_open(/proc/sys/fs/nr_open) 参考文章:https://blog.csdn.n ...
分类:
系统相关 时间:
2020-04-20 21:28:22
阅读次数:
98
系统资源限制设置 vi /etc/security/limits.conf * soft nofile 1024000 * hard nofile 1024000 * soft noproc 1024000 * hard noproc 1024000 * soft core 1024000 * ha ...
分类:
其他好文 时间:
2020-04-14 18:56:21
阅读次数:
90
在Linux上面kettle-spoon启动问题 文件大小限制问题 修改此文件 /etc/security/limits.conf * soft nofile 327680 * hard nofile 327680 hdfs soft nproc 131072 hdfs hard nproc 131 ...
分类:
编程语言 时间:
2020-04-03 15:03:45
阅读次数:
81
一次项目中使用开源nginx反向代理NTLM的windows身份验证出现反复登陆框,最终分析属于keepalive 在NTLM认证过程中发生变化导致。 据此,将nginx.conf 配置修改如下 worker_processes auto; worker_rlimit_nofile 65535; e ...