部署中遇到的問題(三)

來源:互聯網
上載者:User

標籤:python   nginx   django   

起初沒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)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.