Topic on Project:Support desk

Low performance on Multiple installations on single Webserver

4
Pdr3112 (talkcontribs)

Hi,

I have multiple MW instances installed on an Apache on a LINUX box. Monitoring has shown that the usage threshold has gone very low post installation. More than 10 MW instances with 3-5 Concurrent users pushes the CPU usage to more than 70-80% though with around only 10-20% RAM usage. The DBMS server does not utilize more than 5% of the CPU at any given point. This is an anomaly.

Additionally, all the tips and tricks to speed up all the MW installations and the Apache installation has been incorporated and the tests are done on a dedicated server box for the same with constant monitoring.

Any out-of-the-box solutions available or can it be assumed that multiple MW installations on a single box is not a good idea.

The set-up is as follows:

MW: 1.18.2

Apache: 2,4

PHP: 5.4

Postgres: 9.2

Wiki Permissions: Read only open wiki.

Customization: On vector Skin only and that too only on CSS level.

Status: Not live. Cannot share as per company policy. Not on internet as yet.

Content type and quantity: Content is mix of small png images and voluminous text. Couple of short MP4 videos per instance. Average size per MW installation - 100MB, Per DB Schema: 100MB

Server: Quad Core. 12GB RAM. No clustering.

OS: RHEL 5.5.

151.225.137.145 (talkcontribs)

Please upgrade MediaWiki 1.18 to MediaWiki 1.23 because MediaWiki 1.18 is not supported any more.

Ciencia Al Poder (talkcontribs)

You can track down where MediaWiki is spending most of the time, by setting Profiling.

Bawolff (talkcontribs)

FWIW, MediaWiki's mysql db support is more performance optimized than the postgres support.

However, if I were to guess, I would say caching issues. That said, as Ciencia suggested, profiling would tell you more.

>Any out-of-the-box solutions available or can it be assumed that multiple MW installations on a single box is not a good idea.

Having multiple MW installs served from the same box should not be an issue. Lots of people set up wikifarms where all the wikis come from one box (Obviously if your site becomes super popular, you'd probably want to scale it by using multiple boxes).

Reply to "Low performance on Multiple installations on single Webserver"