nginx access log满引发的一个问题

Nginx 专栏收录该内容
4 篇文章 0 订阅

今天下午突然遇到一个问题: 报表直接进不去了,重启也没有生效。

最后发现是Nginx的log 目录满了。

有一个疑问就是: nginx log满了,报表前台为何会报js找不到?

难道是nginx代理了服务器上的静态文件。 

如何配置呢?

2021/08/21 13:46:33 [crit] 12048#0: *4095135 pwritev() "/usr/local/nginx/proxy_temp/0/92/0000128920" failed (28: No space left on device) while reading upstream, client: 10.56.204.21, server: localhost, request: "POST /sendMessage.do HTTP/1.1", upstream: "http://10.50.10.204:8087/sendMessage.do", host: "chotrptqms.cecchot.com", referrer: "http://chotrptqms.cecchot.com/goto?page=defectMap&func_code=Fnc_defectMap"
2021/08/21 13:46:35 [alert] 12047#0: *4094178 write() to "/usr/local/nginx/logs/access.log" was incomplete: 68 of 311 while logging request, client: 10.56.205.143, server: localhost, request: "GET /dfs/acf/A1575C1APK1/A118D/A118D08J/A118D08JBX/IMAGE/A385JA118D08JBX02H50007.JPG HTTP/1.1", host: "10.50.10.212", referrer: "http://10.50.10.212/goto?page=defectMap&func_code=Fnc_defectMap"
2021/08/21 13:46:35 [alert] 12046#0: *4094421 write() to "/usr/local/nginx/logs/access.log" failed (28: No space left on device) while logging request, client: 10.56.205.143, server: localhost, request: "GET /dfs/acf/A1575C1APK1/A118D/A118D08J/A118D08JBX/IMAGE/A385JA118D08JBX03H10022.JPG HTTP/1.1", host: "10.50.10.212", referrer: "http://10.50.10.212/goto?page=defectMap&func_code=Fnc_defectMap"
2021/08/21 13:46:35 [alert] 12049#0: *4094656 write() to "/usr/local/nginx/logs/access.log" failed (28: No space left on device) while logging request, client: 10.56.205.143, server: localhost, request: "GET /dfs/acf/A1575C1APK1/A118D/A118D08J/A118D08JBX/IMAGE/A385JA118D08JBX03H10015.JPG HTTP/1.1", host: "10.50.10.212", referrer: "http://10.50.10.212/goto?page=defectMap&func_code=Fnc_defectMap"
2021/08/21 13:46:36 [alert] 12048#0: *4095142 write() to "/usr/local/nginx/logs/access.log" failed (28: No space left on device) while logging request, client: 10.56.205.113, server: localhost, request: "POST /mapView/glassList?rows=1500&page=1 HTTP/1.1", upstream: "http://10.50.10.204:8086/mapView/glassList?rows=1500&page=1", host: "chotrptqms.cecchot.com", referrer: "http://chotrptqms.cecchot.com/goto?page=defectMap&func_code=Fnc_defectMap"

发现还有其他error log

connect() failed (111: Connection refused) while connecting to upstream

  • 0
    点赞
  • 1
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值