今天部署完网盘,发现首页访问不了,看了一下nginx的日志,发现连不上redis的端口,由于App和redis是在不同的docker,所以我就先telnet了一下redis所在docker的3306端口,发现可以连接,但是6379端口就不能

连接,打开/etc/security/limits.conf,发现少了两行,

* soft nofile 65535
* hard nofile 65535

插入这两行后,重启机器,就好了。(原因待续)

相关文章:

  • 2021-11-09
  • 2022-01-04
  • 2021-12-06
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-07-09
  • 2021-08-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-09-03
  • 2021-04-28
  • 2021-12-18
相关资源
相似解决方案