Hi
Thanks for the responses. Page you mention below just loaded a blank page (I assume that's the intention). CPU jumped to about 80% for that one request.
That being said, performance has been a bit better today for some reason. There are a couple of extra tweaks I did this morning were:
1. Limited the activity plugin on the dashboard to only show the last 10 changes with 2 changes.
2. Disabled the image for one of the user's avatar.
I have been happily adding documents today and it has been fairly acceptable. But that's just one active user. We'll see how it behaves when it has 10 users on at the same time. I might come back with more questions.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 10 March 2015 09:47
To: XWiki Users
Subject: Re: [xwiki-users] Performance Frustrations
I would also check the speed of retrieving a simple/plain wiki page
without the surrounding UI elements:
/xwiki/bin/get/Space/Page
If this is still slow then the reason must be a background task as
Thomas suggested. If it's fast then it means some of the UI elements
slow down the view mode. It may be a panel for instance.
Hope this helps,
Marius
On Tue, Mar 10, 2015 at 10:47 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> Would need more detail on what exactly you call a simple page, you
> should create a new page with empty content. Is the proc OK when
> nobody access XWiki, if not it might mean you have some bakground task
> running and slowing down the instance (a few things I can think of are
> SOLR indexing, Watchlist generating a mail when there is a lot of
> users, first login when you use LDAP with a lots if groups/users, some
> other extension you would have installed) ?
>
> I guess you looked at other stuff in
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances. If
> you are using MySQL and have some unused memory one other thing I
> notice that can improve a lot the performances is tweak a bit MySQL
> configuration and especially things like innodb_buffer_pool_size which
> can more or less make MySQL behave like a in-memory database if big
> enough (and there is probably many other things but I'm not so much of
> a MySQL expert).
>
> On Mon, Mar 9, 2015 at 11:31 PM, Mahomed Hussein
> <Mahomed(a)custodiandc.com> wrote:
>> Hi
>>
>> We were chugging along quite happily with XWiki then we started to notice a slowdown. Simple pages (like the space webhome page) were taking 3 – 4 seconds to load. This is with only 1 user testing it and about 5 articles in the whole system. Using htop, we can see that the tomcat process are being created and the CPU is going to over 150% - 400% (total across several cores). I have tried modifying the JAVA_OPTS in /etc/default/tomcat7 with little to no effect what so ever. I have tried googling it and almost everyone says to change those options and I’ve tried basing it on the recommendation in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory and my current line reads:
>>
>> JAVA_OPTS="-Djava.awt.headless=true -Xmx800m -XX:MaxPermSize=196m -XX:+UseConcMarkSweepGC"
>>
>> We are running XWiki 6.4.2
>> xwiki-enterprise-tomcat7-mysql package installed using apt-get.
>> OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
>> RAM: 4096
>> vCPU: 12
>> Hypervisor: Hyper-v
>>
>> There aren’t any IO or memory issues that we can see. I don’t see any immediate errors in the logs either.
>>
>> To be honest the high CPU isn’t that much of an issue. The problem is that it’s using high CPU and STILL has slow performance. If I compare the response of loading a 75 line article to loading http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?sp…, the extension page loads about 3 times faster (not scientifically accurate timing but it’s different enough to notice consistently).
>>
>> Any help would be greatly appreciated because no matter how great XWiki is, if I can’t get it to perform quickly enough, users will avoid using it.
>>
>> Thanks again for your time and any help.
>>
>>
>> Kind regards,
>>
>> Mahomed
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
I have a wiki in which several spaces have pages with the same name, like
so:
Space 1
|_ MyPage
Space 2
|_ MyPage
I would like for the "MyPage" in each space to list its child documents.
When I use the Document Tree macro for this, it lists the subpages of every
page named MyPage, irrespective of what space it's in.
This happens even when I specify the full "document:wiki:Space.Path" in the
"root" setting.
If I rename the pages as "MyPage - Space 1" and "MyPage - Space 2" for
example, this doesn't happen.
Is this the normal behavior when 2 or more spaces have pages with identical
names?
Thanks,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-tree-macro-including-pages-from-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
We were chugging along quite happily with XWiki then we started to notice a slowdown. Simple pages (like the space webhome page) were taking 3 – 4 seconds to load. This is with only 1 user testing it and about 5 articles in the whole system. Using htop, we can see that the tomcat process are being created and the CPU is going to over 150% - 400% (total across several cores). I have tried modifying the JAVA_OPTS in /etc/default/tomcat7 with little to no effect what so ever. I have tried googling it and almost everyone says to change those options and I’ve tried basing it on the recommendation in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory and my current line reads:
JAVA_OPTS="-Djava.awt.headless=true -Xmx800m -XX:MaxPermSize=196m -XX:+UseConcMarkSweepGC"
We are running XWiki 6.4.2
xwiki-enterprise-tomcat7-mysql package installed using apt-get.
OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
RAM: 4096
vCPU: 12
Hypervisor: Hyper-v
There aren’t any IO or memory issues that we can see. I don’t see any immediate errors in the logs either.
To be honest the high CPU isn’t that much of an issue. The problem is that it’s using high CPU and STILL has slow performance. If I compare the response of loading a 75 line article to loading http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?sp…, the extension page loads about 3 times faster (not scientifically accurate timing but it’s different enough to notice consistently).
Any help would be greatly appreciated because no matter how great XWiki is, if I can’t get it to perform quickly enough, users will avoid using it.
Thanks again for your time and any help.
Kind regards,
Mahomed
Hi
Thank you both for the responses. I am going to opt instead to get users to put a comment once they've read the document (This is a requirement for one of our certifications - that users confirm they've read a document). This is probably a better and simpler option anyway.
Thank you again for your help. I am loving XWiki!!
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 09 March 2015 14:26
To: XWiki Users
Subject: Re: [xwiki-users] Readers type extension or feature
On Mon, Mar 9, 2015 at 11:13 AM, Guillaume Lerouge <guillaume(a)xwiki.com> wrote:
> Hi Mahomed,
>
> this is doable if you activate the statistics module:
Unfortunately the statistics module stores only aggregated data. You
can see how many users have viewed a particular page and how many
pages a particular user has seen. But the way it works right now, you
cannot see which users (i.e. an enumeration of user names) have seen a
specific page or which pages have been seen by a specific user.
Hope this helps,
Marius
>
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application
>
> First you need to activate it in the xwiki.cfg file:
>
> -
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#%23HEnabl…
>
> Once the statistics are activated, every "view" action by every user is
> recorded. Now all you need to do is write the code to retrieve the stats
> about the specific page you're looking at, and put in in a panel.
>
> You can find inspiration for this in the following extensions:
>
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Recently+Visited+Pages
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Most+Viewed+Articles
> -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Number+Of+Active+Users…
>
> Best,
>
> Guillaume
>
> On Sun, Mar 8, 2015 at 10:36 PM, Mahomed Hussein <Mahomed(a)custodiandc.com>
> wrote:
>
>> Hi
>>
>> I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki
>> but due to some limitations (and then finding XWiki), we’ve decided to move
>> to XWiki. One feature that we would REALLY love to have similar to
>> mediawiki is the "readers" feature. It shows which registered users have
>> viewed a page. I have done some Google searching and I have looked through
>> the extensions but I cannot find anything. The closest extension I found is
>> one that shows how to run a query to display the editors, but I couldn’t
>> see a way to modify that to show the readers. This makes me think it might
>> not be possible, but I know very little about the way the system works so I
>> hope someone can help.
>>
>> Thanks in advance for your help and time.
>>
>> Kind regards,
>>
>> Mahomed
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello,
In my XWiki application, I have a Sheet + Class with a property with textArea/wysiwyg type.
I use public String display(String fieldname, String mode)
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Docu…
Unfortunaly in view mode all values are rendering between <strong> </strong>.
How can I remove them?
An example, in edit mode, in my textArea/wysiwyg, I have
-----------------
Some text bold
1. first
2. second
-----------------
In view mode I obtein:
Some text bold
2. first
3. second
(I must reinit counter list too)
HTML code:
<strong></strong>
<p>
<strong>
Some text
<strong>bold</strong>
</strong>
</p>
<ol>
<li style="list-style-type: none">
<strong></strong>
</li>
<li>
<strong>first</strong>
</li>
<li>
</ol>
Of course i cannot remove <strong></strong> or modify style because I want to keep this one: <strong>bold</strong>
Thxs for any help
Pascal B
Trying to upgrade from 6.4.1 to 6.4.2 and in the upgrade wizard I get this
message "Installed version 6.4.1 is not valid" when upgrading the "XWiki
Enterprise - UI - Main wiki"
>From there on nothing moves forward, no "Later", no "Never"
How can I get passed this.
I installed cleanly 6.4.1 a few days ago. And I hope that some of the link
issues and the categories in the blog are fixed.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Installed-version-6-4-1-is-not-valid-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki but due to some limitations (and then finding XWiki), we’ve decided to move to XWiki. One feature that we would REALLY love to have similar to mediawiki is the "readers" feature. It shows which registered users have viewed a page. I have done some Google searching and I have looked through the extensions but I cannot find anything. The closest extension I found is one that shows how to run a query to display the editors, but I couldn’t see a way to modify that to show the readers. This makes me think it might not be possible, but I know very little about the way the system works so I hope someone can help.
Thanks in advance for your help and time.
Kind regards,
Mahomed
Hello Community,
we use xWiki Enterprise 6.3. at work and I need some help to manage it.
I have two questions:
-How can it be that the user's photos are always pixelated when I upload it?
For example, I would like to add a photo to my xWiki profile but no matter
how good the quality of the picture is, you always see a pixelated little
avatar.
Are there a trick to get the image as good as the original?
-At the main page, I usually see "my last changes", but how is it possible
to see what other user's changes were?
For example, I change a document and then I see it at the main page. But my
other colleague didn't see that change at the main page. How can I manage
it, that if a document were changed by someone, everyone see's it at the
main page?
I hope you understand my questions :-)
If not, don't hesitate to contact me.
I'm looking forward to hear from you.
Kind regards from Germany!
Luba
--
View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-with-xWiki-Enterprise-6-3-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
It looks like that we can not use the macro AVATAR in a wiki on this farm?
{{useravatar username="<username>" /}}
Then I added the extension:
{{userprofile username="XWiki.Admin" /}}
But both give error: unknown user?
Gerritjan
I have a page hierarchy of the following form:
+ Parent1----- Child1----- Child2----- Child2
Where one parent page has three children pages.
I would like to move this entire hierarchy rooted at Parent1 to another space. If I rename Parent1, then only Parent1 gets moved to the new space, and not its children.
Is there a way to move the entire hierarchy of pages (parent page and all its child pages) to another space?