起初没400 Bad request
过一段时间就产生了
[pid: 14558|app: 0|req: 23/23] 123.127.3.37 () {38 vars in 653 bytes} [Mon Aug 4 21:29:55 2014] GET / => generated 0 bytes in 6 msecs (HTTP/1.1 500) 4 headers in 147 bytes (1 switches on core 0)
[pid: 14558|app: 0|req: 24/24] 123.127.3.37 () {38 vars in 651 bytes} [Mon Aug 4 21:30:01 2014] GET / => generated 26 bytes in 2 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request / (ip 123.127.3.37) !!!
Mon Aug 4 21:30:40 2014 - write(): Broken pipe [proto/uwsgi.c line 138] during GET / (123.127.3.37)
[pid: 14558|app: 0|req: 25/25] 123.127.3.37 () {38 vars in 653 bytes} [Mon Aug 4 21:30:40 2014] GET / => generated 0 bytes in 6 msecs (HTTP/1.1 500) 4 headers in 147 bytes (1 switches on core 0)
SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /robots.txt (ip 66.249.73.168) !!!
Mon Aug 4 21:56:36 2014 - write(): Broken pipe [proto/uwsgi.c line 138] during GET /robots.txt (66.249.73.168)
[pid: 14558|app: 0|req: 26/26] 66.249.73.168 () {40 vars in 573 bytes} [Mon Aug 4 21:56:36 2014] GET /robots.txt => generated 0 bytes in 4 msecs (HTTP/1.1 404) 4 headers in 135 bytes (1 switches on core 0)
[pid: 14558|app: 0|req: 27/27] 222.218.51.29 () {28 vars in 307 bytes} [Mon Aug 4 22:01:48 2014] GET / => generated 26 bytes in 2 msecs (HTTP/1.0 400) 1 headers in 53 bytes (1 switches on core 0)
[pid: 14558|app: 0|req: 28/28] 182.136.237.186 () {28 vars in 309 bytes} [Mon Aug 4 22:03:09 2014] GET / => generated 26 bytes in 2 msecs (HTTP/1.0 400) 1 headers in 53 bytes (1 switches on core 0)
[email protected]:/var/log# ^C
[email protected]:/var/log# ls -l uwsgi.log
-rw-r----- 1 root root 8694 Aug 4 22:05 uwsgi.log
[email protected]:/var/log# vi uwsgi.log
[pid: 14558|app: 0|req: 29/29] 123.127.3.37 () {38 vars in 653 bytes} [Mon Aug 4 22:05:06 2014] GET / => generated 0 bytes in 6 msecs (HTTP/1.1 500) 4 headers in 147 bytes (1 switches on core 0)
[pid: 14558|app: 0|req: 30/30] 123.127.3.37 () {38 vars in 651 bytes} [Mon Aug 4 22:05:13 2014] GET / => generated 26 bytes in 2 msecs (HTTP/1.1 400) 1 headers in 53 bytes (1 switches on core 0)
部署中遇到的问题(三)