LogServer服务效率的优化

1 TCP: out of memory – consider tuning tcp_mem

1
2018/05/08 08:56:29 [error] 27#27: *225448 readv() failed (104: Connection reset by peer) while reading upstream, client: 47.xx.xx.43, server: cdn.xxx.com, request: "GET /home/css/img/area-214f1779.png HTTP/1.1", upstream: "http://xx.xx.xx.xx:80/home/css/img/area-214f1779.png", host: "cdn.xxx.com", referrer: "http://cdn.xxx.com/home/css/index-1.0.9.css"

可能是TCP连接的内存不够引起的。
比较详细的查看方式

2 time_wait
https://blog.51cto.com/hld1992/2285410

Share