The wiki has been frequently stuck, and sometimes even reports a 504 error. Is this due to our instance? We have set up an instance on Amazon with 8 GB RAM, 2 vCPUs, and 160 GB SSD. Should we upgrade it or pay for the wiki?
I doubt that paying outright would immediately fix your issue. A gateway timeot suggests to me some kind of performance bottleneck. Tell me, what kind of installation do you have there?
For example I can tell you that if you have a WAR installation on a windows system, 8GB of ram is (from my experience) not enough to have a swiftly reacting xwiki. If you use the Linux package it probably would be enough.
It could also be your disk allocation. Try to reserve space for your disk where the Database is on, this might help improving performance.
Thank you for answer!
I will first apply to the company to improve the performance of the instance.
Hello. If you want to check examples of memory needs, please see https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/#HMemory
For CPU, see https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/#HSizing
So 8GB of RAM is really a lot. XWiki itself only requires 1 to 2MB for small and medium size instances.
So I doubt that your issue is with the hardware.
To analyze your problem, you’d need to understand what causes it and for this you’d need a profiler or a monitoring tool.
Some links that may help you diagnose the issue:
- https://dev.xwiki.org/xwiki/bin/view/Community/Debugging
- https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Monitoring
You would pay for 2 reasons IMO:
- if you want someone else to take care of your xwiki instance and manage it (upgrade it when needed, make sure that the software runs fine, have support when there are problems). See Cloud & Hosted on https://www.xwiki.org/xwiki/bin/view/Hosted/
- If you want professional services to investigate on your instance. See https://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport
Thanks