Extended system requirements for Linchpin

Linchpin Intranet Suite Performance Impact compared to Vanilla Confluence

Atlassian obliges (certified) app manufacturers to carry out a mandatory performance comparison test of typical Confluence functions for each release. The measured values must be in an acceptable ratio in order to receive a Marketplace certification.

Adequate system resources

In the Linchpin Intranet Suite documentation, we provide a guide to appropriate system resources for cases. Please base your own requirements on the recommended values provided.

Java resources

As a general rule, Confluence together with the Linchpin Intranet Suite requires at least 6 GB heap space and 384 MB → Java code cache. Depending on the system load, this value can also be doubled or increased, whereby the rule of thumb is: RAM/2 = Java Heap.

Linchpin-specific configuration

Linchpin Theme

It can happen that the Linchpin theme configuration causes problems, which can manifest themselves in a slowdown of various kinds.

Sometimes a corrupt character set can lead to such behavior.

  • The Linchpin UTF-8 health check should be carried out here first

Java CodeCache & batch.js

It could be that the Java code cache is too small and therefore the batch.js files have to be regenerated too often. To prevent this, increase the Java code cache (see Extended system resources for Linchpin above).

Known bottlenecks

Certain standard settings and macros supplied with Linchpin, in combination with other factors, prove to be particularly CPU-intensive. You can find a list here to check directly for performance-related anomalies.

Linchpin Macros: “Cover Stories” / “Corporate News Feed”

Searching, loading and preparing the news to be displayed generates load on the server, especially on the search index.

If you notice performance problems here and it is editorially possible, you can reduce the number of news items to be searched for:

  • Try to get by with as few news macros as possible per page.
  • Try to configure as few tiles as possible in the cover stories or as many tiles as possible with the same source configuration. A separate search must be started for each source configuration.
  • If the “Slides” function is activated in the cover stories, reduce the number of slides or switch the option off completely.

Linchpin Macros: Customized User List

This macro is outdated and quite slow, especially with large result sets. If possible, please use the new People Search & List” macro.

General Troubleshooting Methods

On our Infothek page with HowTo’s for customers you will find instructions on how to best summarize performance problems in a report.

The following questions should be clarified – in particular, whether the problem occurs with Linchpin alone:

  • How long has the problem been occurring in this way and what changes were made previously?
    (e.g. in the plugins, the global Confluence configuration, infrastructure such as DBMS, Java version, server, reverse proxy, CDN, etc.).
  • Which apps were deactivated – was the system completely switched to safe mode?

Safe Mode

This allows interactions to be tested, e.g. by only activating the Linchpin Intranet Suite and deactivating all 3rd party apps:

Within the Confluence administration (“Manage apps” area), you can start Confluence Safe Mode via the “Switch to safe mode” link. In safe mode, but before testing, the plugin caches should also be emptied once:

  • Administration > Cache management > “Clear all” button
  • CONFLUENCE_ADDRESS/admin/cache/showStatistics.action
  • Now please activate only the Linchpin apps, whereby the following sequence should be followed first:
    • (1) Linchpin Suite – API → (2) Linchpin Communicator → (3) Linchpin Intranet Suite

You can then (re)activate all other Linchpin apps in no particular order.

If the problem no longer occurs, the problem is due to an installed app from another manufacturer. This can be determined specifically by reactivating the other 3rd party apps one by one and retesting the behavior with each reactivation.

Are customizations (stylesheets, scripts) used or removed for testing purposes?

Customizations

CSS stylesheets and self-written HTML and JavaScript code (custom code) can be integrated in various places in Confluence.

Check the following locations for custom code:

  • CONFLUENCE_ADDRESS/admin/linchpin/theme/configure.action → via the Confluence administration > Linchpin > Theme > Configuration > Advanced you will find one input window each for CSS and JavaScript code, which applies the code to the entire Linchpin theme
  • CONFLUENCE_ADDRESS/admin/viewstylesheet.action → via Confluence administration > Design > Style sheet you will find an input window for CSS, which applies the code to all areas
  • CONFLUENCE_ADDRESS/admin/viewcustomhtml.action → via the Confluence administration > Design > Custom HTML you will find an input window for HTML, which applies the code to all areas. JavaScript scripts can also be stored here
  • In the respective areas, you can also insert CSS code that only applies to the specific area via the Configure area > Design control panel and the Style sheet sub-tab

Do the problems occur with a constant intensity over the course of the day or when do peaks occur and how does this correlate with user behavior or recurring jobs? Is there a monitoring system in place to monitor the utilization of important resources?

What happens if the page content (e.g. macros) is gradually reduced? See also Coverstories macro

Are the server’s general system resources adequately dimensioned?
CPU cores, RAM, heap, code cache, DB I/O

App-Caches

A screenshot of the current app caches could be useful for further troubleshooting. (wink)

For this, please send us a screenshot of your current app caches.

  • To do this, please navigate to Confluence Administration > Cache management or via CONFLUENCE_ADDRESS/admin/cache/showStatistics.action
  • Click on “Show advanced view” / “Show advanced view”
  • Now take a screenshot of all lines that contain “Seibert”, “Linchpin” or “Microblog”. The screenshot should cover the columns “Cache name” to “Hit/Miss/Evicted”.

Advanced methods

Support-Zip with DEBUG-Log

Export HAR Data

Save Javascript logs as a text file