This commit is contained in:
杨树明775174143 2018-09-18 09:43:29 +08:00
commit 810fc6b419
3 changed files with 162 additions and 17 deletions

View File

@ -3,24 +3,22 @@
<div class="pr">
<div class="commentPanel" id="commentPanel">
{% for self_anno in self_annos%}
{% if self_anno.linenum == 0 %}
{% if linenum == 0 %}
{% if isdir == 0 %}
<p class="ques-title">
该代码文件共有{{isdir}}个注释
该代码文件共有{{ annotation_length }}个注释
</p>
{% endif %}
{% if isdir == 1 %}
<p class="ques-title">
该代码模块共有{{isdir}}个注释
该代码模块共有{{ annotation_length }}个注释
</p>
{% endif %}
{% else %}
<p class="ques-title">
该代码行共有{{self_anno.linenum}}个注释
该代码行共有{{annotation_length}}个注释
</p>
{% endif %}
{% endfor %}
{% for self_anno in self_annos%}
<div class="fl thumbsThis topthumbsThis">

147
uwsgi.log
View File

@ -23282,3 +23282,150 @@ Not Found: /favicon.ico
[pid: 5438|app: 0|req: 160/1266] 14.108.15.52 () {52 vars in 1203 bytes} [Mon Sep 17 11:41:58 2018] POST /operations/show_annotation/ => generated 2458 bytes in 85 msecs (HTTP/1.1 200) 4 headers in 116 bytes (1 switches on core 0)
[pid: 5435|app: 0|req: 231/1267] 14.108.15.52 () {52 vars in 1195 bytes} [Mon Sep 17 11:44:42 2018] POST /operations/modify_anno/ => generated 38 bytes in 108 msecs (HTTP/1.1 200) 4 headers in 114 bytes (1 switches on core 0)
[pid: 5435|app: 0|req: 232/1268] 14.108.15.52 () {52 vars in 1195 bytes} [Mon Sep 17 11:45:07 2018] POST /operations/modify_anno/ => generated 38 bytes in 91 msecs (HTTP/1.1 200) 4 headers in 114 bytes (1 switches on core 1)
*** Starting uWSGI 2.0.17.1 (64bit) on [Mon Sep 17 18:32:32 2018] ***
compiled with version: 4.8.2 20140120 (Red Hat 4.8.2-15) on 20 July 2018 11:36:48
os: Linux-4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018
nodename: 10-23-6-29
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /projects/codepedia-test/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
chdir() to /projects/codepedia/codepedia2/
your processes number limit is 64113
your memory page size is 4096 bytes
detected max file descriptor number: 1000000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /projects/codepedia/codepedia2/my_sock.sock fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:17:00) [GCC 7.2.0]
Python main interpreter initialized at 0x252bf70
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 583632 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
Traceback (most recent call last):
File "/projects/codepedia/codepedia2/Codepedia2/wsgi.py", line 12, in <module>
from django.core.wsgi import get_wsgi_application
ModuleNotFoundError: No module named 'django'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 8043)
spawned uWSGI worker 1 (pid: 8044, cores: 2)
spawned uWSGI worker 2 (pid: 8045, cores: 2)
spawned uWSGI worker 3 (pid: 8046, cores: 2)
spawned uWSGI worker 4 (pid: 8047, cores: 2)
spawned uWSGI worker 5 (pid: 8048, cores: 2)
spawned uWSGI worker 6 (pid: 8049, cores: 2)
--- no python application found, check your startup logs for errors ---
[pid: 8047|app: -1|req: -1/1] 113.247.230.194 () {50 vars in 938 bytes} [Mon Sep 17 18:32:43 2018] POST /users/login/ => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8046|app: -1|req: -1/2] 113.247.230.194 () {40 vars in 678 bytes} [Mon Sep 17 18:32:57 2018] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/3] 113.247.230.194 () {50 vars in 1006 bytes} [Mon Sep 17 18:33:01 2018] POST /operations/get_addtab_paras/ => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8046|app: -1|req: -1/4] 113.247.230.194 () {42 vars in 801 bytes} [Mon Sep 17 18:33:06 2018] GET /users/login/ => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
Mon Sep 17 18:34:08 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/22/files/1420/functions/5704/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/5] 216.244.66.203 () {34 vars in 574 bytes} [Mon Sep 17 18:34:08 2018] GET /projects/22/files/1420/functions/5704/ => generated 0 bytes in 4 msecs (HTTP/1.1 500) 2 headers in 0 bytes (1 switches on core 1)
Mon Sep 17 18:36:08 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/17/?sort=&page=55 (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8047|app: -1|req: -1/6] 216.244.66.203 () {34 vars in 549 bytes} [Mon Sep 17 18:36:08 2018] GET /projects/17/?sort=&page=55 => generated 0 bytes in 4 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8044|app: -1|req: -1/7] 115.27.199.208 () {40 vars in 797 bytes} [Mon Sep 17 18:37:19 2018] GET /projects/tensorflow/tensorflow/core/framework?eid=38412 => generated 21 bytes in 2 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/8] 115.27.199.208 () {40 vars in 723 bytes} [Mon Sep 17 18:37:20 2018] GET /favicon.ico => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/9] 115.27.199.208 () {40 vars in 977 bytes} [Mon Sep 17 18:37:26 2018] GET /projects/hadoop/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce?eid=38412 => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (1 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8046|app: -1|req: -1/10] 115.27.199.208 () {40 vars in 813 bytes} [Mon Sep 17 18:37:26 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8046|app: -1|req: -1/11] 115.27.199.208 () {40 vars in 779 bytes} [Mon Sep 17 18:37:32 2018] GET /projects/OpenStack-nova/nova/compute?eid=38412 => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/12] 115.27.199.208 () {40 vars in 714 bytes} [Mon Sep 17 18:37:32 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/13] 115.27.199.208 () {40 vars in 779 bytes} [Mon Sep 17 18:37:44 2018] GET /projects/OpenStack-nova/nova/compute?eid=38412 => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/14] 115.27.199.208 () {40 vars in 714 bytes} [Mon Sep 17 18:37:45 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
Mon Sep 17 18:38:09 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 18:38:09 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/17/?sort=hot&page=8 (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8045|app: -1|req: -1/15] 216.244.66.203 () {34 vars in 553 bytes} [Mon Sep 17 18:38:09 2018] GET /projects/17/?sort=hot&page=8 => generated 0 bytes in 2 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8047|app: -1|req: -1/16] 119.109.42.139 () {40 vars in 662 bytes} [Mon Sep 17 18:39:24 2018] GET /projects/tensorflow/tensorflow/core/framework?eid=39167 => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8045|app: -1|req: -1/17] 119.109.42.139 () {38 vars in 512 bytes} [Mon Sep 17 18:39:25 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8046|app: -1|req: -1/18] 119.109.42.139 () {40 vars in 662 bytes} [Mon Sep 17 18:39:38 2018] GET /projects/tensorflow/tensorflow/core/framework?eid=39167 => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8045|app: -1|req: -1/19] 119.109.42.139 () {38 vars in 512 bytes} [Mon Sep 17 18:39:39 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
Mon Sep 17 18:58:43 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 18:58:43 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /robots.txt (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8047|app: -1|req: -1/20] 216.244.66.203 () {34 vars in 518 bytes} [Mon Sep 17 18:58:43 2018] GET /robots.txt => generated 0 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/21] 218.197.152.189 () {42 vars in 801 bytes} [Mon Sep 17 19:02:48 2018] GET /projects/pytorch/modules/CMakeLists.txt => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/22] 218.197.152.189 () {40 vars in 650 bytes} [Mon Sep 17 19:02:49 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (1 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8047|app: -1|req: -1/23] 218.197.152.189 () {40 vars in 650 bytes} [Mon Sep 17 19:02:49 2018] GET /favicon.ico => generated 21 bytes in 2 msecs (HTTP/1.1 500) 2 headers in 83 bytes (1 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/24] 218.197.152.189 () {40 vars in 710 bytes} [Mon Sep 17 19:02:49 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (1 switches on core 1)
Mon Sep 17 19:07:31 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 19:07:31 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/17/files/928/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/25] 216.244.66.203 () {34 vars in 542 bytes} [Mon Sep 17 19:07:31 2018] GET /projects/17/files/928/ => generated 0 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 0)
Mon Sep 17 19:08:01 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 19:08:01 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/18/files/1074/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/26] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:08:01 2018] GET /projects/18/files/1074/ => generated 0 bytes in 2 msecs (HTTP/1.1 500) 2 headers in 0 bytes (1 switches on core 0)
Mon Sep 17 19:10:02 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/18/files/1075/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/27] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:10:02 2018] GET /projects/18/files/1075/ => generated 0 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 0 bytes (1 switches on core 1)
Mon Sep 17 19:12:02 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/18/files/1076/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/28] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:12:02 2018] GET /projects/18/files/1076/ => generated 0 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 1)
Mon Sep 17 19:14:02 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 19:14:02 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/21/files/1146/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8048|app: -1|req: -1/29] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:14:02 2018] GET /projects/21/files/1146/ => generated 0 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/30] 115.27.199.208 () {40 vars in 797 bytes} [Mon Sep 17 19:14:13 2018] GET /projects/tensorflow/tensorflow/core/framework?eid=38412 => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8045|app: -1|req: -1/31] 115.27.199.208 () {40 vars in 723 bytes} [Mon Sep 17 19:14:13 2018] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 8045|app: -1|req: -1/32] 180.183.14.57 () {32 vars in 461 bytes} [Mon Sep 17 19:15:33 2018] GET / => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 8044|app: -1|req: -1/33] 180.183.14.57 () {32 vars in 462 bytes} [Mon Sep 17 19:15:33 2018] GET / => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
Mon Sep 17 19:16:06 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/21/files/1171/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8049|app: -1|req: -1/34] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:16:06 2018] GET /projects/21/files/1171/ => generated 0 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 0 bytes (1 switches on core 1)
Mon Sep 17 19:18:07 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/23/files/1740/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8045|app: -1|req: -1/35] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:18:07 2018] GET /projects/23/files/1740/ => generated 0 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 0 bytes (1 switches on core 1)
Mon Sep 17 19:20:07 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/45/files/2426/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8044|app: -1|req: -1/36] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:20:07 2018] GET /projects/45/files/2426/ => generated 0 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 1)
Mon Sep 17 19:22:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 19:22:08 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/45/files/3198/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8044|app: -1|req: -1/37] 216.244.66.203 () {34 vars in 544 bytes} [Mon Sep 17 19:22:08 2018] GET /projects/45/files/3198/ => generated 0 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 0)
Mon Sep 17 19:24:08 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/45/files/3102/functions/18802/ (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8044|app: -1|req: -1/38] 216.244.66.203 () {34 vars in 576 bytes} [Mon Sep 17 19:24:08 2018] GET /projects/45/files/3102/functions/18802/ => generated 0 bytes in 2 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 1)
Mon Sep 17 19:26:09 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!!
Mon Sep 17 19:26:09 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/19/?page=52 (216.244.66.203)
--- no python application found, check your startup logs for errors ---
[pid: 8044|app: -1|req: -1/39] 216.244.66.203 () {34 vars in 537 bytes} [Mon Sep 17 19:26:09 2018] GET /projects/19/?page=52 => generated 0 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 0 bytes (0 switches on core 0)

View File

@ -1 +1 @@
5433
8043