Hi All
Just a brief update. Our XWiki has been running fine for the last few days with at least 3
people using it. Hopefully it stays that way.
One thing I noticed is that it just "magically" started responding faster the
next day. The other thing that I found was that I had missed out configuring the dns
servers when I configured the static IP (it was a long day). So it is quite possible that
the background process that Marius suggested may have had something to do with a site
lookup or name resolution or update (this is purely speculation on my part - but hopefully
it helps someone).
Thanks again for this great system. Lots to learn still :)
Kind regards,
-----Original Message-----
From: Mahomed Hussein
Sent: 10 March 2015 16:42
To: XWiki Users
Subject: [nosig] RE: [xwiki-users] Performance Frustrations
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…hild,
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