Wiki很多人反映很慢的问题,能否通过增加POD缓解?


#1

目前XWIKI只开了一个服务,经常遇到一个人操作导致所有人卡顿的情况。(每天多次被投诉,Wiki慢。。。卡顿 无法操作,我们压力很大。)

这种问题该如何解决?

可以通过开多个XWIKI的服务优化么?


#2

你好,具体是操作哪些地方慢,用控制台找出操作慢的请求截图发出来


#3

2019-04-15 03:32:34,034 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 585, column 27: syntax error. Caused by: [var officeCollapseIcon3 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_RTF"></span>;]
2019-04-15 03:32:34,034 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 585, column 114: illegal character. Caused by: [var officeCollapseIcon3 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_RTF"></span>;]
2019-04-15 03:32:34,034 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 598, column 26: illegal character. Caused by: [var otherCollapseIcon1 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_html"></span>;]
2019-04-15 03:32:34,034 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 598, column 26: syntax error. Caused by: [var otherCollapseIcon1 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_html"></span>;]
2019-04-15 03:32:34,034 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 598, column 114: illegal character. Caused by: [var otherCollapseIcon1 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_html"></span>;]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 599, column 26: illegal character. Caused by: [var otherCollapseIcon2 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_XAR"></span>;]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 599, column 26: syntax error. Caused by: [var otherCollapseIcon2 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_XAR"></span>;]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 599, column 113: illegal character. Caused by: [var otherCollapseIcon2 = <span style="margin-right: 9px;margin-top: -6px;" class="icon icon-export_XAR"></span>;]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 808, column 16: illegal character. Caused by: [ var circle = &lt;div id="waite" style="height: 30px;width: 30px;margin: 160px auto 0 ;"&gt;] 2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&amp;docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 808, column 16: syntax error. Caused by: [ var circle =<div id=“waite” style=“height: 30px;width: 30px;margin: 160px auto 0 ;”>]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 809, column 25: missing ; before statement. Caused by: [ <svg viewBox=“0 0 50 50”>]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 810, column 27: missing ; before statement. Caused by: [ <circle cx=“25” cy=“25” r=“20” fill=“none” stroke="#3367d6" stroke-width=“4” style="]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 810, column 100: unterminated string literal. Caused by: [ <circle cx=“25” cy=“25” r=“20” fill=“none” stroke="#3367d6" stroke-width=“4” style="]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 811, column 41: missing ; before statement. Caused by: [ -webkit-animation: ant-progress-loading 1.4s ease-in-out infinite;]
2019-04-15 03:32:34,035 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 812, column 58: missing ; before statement. Caused by: [ animation: ant-progress-loading 1.4s ease-in-out infinite;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 813, column 40: missing ; before statement. Caused by: [ stroke-dasharray: 80px 200px;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 814, column 41: missing ; before statement. Caused by: [ stroke-dashoffset: 0;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 815, column 33: unterminated string literal. Caused by: [ “></circle>]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 815, column 33: syntax error. Caused by: [ “></circle>]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 816, column 18: unterminated regular expression literal. Caused by: [ </svg>]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 817, column 10: unterminated regular expression literal. Caused by: [ </div>]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 818, column 11: missing ; before statement. Caused by: [<div style=”]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 818, column 12: unterminated string literal. Caused by: [<div style=”]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 819, column 18: missing ; before statement. Caused by: [ margin:0 auto;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 820, column 17: missing ; before statement. Caused by: [ line-height: 40px;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 821, column 17: missing ; before statement. Caused by: [ height: 40px;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 822, column 12: missing ; before statement. Caused by: [text-align:center;]
2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 823, column 19: unterminated string literal. Caused by: [">加载中 · · ·</div>;] 2019-04-15 03:32:34,036 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&amp;docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 823, column 19: syntax error. Caused by: ["&gt;加载中 · · ·&lt;/div&gt;;]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 858, column 19: missing : after property id. Caused by: [ const {current,pageSize}=pagination;]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 864, column 13: illegal character. Caused by: [ url: /rest/v1/list_by_options?page=${current-1}&amp;size=${pageSize},]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 864, column 13: syntax error. Caused by: [ url: /rest/v1/list_by_options?page=${current-1}&amp;size=${pageSize},]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 864, column 73: illegal character. Caused by: [ url: /rest/v1/list_by_options?page=${current-1}&amp;size=${pageSize},]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 864, column 74: syntax error. Caused by: [ url: /rest/v1/list_by_options?page=${current-1}&amp;size=${pageSize},]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 865, column 16: syntax error. Caused by: [ success: function(data){]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 866, column 52: syntax error. Caused by: [ const {totalElements,size,number,content}=data;]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 894, column 9: syntax error. Caused by: [ },]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 895, column 13: syntax error. Caused by: [ error: function (err) {]
2019-04-15 03:32:34,037 [http://wiki.hfjy.com/bin/jsx/ChoerodonConfig/ChoerodonScript/WebHome?language=zh_CN&docVersion=6.1] WARN c.x.x.w.s.JsExtension - Error at line 900, column 6: missing ) after argument list. Caused by: [ })]


#4

请帮忙 看下是什么问题 谢谢


#5

你好,这些日志没什么用。

我需要在页面具体的操作及这个操作发送请求的耗时时间。

比如用控制台:


#6

打开某个页面


#7

你好,我建议你看下xwiki数据库的性能问题,比如你去查下xwikidoc表的数据要多少秒。


#8

直接查数据库还是很快的,就是wiki的性能有的时候很快,有的时候比如再从c7n同步用户数据或者移动目录的时候就会非常卡


#9
  1. 我理解就是平常在wiki上面的操作并不是很慢,只是这2个操作会很慢?

  2. 从c7n同步用户同步多少用户会卡?移动目录慢的问题还有找到好的解决方法,我们准备把进度条和日志显示出来。


#10

1、这两个问题的时候慢的很明显,除了这两种情况还有慢的时候,但不清楚为什么慢
2、同步的用户就几个,有日志的话会有些帮助。