0

查看nginx日志 出现 不能分配内存的问题 , 安装mongodb4.2 和nginx1.15.12  上传图片 写入数据正常

tail -f /usr/local/nginx/logs/error.log

2020/08/13 14:53:27 [emerg] 57508#0: *655 malloc(18446744056529682432) failed (12: Cannot allocate memory), client: 192.168.199.1, server: 192.168.199.128, request: “GET /static/5f34b802d9da4e45b67a07d2 HTTP/1.1”, host: “192.168.199.128”
2020/08/13 14:53:27 [alert] 57508#0: *655 header already sent while sending response to client, client: 192.168.199.1, server: 192.168.199.128, request: “GET /static/5f34b802d9da4e45b67a07d2 HTTP/1.1”, host: “192.168.199.128”

更改状态以发布