docs: update elk/elasticsearch
This commit is contained in:
parent
3f850f80d9
commit
f017bed2e0
@ -2,7 +2,7 @@
|
|||||||
title: ElasticSearch
|
title: ElasticSearch
|
||||||
description: 安装以及使用文档
|
description: 安装以及使用文档
|
||||||
published: true
|
published: true
|
||||||
date: 2021-10-24T07:16:30.039Z
|
date: 2021-10-24T07:26:57.495Z
|
||||||
tags: elk
|
tags: elk
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2021-10-23T09:14:15.263Z
|
dateCreated: 2021-10-23T09:14:15.263Z
|
||||||
@ -82,14 +82,15 @@ curl http://192.168.0.156:9200
|
|||||||
* soft nofile 65536
|
* soft nofile 65536
|
||||||
* hard nofile 65536
|
* hard nofile 65536
|
||||||
|
|
||||||
* soft nproc 65536
|
* soft nproc 4096
|
||||||
* hard nproc 65536
|
* hard nproc 4096
|
||||||
```
|
```
|
||||||
|
|
||||||
> 1. nofile: 是每个进程可以打开的文件数的限制
|
> 1. nofile: 是每个进程可以打开的文件数的限制
|
||||||
> 2. soft nofile表示软限制,hard nofile表示硬限制,软限制要小于等于硬限制。上面两行语句表示,root用户的软限制为1000,硬限制为1200,即表示root用户能打开的最大文件数量为1000,不管它开启多少个shell。
|
> 2. nproc:是操作系统级别对每个用户创建的进程数的限制
|
||||||
> 3. nproc:是操作系统级别对每个用户创建的进程数的限制
|
> 3. soft表示软限制,hard表示硬限制,软限制要小于等于硬限制。
|
||||||
> 4.
|
> 4. \* 表示所有用户,如果要指定用户就替换为用户名,如:root nofile 65536...
|
||||||
|
> 5. 如果limits.conf没有做设定,则默认值是1024
|
||||||
|
|
||||||
此文件修改后需要重新登录用户,才会生效
|
此文件修改后需要重新登录用户,才会生效
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user