This commit is contained in:
wrmswindmill 2018-09-03 21:13:01 +08:00
commit 1ea45f5d74
11 changed files with 735 additions and 115 deletions

View File

@ -17,7 +17,7 @@ Including another URLconf
from django.urls import path
from .views import ShowIssueQuestionView, ShowAnnotationView, ShowNavigationView
from .views import AddAnnotationView, AddArticleView, AddQuestionView, AddIssueAnswerView, AddCommentView
from .views import UpdateAnnotationView, UpdateArticleView, UpdateQuestionView, UpdateAnswerView, UpdateCommentView,RightView,GetProjectTreeView
from .views import UpdateAnnotationView, UpdateArticleView, UpdateQuestionView, UpdateAnswerView, UpdateCommentView,RightView,GetJstreeIdView
from .views import AddVoteView, AcceptAnswerView, ShowMethodInfo, GetHotestIssuesView, Get_CodeReading_Content_View, AddQuestionAnswerView, GetAddtabParasView,ModifyAnnotationView
app_name = "operations"
@ -44,7 +44,5 @@ urlpatterns = [
path('get_addtab_paras/', GetAddtabParasView.as_view(),name='get_addtab_paras/'),
path('modify_anno/', ModifyAnnotationView.as_view(),name='modify_anno/'),
path('right/',RightView.as_view(),name='right/'),
path('get_project_tree/',GetProjectTreeView.as_view(),name='get_project_tree/'),
path('get_jstree_id/',GetJstreeIdView.as_view(),name='get_jstree_id/')
]

View File

@ -53,6 +53,23 @@ def get_group_users(user_id,file_id):
users = User.objects.filter(educoder_userid__in=educoder_userids)
return users
class GetJstreeIdView(View):
def post(self, request):
try:
project_id = request.POST.get("project_id","")
path = request.POST.get("path","")
path_id_map = projectTreeObj.get_project_pathidmap_by_projectid(project_id)
jstree_id = None
if path == "/":
jstree_id= path_id_map[""]
else:
jstree_id = path_id_map[path]
return HttpResponse(json.dumps({"status": "success", "jstree_id":jstree_id}), content_type='application/json')
except:
return HttpResponse(json.dumps({"status": "fail", "msg":"没有获取到改节点对应的id"}), content_type='application/json')
class ShowAnnotationView(View):
"""
@ -122,6 +139,8 @@ class ShowAnnotationView(View):
elif strategy.choice == 2:
annotations = self.get_group_annotation(file_id, line_num, request.user.pk)
annotation_length = len(self.get_all_annotations(file_id,line_num))
# all_anno_comment
anno_comments = AnnotationComment.objects.filter(annotation__in=annotations)
# anno_comments = sorted(anno_comments, key=lambda anno_comment: anno_comment.annotation_id)
@ -166,7 +185,7 @@ class ShowAnnotationView(View):
# if self_annotation is not None:
# annotations.filter(id=self_annotation.id).delete()
html_str = render_to_string('projects/filesub/annotation.html', {'linenum':line_num,'annos': annotations,"anno_comments":anno_comments,"self_annos":self_annotations,"allow_modify":allow_modify,"anno_vote_map":anno_vote_map,"comment_vote_map":comment_vote_map})
html_str = render_to_string('projects/filesub/annotation.html', {'linenum':line_num,'annos': annotations,"anno_comments":anno_comments,"self_annos":self_annotations,"allow_modify":allow_modify,"anno_vote_map":anno_vote_map,"comment_vote_map":comment_vote_map,"annotation_length":annotation_length})
return HttpResponse(json.dumps({"status": "success","html_str":html_str}), content_type='application/json')
# FIXME
@ -259,19 +278,23 @@ class ShowMethodInfo(View):
def post(self, request):
method_query_url = settings.OPENGROK_SEARCH_URL
query_str = request.POST.get('args','')
# query_str = "refs = Note & project = Notes"
# query_str = "refs=Note&file_id =12"
for arg_str in query_str.split("&"):
para_value = arg_str.split("=")
if len(para_value)==2 and para_value[0]=='project':
project_name = para_value[1]
project = Project.objects.filter(name=project_name).first()
if project.language is None:
#发邮件通知我出问题了
pass
else:
languageObj=Language.objects.filter(name=project.language).first()
if languageObj is not None:
query_str+= "&project="+languageObj.src
if len(para_value)==2 and para_value[0]=='file_id':
file_id = para_value[1]
project = File.objects.get(id=file_id).project
file_id_str="file_id="+file_id
project_str="project="+project.name
query_str = query_str.replace(file_id_str,project_str)
# if project.language is None:
# #发邮件通知我出问题了
# pass
# else:
# languageObj=Language.objects.filter(name=project.language).first()
# if languageObj is not None:
# query_str+= "&project="+languageObj.src
url = method_query_url+query_str
query_result = requests.get(url).text
@ -281,6 +304,7 @@ class ShowMethodInfo(View):
tmp_results = result_dict['results']
results = []
for i in range(len(tmp_results)):
path_origin = tmp_results[i]['path'][1:]
index = path_origin.find("/")
@ -290,7 +314,6 @@ class ShowMethodInfo(View):
code = tmp_results[i]['line']
code = str(base64.b64decode(code), 'utf-8')
results.append([filename, relative_path,path_origin,code])
html_str = render_to_string('projects/filesub/search-response.html', {'results': results, 'project_id': project.pk, })
return HttpResponse(json.dumps({"status": "success", "html_str":html_str}), content_type='application/json')
@ -1167,19 +1190,25 @@ def getQuestionByFileId():
pass
def get_url_mapping_project(url):
index = url.find("projects/")
# 获取projects/后面的字符串
url = url[index+len("projects/"):]
from utils.models import projectTreeObj
index1 = url.find("/")
class GetAddtabParasView(View):
def post(self, request):
url = request.POST.get('url','')
index = url.find("projects/")
# 获取projects/后面的字符串
url = url[index+len("projects/"):]
projectName = url[0:index1]
index = url.rfind("/")
if url.endswith("/"):
path = url[index1:-1]
if path=="":
filename=projectName
index1 = url.find("/")
projectName = url[0:index1]
index = url.rfind("/")
if url.endswith("/"):
path = url[index1:-1]
if path=="":
filename=projectName
else:
filename = url[index+1:-1]
else:
filename = url[index+1:-1]
else:
@ -1189,25 +1218,13 @@ def get_url_mapping_project(url):
project = Project.objects.get(name=projectName)
return project,path,filename
class GetAddtabParasView(View):
def post(self, request):
url = request.POST.get('url','')
project,path,filename = get_url_mapping_project(url)
path_id_map = projectTreeObj.get_project_pathidmap_by_projectid(project.id)
if path == "/":
first_tabs_jstree_id = path_id_map[""]
else:
first_tabs_jstree_id = path_id_map[path]
return HttpResponse(json.dumps({"status": "success", "project_id": project.id,"path":path,"filename":filename,"project_jstree_map":path_id_map,"first_tabs_jstree_id":first_tabs_jstree_id}), content_type='application/json')
# from utils import get_project_tree
# project_tree_obj = get_project_tree.ProjectTree()
# project_tree = project_tree_obj.getHtml(settings.SOURCEPATH+project.path)
# if path == "/":
# first_tabs_jstree_id = project_tree_obj.path_id_map[""]
# else:
# first_tabs_jstree_id = project_tree_obj.path_id_map[path]
# return HttpResponse(json.dumps({"status": "success", "project_id": project.id,"path":path,"filename":filename,"project_jstree_map":project_tree_obj.path_id_map,"first_tabs_jstree_id":first_tabs_jstree_id}), content_type='application/json')
return HttpResponse(json.dumps({"status": "success", "project_id": project.id,"path":path,"filename":filename,"first_tabs_jstree_id":first_tabs_jstree_id}), content_type='application/json')
# 可能len(all_symbol)==3对于除了java外其他编程语言会有问题
def getMethodNum(project_path,file_path):

View File

@ -12,6 +12,8 @@ from .forms import NewProjectForm
from operations.models import Article, Annotation, Issue, QuestionAnswer,AnnotationStrategy
from pure_pagination import Paginator, EmptyPage, PageNotAnInteger
from utils import get_project_tree,scanner_project
from utils.models import projectTreeObj
logger = logging.getLogger('django')
@ -163,8 +165,7 @@ class ProjectInfoView(View):
class ProjectSourceView(View):
def get(self, request, name, path):
project = Project.objects.filter(name=name).first()
# project_tree_obj = get_project_tree.ProjectTree()
# project_tree = project_tree_obj.getHtml(settings.SOURCEPATH+project.path)
project_tree = projectTreeObj.get_project_tree_by_projectid(project.id)
return render(request, 'projects/source.html', locals())

View File

@ -77,7 +77,7 @@ class ProjectTree:
def getHtml(self,path):
htmlstr = '<div id="jstree">'
htmlstr = '<div id="jstree" style="visibility: hidden;">'
try:
# 在这里把最开始的目录给加上
project_name = path.split("/")[-1]

View File

@ -13,6 +13,11 @@ body {
padding: 0px;
background-color: #F9F9F9;
min-width:1200px;
-moz-user-select: none; /*火狐*/
-webkit-user-select: none; /*webkit浏览器*/
-ms-user-select: none; /*IE10*/
-khtml-user-select: none; /*早期浏览器*/
user-select: none;
}
p, input, table {
@ -80,6 +85,11 @@ a {
color: #000;
}
.code_Area a{
text-decoration: underline;
color: white
}
a:hover {
color: #33A6D6;
text-decoration: underline;
@ -220,7 +230,8 @@ a:hover {
.left {
float: left;
width: 20%;
width: 16%;
min-width: 10%;
height: 100%;
overflow-y: auto;
-webkit-box-flex: 1;
@ -276,7 +287,7 @@ a:hover {
.left-rightlist {
position: absolute;
top: 0px;
width: 100%;
min-width: 100%;
padding-left: 50px;
box-sizing: border-box;
height: 100%;
@ -1205,7 +1216,7 @@ pre.prettyprint {
}
.filePathline {
margin-bottom: 10px;
margin-bottom: 8px;
}
.filePathline:last-child {
@ -1220,7 +1231,7 @@ pre.prettyprint {
}
.filePathline label {
color: #FFF !important;
color: #D0D0D0 !important;
}
.filePathline span label:first-child {
@ -1259,11 +1270,13 @@ color: #FFF !important;
.fileinfo-item:first-child span {
font-size: 16px;
color: #FFF;
color: #D0D0D0;
}
.colorD0D0D0{
color: #D0D0D0;
}
.fileinfo-item span {
color: #FFF;
color: #D0D0D0;
}
.navbar-right {
@ -1586,4 +1599,8 @@ color: #FFF !important;
}
.mt11{
margin-top:11px !important;
}
}
label {
margin-bottom: 8px !important;
}

View File

@ -395,8 +395,9 @@ function submit_question(file_id, line_num, content) {
function search_symbol(args) {
ev = window.event
if(ev==undefined){
// ev = window.event
ev = window.event;
if(ev==undefined){
ev=arguments.callee.caller.arguments[0]||window.event;
}
var mousePos = mouseCoords(ev)
@ -418,7 +419,7 @@ function search_symbol(args) {
$("#search_response").css("left", mousePos.x);
$("#search_response").html(data.html_str);
$("#search_response").show();
// ev.stopPropagation();
ev.stopPropagation();
}
}
});
@ -504,7 +505,7 @@ function show_currentLine(linenum) {
function hide_currentLine(linenum) {
// document.getElementById("code_" + linenum).style.backgroundColor = 'white';
document.getElementById("addanno_" + linenum).style.visibility = 'hidden';
document.getElementById("addanno_" + linenum).style.visibility = "hidden";
}
$(function () {
@ -751,18 +752,35 @@ function generate_codereading_anno_line(file_id,linenum,self_annos){
function generate_codereading_line(fileid,linenum,annos_count,issues_count,questions_count,line,issues,language){
var htmlstr = '<div id="'+fileid+'_L'+linenum+'" class="codeline codelinebox" onmouseover="show_currentLine(\''+fileid+'_'+linenum+'\')" onmouseout="hide_currentLine(\''+fileid+'_'+linenum+'\')">'
htmlstr += generate_codereading_linenum_and_codeline(linenum,line,language)
htmlstr += generate_codereading_linenum_and_codeline(linenum,line,language,fileid)
htmlstr += generate_codereading_linestatus(fileid,linenum,annos_count,issues_count,questions_count,issues)
htmlstr += '</div>'
return htmlstr
}
}
function generate_codereading_linenum_and_codeline(linenum,linem,language){
function add_hrefTag_into_line(line,file_id){
var regex = /\w+\(/g
var strs = line.match(regex)
if(strs!=null){
for(var i=0;i<strs.length;i++){
function_name = strs[i].substring(0,strs[i].length-1)
var search_symbol_str = '<text onclick="search_symbol(\'file_id='+String(file_id)+"&defs="+String(function_name)+'\')">'+function_name+"</text>"
var replace_str = '<a href="javascript:void(0)">'+search_symbol_str+'</a>('
line=line.replace(strs[i],replace_str)
}
return line
}
return line
}
function generate_codereading_linenum_and_codeline(linenum,line,language,file_id){
var line= add_hrefTag_into_line(line,file_id)
var htmlstr = ''
htmlstr += '<div class="linenum">'
htmlstr += linenum.toString()
htmlstr += '</div>'
htmlstr += '<div class="sourcecode">'
htmlstr += '<pre class="mypre" style="">'
htmlstr += '<code class="'+language+' mypre">'
@ -804,8 +822,6 @@ function generate_codereading_linestatus(fileid,linenum,annos_count,issues_count
function add_tab(project_id,path,filename) {
// var tree_node = $("#jstree").jstree("get_selected");
var tree_node = project_jstree_map[path]
console.log(tree_node)
var path_before = path
//需要将path处理一下因为css样式中/以及.是不行的
tmp_index = path.indexOf("#");
@ -815,9 +831,6 @@ function add_tab(project_id,path,filename) {
var path_input = path;
path = path_predeal(path)
// add to path
tree_nodes[path]=tree_node
if (tabSet.has(path)) {
open_tab(path_input)
@ -959,7 +972,27 @@ function add_tab(project_id,path,filename) {
}
}
});
$.ajax({
cache: false,
type: "POST",
url: '/operations/get_jstree_id/',
data: { 'project_id': project_id, 'path': path_input},
dataType: 'json',
async: true,
beforeSend: function (xhr, settings) {
xhr.setRequestHeader("X-CSRFToken", csrftoken);
},
success: function (data) {
if (data.status === 'success') {
var tree_node = data.jstree_id
tree_nodes[path]=tree_node
$('#jstree').jstree("deselect_all", true);
$('#jstree').jstree("select_node", tree_nodes[path]);
}
}
});
tabSet.add(path);
}
}
@ -1441,41 +1474,11 @@ function deal_votetag_color(vote_tag,msg,vote_value){
}
}
}
var project_jstree_map={}
window.onload = function () {
$(function(){
url = window.location.href;
var project_id=-1
var path = ""
var filename = ""
$('#jstree').jstree();
$("#jstree").css("visibility","visible");
$.ajax({
cache: false,
type: "POST",
url: '/operations/get_project_tree/',
data: { 'url': url },
dataType: 'json',
async: true,
beforeSend: function (xhr, settings) {
xhr.setRequestHeader("X-CSRFToken", csrftoken);
},
success: function (data) {
if (data.status === 'success') {
// 展开当前标签对应的节点
project_tree_html = data.project_jstree
document.getElementById("filelist-content").innerHTML = project_tree_html
// while(project_id==-1){
// }
$('#jstree').jstree();
add_tab(project_id,path,filename)
}
}
});
$.ajax({
cache: false,
type: "POST",
@ -1489,8 +1492,10 @@ window.onload = function () {
success: function (data) {
if (data.status === 'success') {
// 展开当前标签对应的节点
project_jstree_map=data.project_jstree_map
$('#jstree').jstree("deselect_all", true);
$('#jstree').jstree("select_node", "j1_1355554");
// 第一个标签页对应的id保存在first_tabs_jstree_id中
var first_tabs_jstree_id = data.first_tabs_jstree_id
//需要将path处理一下因为css样式中/以及.是不行的
@ -1513,4 +1518,4 @@ window.onload = function () {
}
}
});
}
})

View File

@ -3,7 +3,7 @@
<div class="pr">
<div class="commentPanel" id="commentPanel">
<p class="ques-title">
该代码块共有{{annos|length}}个注释
该代码块共有{{annotation_length}}个注释
</p>
{% for self_anno in self_annos%}

View File

@ -1,6 +1,6 @@
<div class="path_info">
<div class="clearfix path_infonav">
<span class="fl font-20 colorFFF">Module Information</span>
<span class="fl font-20 colorD0D0D0">Module Information</span>
{# <p class="fr">#}
{# <span class="fl mr15 mt7">#}
{# <img src="/static/image/annotation.png" onclick="show_dir_annotation({{file_id}})" class="mr3">#}
@ -84,7 +84,7 @@
</p>
</div> -->
{% if fileid_name_anno_issue %}
<div class="fl font-20 colorFFF">Annotated Files</div>
<div class="fl font-20 colorD0D0D0">Annotated Files</div>
<div class="filePathInfo">
<div></div>
<div class="clearfix filePathline fileinfo-item">
@ -94,7 +94,7 @@
</div>
{% for fileid, name_anno_issue in fileid_name_anno_issue.items %}
<div class="clearfix filePathline fileinfo-item">
<span><a style="color:#FFF !important" href="javascript:void(0)" onclick='add_tab("{{project_id}}","{{name_anno_issue.1}}","{{name_anno_issue.0}}")'>{{name_anno_issue.0}}</a></span>
<span><a style="color:#D0D0D0 !important" href="javascript:void(0)" onclick='add_tab("{{project_id}}","{{name_anno_issue.1}}","{{name_anno_issue.0}}")'>{{name_anno_issue.0}}</a></span>
<span>{{name_anno_issue.2}}</span>
<span>{{name_anno_issue.3}}</span>
</div>

View File

@ -1,11 +1,16 @@
<p class="search-title">搜索结果</p>
<div class="resultform">
{% for item in results %}
<div class="result-line">
<span class="fl">{{ forloop.counter }}. </span>
<a href="javascript:void(0)" class="re-path" title="{{item.2}}" onclick='add_tab({{project_id}},"{{item.1}}","{{item.0}}")'>{{ item.2|safe }}
<a href="javascript:void(0)" class="path-content" title="{{item.3}}" onclick='add_tab({{project_id}},"{{item.1}}","{{item.0}}")'>{{ item.3|safe }}
</div>
{% endfor %}
{% if results|length == 0 %}
{% else %}
{% for item in results %}
<div class="result-line">
<span class="fl">{{ forloop.counter }}. </span>
<a href="javascript:void(0)" class="re-path" title="{{item.2}}" onclick='add_tab({{project_id}},"{{item.1}}","{{item.0}}")'>{{ item.2|safe }}
<a href="javascript:void(0)" class="path-content" title="{{item.3}}" onclick='add_tab({{project_id}},"{{item.1}}","{{item.0}}")'>{{ item.3|safe }}
</div>
{% endfor %}
{% endif %}
</div>

View File

@ -27,6 +27,8 @@
<script type="application/javascript" src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<title>CodePedia-{{ project.name }}</title>
<link href="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.js"></script>
</head>
<body id="codepanel">
@ -58,7 +60,7 @@
<div class="clearfix modify-all">
<!-- <div class="clearfix modify-all" style="margin-top: 2px;"> -->
<div class="left">
<div class="left" id="dynamicLeft">
<ul class="fl left-tab mt40">
<li class="active">
<span class="ProjectName">Project</span>
@ -147,5 +149,20 @@
<span id="first_tabs_jstree_id">{{ first_tabs_jstree_id }}</span>
</body>
<script>
$('#dynamicLeft').resizable({
handles:'e',
maxWidth:2000,
minWidth:230,
resize:function(event,ui){
$('#filelist-conten').width($('#dynamicLeft').width());
}
});
$(window).resize(function() {
let bili=$('#file-list').width()/($('#filelist-content').width());
$('#filelist-content').width($('#filelist-content').width()*bili);
});
$('body').bind('resize',function(){return false;})
</script>
</html>
</html>

560
uwsgi.log
View File

@ -15606,3 +15606,563 @@ AttributeError: 'NoneType' object has no attribute 'path'
146
54
[pid: 28480|app: 0|req: 2/19] 106.17.96.134 () {52 vars in 1117 bytes} [Mon Aug 27 20:40:36 2018] POST /operations/get_codereading_content/ => generated 4146 bytes in 1283 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 1)
*** Starting uWSGI 2.0.17 (64bit) on [Thu Aug 30 15:11:22 2018] ***
compiled with version: 4.7.4 on 01 July 2018 07:56:49
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
detected number of CPU cores: 4
current working directory: /projects/codepedia/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//envs/codepedia2/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
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:14:56) [GCC 7.2.0]
Python main interpreter initialized at 0x1b380c0
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 583408 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1b380c0 pid: 1821 (default app)
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: 1821)
spawned uWSGI worker 1 (pid: 1823, cores: 2)
spawned uWSGI worker 2 (pid: 1824, cores: 2)
spawned uWSGI worker 3 (pid: 1825, cores: 2)
spawned uWSGI worker 4 (pid: 1828, cores: 2)
spawned uWSGI worker 5 (pid: 1830, cores: 2)
spawned uWSGI worker 6 (pid: 1832, cores: 2)
[pid: 1825|app: 0|req: 1/1] 119.85.30.113 () {44 vars in 847 bytes} [Thu Aug 30 15:11:31 2018] GET /projects/tensorflow/ => generated 2728965 bytes in 674 msecs (HTTP/1.1 200) 4 headers in 127 bytes (13 switches on core 0)
[pid: 1832|app: 0|req: 1/2] 119.85.30.113 () {52 vars in 1122 bytes} [Thu Aug 30 15:11:41 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 634 msecs (HTTP/1.1 200) 3 headers in 104 bytes (5 switches on core 0)
[pid: 1830|app: 0|req: 2/3] 119.85.30.113 () {52 vars in 1120 bytes} [Thu Aug 30 15:11:46 2018] POST /operations/show_navigation/ => generated 35 bytes in 404 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 1)
1
3
1
1
1
1
1
1
2
3
[pid: 1830|app: 0|req: 2/4] 119.85.30.113 () {52 vars in 1136 bytes} [Thu Aug 30 15:11:46 2018] POST /operations/get_codereading_content/ => generated 4536 bytes in 560 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
[pid: 1828|app: 0|req: 1/5] 119.85.30.113 () {52 vars in 1100 bytes} [Thu Aug 30 15:11:46 2018] POST /operations/right/ => generated 5261 bytes in 450 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
SIGINT/SIGQUIT received...killing workers...
worker 1 buried after 1 seconds
worker 2 buried after 1 seconds
worker 3 buried after 1 seconds
worker 4 buried after 1 seconds
worker 5 buried after 1 seconds
worker 6 buried after 1 seconds
goodbye to uWSGI.
VACUUM: pidfile removed.
VACUUM: unix socket /projects/codepedia/codepedia2/my_sock.sock removed.
*** Starting uWSGI 2.0.17 (64bit) on [Thu Aug 30 15:13:41 2018] ***
compiled with version: 4.7.4 on 01 July 2018 07:56:49
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
detected number of CPU cores: 4
current working directory: /projects/codepedia/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//envs/codepedia2/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
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:14:56) [GCC 7.2.0]
Python main interpreter initialized at 0x185c0c0
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 583408 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x185c0c0 pid: 2043 (default app)
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: 2043)
spawned uWSGI worker 1 (pid: 2045, cores: 2)
spawned uWSGI worker 2 (pid: 2046, cores: 2)
spawned uWSGI worker 3 (pid: 2048, cores: 2)
spawned uWSGI worker 4 (pid: 2050, cores: 2)
spawned uWSGI worker 5 (pid: 2051, cores: 2)
spawned uWSGI worker 6 (pid: 2054, cores: 2)
[pid: 2054|app: 0|req: 1/1] 119.85.30.113 () {44 vars in 847 bytes} [Thu Aug 30 15:14:04 2018] GET /projects/tensorflow/ => generated 2728965 bytes in 810 msecs (HTTP/1.1 200) 4 headers in 127 bytes (14 switches on core 0)
[pid: 2054|app: 0|req: 2/2] 119.85.30.113 () {52 vars in 1122 bytes} [Thu Aug 30 15:14:15 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 244 msecs (HTTP/1.1 200) 3 headers in 104 bytes (2 switches on core 1)
Internal Server Error: /projects/45/files/3922/
Traceback (most recent call last):
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch
return handler(request, *args, **kwargs)
File "/projects/codepedia/codepedia2/apps/projects/views.py", line 167, in get
project_tree = project_tree_obj.getHtml(settings.SOURCEPATH+project.path)
AttributeError: 'NoneType' object has no attribute 'path'
Thu Aug 30 15:14:23 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/45/files/3922/ (203.208.60.17)
OSError: write error
[pid: 2054|app: 0|req: 3/3] 203.208.60.17 () {38 vars in 759 bytes} [Thu Aug 30 15:14:23 2018] GET /projects/45/files/3922/ => generated 0 bytes in 99 msecs (HTTP/1.1 500) 4 headers in 0 bytes (0 switches on core 0)
[pid: 2054|app: 0|req: 4/4] 119.85.30.113 () {52 vars in 1100 bytes} [Thu Aug 30 15:14:25 2018] POST /operations/right/ => generated 5261 bytes in 119 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 1)
[pid: 2048|app: 0|req: 1/5] 119.85.30.113 () {52 vars in 1120 bytes} [Thu Aug 30 15:14:25 2018] POST /operations/show_navigation/ => generated 35 bytes in 546 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 0)
1
3
1
1
1
1
1
1
2
3
[pid: 2045|app: 0|req: 1/6] 119.85.30.113 () {52 vars in 1136 bytes} [Thu Aug 30 15:14:25 2018] POST /operations/get_codereading_content/ => generated 4536 bytes in 613 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 1)
Thu Aug 30 15:14:54 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/tools/setup_helpers/nnpack.py (203.208.60.64)
OSError: write error
[pid: 2054|app: 0|req: 5/7] 203.208.60.64 () {38 vars in 679 bytes} [Thu Aug 30 15:14:54 2018] GET /projects/pytorch/tools/setup_helpers/nnpack.py => generated 0 bytes in 129 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
Thu Aug 30 15:15:19 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/caffe2/contrib/script/error_report.h (203.208.60.11)
OSError: write error
[pid: 2046|app: 0|req: 1/8] 203.208.60.11 () {38 vars in 819 bytes} [Thu Aug 30 15:15:19 2018] GET /projects/pytorch/caffe2/contrib/script/error_report.h => generated 0 bytes in 660 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
Thu Aug 30 15:18:12 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/core/kernels/gather_nd_op_cpu_impl.h (203.208.60.3)
OSError: write error
[pid: 2051|app: 0|req: 1/9] 203.208.60.3 () {38 vars in 846 bytes} [Thu Aug 30 15:18:11 2018] GET /projects/tensorflow/tensorflow/core/kernels/gather_nd_op_cpu_impl.h => generated 0 bytes in 762 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 15:18:34 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/scikit-learn/examples/tree/README.txt (203.208.60.0)
OSError: write error
[pid: 2051|app: 0|req: 2/10] 203.208.60.0 () {38 vars in 678 bytes} [Thu Aug 30 15:18:34 2018] GET /projects/scikit-learn/examples/tree/README.txt => generated 0 bytes in 65 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
Thu Aug 30 15:22:15 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/torch/distributions/uniform.py (203.208.60.116)
OSError: write error
[pid: 2051|app: 0|req: 3/11] 203.208.60.116 () {38 vars in 682 bytes} [Thu Aug 30 15:22:15 2018] GET /projects/pytorch/torch/distributions/uniform.py => generated 0 bytes in 113 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
Thu Aug 30 15:22:50 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/contrib/framework/python/framework/experimental.py (203.208.60.98)
OSError: write error
[pid: 2054|app: 0|req: 6/12] 203.208.60.98 () {38 vars in 875 bytes} [Thu Aug 30 15:22:49 2018] GET /projects/tensorflow/tensorflow/contrib/framework/python/framework/experimental.py => generated 0 bytes in 250 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
Thu Aug 30 15:24:27 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/compiler/tf2xla/kernels/cross_op.cc (203.208.60.90)
OSError: write error
[pid: 2054|app: 0|req: 7/13] 203.208.60.90 () {38 vars in 845 bytes} [Thu Aug 30 15:24:27 2018] GET /projects/tensorflow/tensorflow/compiler/tf2xla/kernels/cross_op.cc => generated 0 bytes in 249 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
Thu Aug 30 15:25:54 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/scikit-learn/sklearn/manifold/t_sne.py (203.208.60.85)
OSError: write error
[pid: 2051|app: 0|req: 4/14] 203.208.60.85 () {38 vars in 681 bytes} [Thu Aug 30 15:25:54 2018] GET /projects/scikit-learn/sklearn/manifold/t_sne.py => generated 0 bytes in 57 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
Thu Aug 30 15:27:55 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/docs_src/api_guides/python/constant_op.md (203.208.60.17)
OSError: write error
[pid: 2050|app: 0|req: 1/15] 203.208.60.17 () {38 vars in 857 bytes} [Thu Aug 30 15:27:54 2018] GET /projects/tensorflow/tensorflow/docs_src/api_guides/python/constant_op.md => generated 0 bytes in 770 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
Thu Aug 30 15:29:34 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/modules/rocksdb/CMakeLists.txt (203.208.60.0)
OSError: write error
[pid: 2054|app: 0|req: 8/16] 203.208.60.0 () {38 vars in 680 bytes} [Thu Aug 30 15:29:34 2018] GET /projects/pytorch/modules/rocksdb/CMakeLists.txt => generated 0 bytes in 131 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 15:32:36 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/python/kernel_tests/where_op_test.py (203.208.60.51)
OSError: write error
[pid: 2054|app: 0|req: 9/17] 203.208.60.51 () {38 vars in 847 bytes} [Thu Aug 30 15:32:36 2018] GET /projects/tensorflow/tensorflow/python/kernel_tests/where_op_test.py => generated 0 bytes in 256 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
Thu Aug 30 15:32:53 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/caffe2/ideep/operators/spatial_batch_norm_op.cc (203.208.60.89)
OSError: write error
[pid: 2045|app: 0|req: 2/18] 203.208.60.89 () {38 vars in 841 bytes} [Thu Aug 30 15:32:52 2018] GET /projects/pytorch/caffe2/ideep/operators/spatial_batch_norm_op.cc => generated 0 bytes in 223 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 15:33:14 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/caffe2/operators/log_op_gpu.cc (203.208.60.28)
OSError: write error
[pid: 2054|app: 0|req: 10/19] 203.208.60.28 () {38 vars in 681 bytes} [Thu Aug 30 15:33:14 2018] GET /projects/pytorch/caffe2/operators/log_op_gpu.cc => generated 0 bytes in 120 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
Internal Server Error: /projects/45/files/2239/functions/12336/
Traceback (most recent call last):
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch
return handler(request, *args, **kwargs)
File "/projects/codepedia/codepedia2/apps/projects/views.py", line 167, in get
project_tree = project_tree_obj.getHtml(settings.SOURCEPATH+project.path)
AttributeError: 'NoneType' object has no attribute 'path'
Thu Aug 30 15:34:50 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/45/files/2239/functions/12336/ (203.208.60.72)
OSError: write error
[pid: 2054|app: 0|req: 11/20] 203.208.60.72 () {38 vars in 791 bytes} [Thu Aug 30 15:34:50 2018] GET /projects/45/files/2239/functions/12336/ => generated 0 bytes in 85 msecs (HTTP/1.1 500) 4 headers in 0 bytes (0 switches on core 0)
Thu Aug 30 15:36:54 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/scikit-learn/sklearn/metrics/scorer.py (203.208.60.106)
OSError: write error
[pid: 2045|app: 0|req: 3/21] 203.208.60.106 () {38 vars in 682 bytes} [Thu Aug 30 15:36:54 2018] GET /projects/scikit-learn/sklearn/metrics/scorer.py => generated 0 bytes in 91 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
Thu Aug 30 15:37:48 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/examples/how_tos/reading_data/fully_connected_reader.py (203.208.60.101)
OSError: write error
[pid: 2051|app: 0|req: 5/22] 203.208.60.101 () {38 vars in 886 bytes} [Thu Aug 30 15:37:47 2018] GET /projects/tensorflow/tensorflow/examples/how_tos/reading_data/fully_connected_reader.py => generated 0 bytes in 307 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
Thu Aug 30 15:38:19 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/tools/api/golden/v2/tensorflow.train.-feature-lists.-feature-list-entry.pbtxt (203.208.60.125)
OSError: write error
[pid: 2054|app: 0|req: 12/23] 203.208.60.125 () {38 vars in 930 bytes} [Thu Aug 30 15:38:19 2018] GET /projects/tensorflow/tensorflow/tools/api/golden/v2/tensorflow.train.-feature-lists.-feature-list-entry.pbtxt => generated 0 bytes in 266 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
[pid: 2045|app: 0|req: 4/24] 189.45.207.217 () {32 vars in 462 bytes} [Thu Aug 30 15:40:11 2018] GET / => generated 9722 bytes in 68 msecs (HTTP/1.1 200) 4 headers in 124 bytes (1 switches on core 1)
Thu Aug 30 15:40:34 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/scikit-learn/sklearn/manifold/setup.py (203.208.60.25)
OSError: write error
[pid: 2046|app: 0|req: 2/25] 203.208.60.25 () {38 vars in 681 bytes} [Thu Aug 30 15:40:34 2018] GET /projects/scikit-learn/sklearn/manifold/setup.py => generated 0 bytes in 83 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 15:42:46 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/scikit-learn/sklearn/datasets/descr/california_housing.rst (203.208.60.1)
OSError: write error
[pid: 2045|app: 0|req: 5/26] 203.208.60.1 () {38 vars in 846 bytes} [Thu Aug 30 15:42:46 2018] GET /projects/scikit-learn/sklearn/datasets/descr/california_housing.rst => generated 0 bytes in 81 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
Thu Aug 30 15:44:05 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/compiler/xla/service/compiler.h (203.208.60.66)
OSError: write error
[pid: 2051|app: 0|req: 6/27] 203.208.60.66 () {38 vars in 837 bytes} [Thu Aug 30 15:44:05 2018] GET /projects/tensorflow/tensorflow/compiler/xla/service/compiler.h => generated 0 bytes in 273 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 1)
Thu Aug 30 15:44:14 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/go/shape_test.go (203.208.60.17)
OSError: write error
[pid: 2051|app: 0|req: 7/28] 203.208.60.17 () {38 vars in 681 bytes} [Thu Aug 30 15:44:14 2018] GET /projects/tensorflow/tensorflow/go/shape_test.go => generated 0 bytes in 291 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
Internal Server Error: /projects/45/files/3944/
Traceback (most recent call last):
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch
return handler(request, *args, **kwargs)
File "/projects/codepedia/codepedia2/apps/projects/views.py", line 167, in get
project_tree = project_tree_obj.getHtml(settings.SOURCEPATH+project.path)
AttributeError: 'NoneType' object has no attribute 'path'
Thu Aug 30 15:45:01 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/45/files/3944/ (203.208.60.8)
OSError: write error
[pid: 2046|app: 0|req: 3/29] 203.208.60.8 () {38 vars in 758 bytes} [Thu Aug 30 15:45:01 2018] GET /projects/45/files/3944/ => generated 0 bytes in 113 msecs (HTTP/1.1 500) 4 headers in 0 bytes (0 switches on core 0)
SIGINT/SIGQUIT received...killing workers...
*** Starting uWSGI 2.0.17 (64bit) on [Thu Aug 30 15:45:27 2018] ***
compiled with version: 4.7.4 on 01 July 2018 07:56:49
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
detected number of CPU cores: 4
current working directory: /projects/codepedia/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//envs/codepedia2/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
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:14:56) [GCC 7.2.0]
Python main interpreter initialized at 0x26560c0
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 583408 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x26560c0 pid: 2343 (default app)
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: 2343)
spawned uWSGI worker 1 (pid: 2345, cores: 2)
spawned uWSGI worker 2 (pid: 2346, cores: 2)
spawned uWSGI worker 3 (pid: 2348, cores: 2)
spawned uWSGI worker 4 (pid: 2350, cores: 2)
spawned uWSGI worker 5 (pid: 2352, cores: 2)
spawned uWSGI worker 6 (pid: 2354, cores: 2)
worker 1 buried after 1 seconds
worker 2 buried after 1 seconds
worker 3 buried after 1 seconds
worker 4 buried after 1 seconds
worker 5 buried after 1 seconds
worker 6 buried after 1 seconds
goodbye to uWSGI.
VACUUM: pidfile removed.
VACUUM WARNING: unix socket /projects/codepedia/codepedia2/my_sock.sock changed inode. Skip removal
init
Thu Aug 30 15:47:13 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/contrib/lite/toco/tensorflow_util.h (203.208.60.83)
OSError: write error
[pid: 2352|app: 0|req: 1/1] 203.208.60.83 () {38 vars in 845 bytes} [Thu Aug 30 15:47:13 2018] GET /projects/tensorflow/tensorflow/contrib/lite/toco/tensorflow_util.h => generated 0 bytes in 760 msecs (HTTP/1.1 200) 4 headers in 0 bytes (1 switches on core 0)
*** Starting uWSGI 2.0.17 (64bit) on [Thu Aug 30 15:47:43 2018] ***
compiled with version: 4.7.4 on 01 July 2018 07:56:49
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
detected number of CPU cores: 4
current working directory: /projects/codepedia/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//envs/codepedia2/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
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:14:56) [GCC 7.2.0]
Python main interpreter initialized at 0x16100c0
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 583408 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x16100c0 pid: 2597 (default app)
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: 2597)
spawned uWSGI worker 1 (pid: 2599, cores: 2)
spawned uWSGI worker 2 (pid: 2600, cores: 2)
spawned uWSGI worker 3 (pid: 2602, cores: 2)
spawned uWSGI worker 4 (pid: 2603, cores: 2)
spawned uWSGI worker 5 (pid: 2605, cores: 2)
spawned uWSGI worker 6 (pid: 2607, cores: 2)
init
[pid: 2602|app: 0|req: 1/1] 106.91.188.124 () {42 vars in 777 bytes} [Thu Aug 30 15:48:06 2018] GET / => generated 9722 bytes in 481 msecs (HTTP/1.1 200) 4 headers in 124 bytes (1 switches on core 0)
init
[pid: 2599|app: 0|req: 1/2] 106.91.188.124 () {44 vars in 856 bytes} [Thu Aug 30 15:48:11 2018] GET /projects/tensorflow/ => generated 2728965 bytes in 591 msecs (HTTP/1.1 200) 4 headers in 127 bytes (13 switches on core 0)
[pid: 2602|app: 0|req: 2/3] 106.91.188.124 () {52 vars in 1123 bytes} [Thu Aug 30 15:48:23 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 165 msecs (HTTP/1.1 200) 3 headers in 104 bytes (5 switches on core 1)
[pid: 2599|app: 0|req: 2/4] 106.91.188.124 () {52 vars in 1121 bytes} [Thu Aug 30 15:48:29 2018] POST /operations/show_navigation/ => generated 35 bytes in 117 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 1)
init
[pid: 2599|app: 0|req: 3/5] 106.91.188.124 () {52 vars in 1101 bytes} [Thu Aug 30 15:48:30 2018] POST /operations/right/ => generated 5261 bytes in 103 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
1
3
1
1
1
1
1
1
2
3
[pid: 2603|app: 0|req: 1/6] 106.91.188.124 () {52 vars in 1137 bytes} [Thu Aug 30 15:48:29 2018] POST /operations/get_codereading_content/ => generated 4536 bytes in 568 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
Thu Aug 30 15:49:50 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/core/api_def/base_api/api_def_ReadVariableOp.pbtxt (203.208.60.60)
OSError: write error
[pid: 2603|app: 0|req: 2/7] 203.208.60.60 () {38 vars in 875 bytes} [Thu Aug 30 15:49:50 2018] GET /projects/tensorflow/tensorflow/core/api_def/base_api/api_def_ReadVariableOp.pbtxt => generated 0 bytes in 281 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 15:51:34 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/caffe2/core/operator_schema.cc (203.208.60.15)
OSError: write error
[pid: 2603|app: 0|req: 3/8] 203.208.60.15 () {38 vars in 681 bytes} [Thu Aug 30 15:51:34 2018] GET /projects/pytorch/caffe2/core/operator_schema.cc => generated 0 bytes in 126 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
SIGINT/SIGQUIT received...killing workers...
worker 1 buried after 1 seconds
worker 2 buried after 1 seconds
worker 3 buried after 1 seconds
worker 4 buried after 1 seconds
worker 5 buried after 1 seconds
worker 6 buried after 1 seconds
goodbye to uWSGI.
VACUUM: pidfile removed.
VACUUM: unix socket /projects/codepedia/codepedia2/my_sock.sock removed.
*** Starting uWSGI 2.0.17 (64bit) on [Thu Aug 30 15:52:24 2018] ***
compiled with version: 4.7.4 on 01 July 2018 07:56:49
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
detected number of CPU cores: 4
current working directory: /projects/codepedia/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//envs/codepedia2/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
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:14:56) [GCC 7.2.0]
Python main interpreter initialized at 0x207d0c0
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 583408 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x207d0c0 pid: 2773 (default app)
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: 2773)
spawned uWSGI worker 1 (pid: 2775, cores: 2)
spawned uWSGI worker 2 (pid: 2776, cores: 2)
spawned uWSGI worker 3 (pid: 2778, cores: 2)
spawned uWSGI worker 4 (pid: 2780, cores: 2)
spawned uWSGI worker 5 (pid: 2782, cores: 2)
spawned uWSGI worker 6 (pid: 2784, cores: 2)
init
[pid: 2782|app: 0|req: 1/1] 106.91.188.124 () {44 vars in 848 bytes} [Thu Aug 30 15:52:34 2018] GET /projects/tensorflow/ => generated 2728965 bytes in 717 msecs (HTTP/1.1 200) 4 headers in 127 bytes (15 switches on core 0)
init
[pid: 2778|app: 0|req: 1/2] 106.91.188.124 () {52 vars in 1123 bytes} [Thu Aug 30 15:52:47 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 670 msecs (HTTP/1.1 200) 3 headers in 104 bytes (5 switches on core 0)
init
Thu Aug 30 15:52:55 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/core/api_def/base_api/api_def_CheckNumerics.pbtxt (203.208.60.28)
OSError: write error
[pid: 2775|app: 0|req: 1/3] 203.208.60.28 () {38 vars in 873 bytes} [Thu Aug 30 15:52:55 2018] GET /projects/tensorflow/tensorflow/core/api_def/base_api/api_def_CheckNumerics.pbtxt => generated 0 bytes in 650 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
[pid: 2778|app: 0|req: 2/4] 106.91.188.124 () {44 vars in 848 bytes} [Thu Aug 30 15:52:58 2018] GET /projects/tensorflow/ => generated 2728965 bytes in 98 msecs (HTTP/1.1 200) 4 headers in 127 bytes (14 switches on core 1)
init
[pid: 2780|app: 0|req: 1/5] 106.91.188.124 () {52 vars in 1123 bytes} [Thu Aug 30 15:53:24 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 668 msecs (HTTP/1.1 200) 3 headers in 104 bytes (1 switches on core 0)
init
init
[pid: 2776|app: 0|req: 1/6] 106.91.188.124 () {52 vars in 1121 bytes} [Thu Aug 30 15:53:36 2018] POST /operations/show_navigation/ => generated 35 bytes in 564 msecs (HTTP/1.1 200) 3 headers in 100 bytes (2 switches on core 0)
1
3
1
1
1
1
1
1
2
3
[pid: 2784|app: 0|req: 2/7] 106.91.188.124 () {52 vars in 1137 bytes} [Thu Aug 30 15:53:36 2018] POST /operations/get_codereading_content/ => generated 4536 bytes in 669 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
[pid: 2784|app: 0|req: 2/8] 106.91.188.124 () {52 vars in 1101 bytes} [Thu Aug 30 15:53:36 2018] POST /operations/right/ => generated 5261 bytes in 587 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 1)
SIGINT/SIGQUIT received...killing workers...
*** Starting uWSGI 2.0.17 (64bit) on [Thu Aug 30 15:55:19 2018] ***
compiled with version: 4.7.4 on 01 July 2018 07:56:49
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
detected number of CPU cores: 4
current working directory: /projects/codepedia/codepedia2
writing pidfile to uwsgi.pid
detected binary path: /root//envs/codepedia2/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
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:14:56) [GCC 7.2.0]
Python main interpreter initialized at 0xb700c0
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 583408 bytes (569 KB) for 12 cores
*** Operational MODE: preforking+threaded ***
worker 1 buried after 1 seconds
worker 2 buried after 1 seconds
worker 3 buried after 1 seconds
worker 4 buried after 1 seconds
worker 5 buried after 1 seconds
worker 6 buried after 1 seconds
goodbye to uWSGI.
VACUUM: pidfile removed.
VACUUM WARNING: unix socket /projects/codepedia/codepedia2/my_sock.sock changed inode. Skip removal
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xb700c0 pid: 2896 (default app)
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: 2896)
spawned uWSGI worker 1 (pid: 2898, cores: 2)
spawned uWSGI worker 2 (pid: 2899, cores: 2)
spawned uWSGI worker 3 (pid: 2900, cores: 2)
spawned uWSGI worker 4 (pid: 2902, cores: 2)
spawned uWSGI worker 5 (pid: 2904, cores: 2)
spawned uWSGI worker 6 (pid: 2905, cores: 2)
init
[pid: 2905|app: 0|req: 1/1] 106.91.188.124 () {44 vars in 848 bytes} [Thu Aug 30 15:55:27 2018] GET /projects/tensorflow/ => generated 2728984 bytes in 597 msecs (HTTP/1.1 200) 4 headers in 127 bytes (15 switches on core 0)
init
[pid: 2898|app: 0|req: 1/2] 106.91.188.124 () {52 vars in 1123 bytes} [Thu Aug 30 15:55:44 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 509 msecs (HTTP/1.1 200) 3 headers in 104 bytes (5 switches on core 0)
[pid: 2898|app: 0|req: 2/3] 106.91.188.124 () {44 vars in 848 bytes} [Thu Aug 30 15:56:00 2018] GET /projects/tensorflow/ => generated 2728984 bytes in 103 msecs (HTTP/1.1 200) 4 headers in 127 bytes (14 switches on core 1)
[pid: 2898|app: 0|req: 3/4] 106.91.188.124 () {52 vars in 1123 bytes} [Thu Aug 30 15:56:17 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 63 msecs (HTTP/1.1 200) 3 headers in 104 bytes (5 switches on core 0)
Thu Aug 30 15:57:01 2018 - uwsgi_response_write_headers_do(): Broken pipe [core/writer.c line 248] during GET /projects/tensorflow/tensorflow/core/api_def/base_api/api_def_Min.pbtxt (203.208.60.116)
OSError: write error
[pid: 2898|app: 0|req: 4/5] 203.208.60.116 () {38 vars in 854 bytes} [Thu Aug 30 15:57:01 2018] GET /projects/tensorflow/tensorflow/core/api_def/base_api/api_def_Min.pbtxt => generated 0 bytes in 47 msecs (HTTP/1.1 200) 3 headers in 0 bytes (0 switches on core 1)
1
3
1
1
1
1
1
1
2
3
[pid: 2905|app: 0|req: 2/6] 106.91.188.124 () {52 vars in 1137 bytes} [Thu Aug 30 15:57:19 2018] POST /operations/get_codereading_content/ => generated 4536 bytes in 205 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
[pid: 2898|app: 0|req: 5/7] 106.91.188.124 () {52 vars in 1101 bytes} [Thu Aug 30 15:57:19 2018] POST /operations/right/ => generated 5261 bytes in 128 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 1)
init
[pid: 2900|app: 0|req: 1/8] 106.91.188.124 () {52 vars in 1121 bytes} [Thu Aug 30 15:57:19 2018] POST /operations/show_navigation/ => generated 35 bytes in 453 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 0)
Thu Aug 30 15:58:27 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/tools/api/golden/v2/tensorflow.-node-def.pbtxt (203.208.60.12)
OSError: write error
[pid: 2898|app: 0|req: 6/9] 203.208.60.12 () {38 vars in 867 bytes} [Thu Aug 30 15:58:27 2018] GET /projects/tensorflow/tensorflow/tools/api/golden/v2/tensorflow.-node-def.pbtxt => generated 0 bytes in 29 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
init
[pid: 2899|app: 0|req: 1/10] 106.91.188.124 () {44 vars in 848 bytes} [Thu Aug 30 15:58:29 2018] GET /projects/tensorflow/ => generated 2728993 bytes in 622 msecs (HTTP/1.1 200) 4 headers in 127 bytes (14 switches on core 0)
Thu Aug 30 15:58:54 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/caffe2/core/net_simple_async.h (203.208.60.43)
OSError: write error
[pid: 2898|app: 0|req: 7/11] 203.208.60.43 () {38 vars in 681 bytes} [Thu Aug 30 15:58:54 2018] GET /projects/pytorch/caffe2/core/net_simple_async.h => generated 0 bytes in 126 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
[pid: 2898|app: 0|req: 8/12] 106.91.188.124 () {52 vars in 1123 bytes} [Thu Aug 30 15:59:01 2018] POST /operations/get_addtab_paras/ => generated 956882 bytes in 46 msecs (HTTP/1.1 200) 3 headers in 104 bytes (6 switches on core 0)
init
init
[pid: 2904|app: 0|req: 1/13] 106.91.188.124 () {52 vars in 1121 bytes} [Thu Aug 30 15:59:33 2018] POST /operations/show_navigation/ => generated 35 bytes in 507 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 0)
1
3
1
1
1
1
1
1
2
3
[pid: 2902|app: 0|req: 1/14] 106.91.188.124 () {52 vars in 1137 bytes} [Thu Aug 30 15:59:33 2018] POST /operations/get_codereading_content/ => generated 4536 bytes in 572 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)
[pid: 2904|app: 0|req: 2/15] 106.91.188.124 () {52 vars in 1101 bytes} [Thu Aug 30 15:59:38 2018] POST /operations/right/ => generated 5261 bytes in 114 msecs (HTTP/1.1 200) 3 headers in 102 bytes (2 switches on core 1)
Thu Aug 30 16:01:53 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/python/keras/applications/vgg19.py (203.208.60.72)
OSError: write error
[pid: 2902|app: 0|req: 2/16] 203.208.60.72 () {38 vars in 843 bytes} [Thu Aug 30 16:01:53 2018] GET /projects/tensorflow/tensorflow/python/keras/applications/vgg19.py => generated 0 bytes in 272 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 16:02:34 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/pytorch/caffe2/operators/reshape_op.cc (203.208.60.76)
OSError: write error
[pid: 2898|app: 0|req: 9/17] 203.208.60.76 () {38 vars in 681 bytes} [Thu Aug 30 16:02:34 2018] GET /projects/pytorch/caffe2/operators/reshape_op.cc => generated 0 bytes in 34 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 1)
Thu Aug 30 16:04:13 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /projects/tensorflow/tensorflow/contrib/proto/python/ops/BUILD (203.208.60.33)
OSError: write error
[pid: 2898|app: 0|req: 10/18] 203.208.60.33 () {38 vars in 835 bytes} [Thu Aug 30 16:04:13 2018] GET /projects/tensorflow/tensorflow/contrib/proto/python/ops/BUILD => generated 0 bytes in 46 msecs (HTTP/1.1 200) 4 headers in 0 bytes (0 switches on core 0)
[pid: 2900|app: 0|req: 2/19] 223.104.131.190 () {52 vars in 1138 bytes} [Thu Aug 30 16:04:42 2018] POST /operations/get_codereading_content/ => generated 3773 bytes in 79 msecs (HTTP/1.1 200) 4 headers in 116 bytes (1 switches on core 1)
[pid: 2905|app: 0|req: 4/20] 223.104.131.190 () {52 vars in 1136 bytes} [Thu Aug 30 16:04:42 2018] POST /operations/show_navigation/ => generated 35 bytes in 93 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 0)
[pid: 2905|app: 0|req: 4/21] 223.104.131.190 () {52 vars in 1116 bytes} [Thu Aug 30 16:04:42 2018] POST /operations/right/ => generated 37 bytes in 125 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 1)
[pid: 2904|app: 0|req: 3/22] 223.104.131.190 () {44 vars in 877 bytes} [Thu Aug 30 16:04:51 2018] GET /projects/tensorflow/tools/bazel.rc => generated 2728993 bytes in 271 msecs (HTTP/1.1 200) 4 headers in 127 bytes (15 switches on core 0)
[pid: 2904|app: 0|req: 4/23] 223.104.131.190 () {52 vars in 1138 bytes} [Thu Aug 30 16:05:02 2018] POST /operations/get_addtab_paras/ => generated 956895 bytes in 70 msecs (HTTP/1.1 200) 3 headers in 104 bytes (5 switches on core 1)
[pid: 2902|app: 0|req: 3/24] 223.104.131.190 () {52 vars in 1152 bytes} [Thu Aug 30 16:05:19 2018] POST /operations/get_codereading_content/ => generated 3773 bytes in 91 msecs (HTTP/1.1 200) 4 headers in 116 bytes (1 switches on core 0)
[pid: 2900|app: 0|req: 4/25] 223.104.131.190 () {52 vars in 1136 bytes} [Thu Aug 30 16:05:20 2018] POST /operations/show_navigation/ => generated 35 bytes in 87 msecs (HTTP/1.1 200) 3 headers in 100 bytes (2 switches on core 0)
[pid: 2900|app: 0|req: 4/26] 223.104.131.190 () {52 vars in 1116 bytes} [Thu Aug 30 16:05:20 2018] POST /operations/right/ => generated 37 bytes in 91 msecs (HTTP/1.1 200) 3 headers in 100 bytes (2 switches on core 1)
[pid: 2898|app: 0|req: 11/27] 223.104.131.190 () {52 vars in 1136 bytes} [Thu Aug 30 16:05:31 2018] POST /operations/show_annotation/ => generated 59 bytes in 23 msecs (HTTP/1.1 200) 4 headers in 114 bytes (1 switches on core 1)
[pid: 2902|app: 0|req: 4/28] 223.104.131.190 () {52 vars in 1145 bytes} [Thu Aug 30 16:05:47 2018] POST /operations/show_navigation/ => generated 76 bytes in 117 msecs (HTTP/1.1 200) 3 headers in 100 bytes (1 switches on core 0)
[pid: 2905|app: 0|req: 6/29] 223.104.131.190 () {52 vars in 1152 bytes} [Thu Aug 30 16:05:47 2018] POST /operations/get_codereading_content/ => generated 5068 bytes in 148 msecs (HTTP/1.1 200) 4 headers in 116 bytes (2 switches on core 1)
[pid: 2905|app: 0|req: 6/30] 223.104.131.190 () {52 vars in 1125 bytes} [Thu Aug 30 16:05:47 2018] POST /operations/right/ => generated 5243 bytes in 203 msecs (HTTP/1.1 200) 3 headers in 102 bytes (1 switches on core 0)