淘气的高老板 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
    关注
    评论

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?