淘气的高老板 2019-05-20 21:47 采纳率: 0%
浏览 4331
已结题

elastic search每次启动两个小时候就会关闭 no new native processes can be started

[2019-05-17T21:03:53,053][INFO ][o.e.c.s.ClusterApplierService] [iZ2zef277w0cjzq5lemt9yZ] master node changed {previous [], current [{iZ2zef277w0cjzq5lemt9yZ}{AFRhWM9lRj-afmUybgkBnQ}{jWINU8dxQTCR7Lfk70aNcA}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1927249920, xpack.installed=true, ml.max_open_jobs=20}]}, term: 9, version: 99, reason: Publication{term=9, version=99}
[2019-05-17T21:03:53,191][INFO ][o.e.h.AbstractHttpServerTransport] [iZ2zef277w0cjzq5lemt9yZ] publish_address {172.17.40.235:9200}, bound_addresses {0.0.0.0:9200}
[2019-05-17T21:03:53,191][INFO ][o.e.n.Node               ] [iZ2zef277w0cjzq5lemt9yZ] started
[2019-05-17T21:03:53,380][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [iZ2zef277w0cjzq5lemt9yZ] Failed to clear cache for realms [[]]
[2019-05-17T21:03:53,431][INFO ][o.e.l.LicenseService     ] [iZ2zef277w0cjzq5lemt9yZ] license [6a1a73e6-e92a-401d-88f6-08e00e66db73] mode [basic] - valid
[2019-05-17T21:03:53,442][INFO ][o.e.g.GatewayService     ] [iZ2zef277w0cjzq5lemt9yZ] recovered [7] indices into cluster_state
[2019-05-17T21:03:54,248][INFO ][o.e.c.r.a.AllocationService] [iZ2zef277w0cjzq5lemt9yZ] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana_task_manager][0], [.kibana_1][0]] ...]).
[2019-05-17T23:47:25,439][INFO ][o.e.x.m.p.NativeController] [iZ2zef277w0cjzq5lemt9yZ] Native controller process has stopped - no new native processes can be started

用户是ivanka

limits.conf的配置为

cat /etc/security/limits.conf
root soft nofile 65535
root hard nofile 65535
* soft nofile 65535
* hard nofile 65535
ivanka soft nofile 65535
ivanka hard nofile 65535

/etc/security/limits.d/20-nproc.conf 的配置为

cat /etc/security/limits.d/20-nproc.conf 
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

#*          soft    nproc     4096
ivanka          soft    nproc     40960
root       soft    nproc     unlimited
  • 写回答

2条回答 默认 最新

  • threenewbee 2019-05-21 00:06
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况
  • ¥15 画两个图 python或R
  • ¥15 在线请求openmv与pixhawk 实现实时目标跟踪的具体通讯方法
  • ¥15 八路抢答器设计出现故障
  • ¥15 请教一下c语言的代码里有一个地方不懂
  • ¥15 opencv 无法读取视频
  • ¥15 用matlab 实现通信仿真
  • ¥15 按键修改电子时钟,C51单片机
  • ¥60 Java中实现如何实现张量类,并用于图像处理(不运用其他科学计算库和图像处理库))
  • ¥20 5037端口被adb自己占了