Configure NGINX to HTTP/2

Experimental support for HTTP/2 became available in Nginx version 1.9.5 (mainline). It is really easy to enable, and I’ll show you how. If you’re already running SPDY, please note that the SPDY module have been replaced with the HTTP/2 module in Nginx. Fortunately, to run HTTP/2 you just need to upgrade to Nginx 1.9.5 or … Continue reading Configure NGINX to HTTP/2

Advertisements

Tuning JVM Garbage Collector (Best values for JIRA 6 & 7 large instances)

The following example JVM settings are recommended for most production servers (JIRA works better as standalone installation): -server -Xms24G -Xmx24G -XX:PermSize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 For production replica servers (test environments), use the example settings: -server -Xms4G -Xmx4G -XX:PermSize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 For standalone installations (recommended in JIRA large installations), use the … Continue reading Tuning JVM Garbage Collector (Best values for JIRA 6 & 7 large instances)

One simple way to obtain time measures of JIRA from terminal

The best way is using CURL from command line time curl -D- -u raul.pelaez:*** -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/rest/api/2/search?jql=assignee=raul.pelaez real 0m7.098s user 0m0.004s sys 0m0.012s time curl -D- -u raul.pelaez:*** -X GET -H "Content-Type: application/json" http://10.2.29.224:8080/rest/api/2/search?jql=assignee=raul.pelaez real 0m7.562s user 0m0.008s sys 0m0.008s time curl -D- -u raul.pelaez:*** -X GET -H "Content-Type: application/json" https://jira.domain.com/rest/api/2/search?jql=assignee=raul.pelaez real … Continue reading One simple way to obtain time measures of JIRA from terminal

Generating a Thread Dump of JIRA with Jstack

Occasionally, JIRA may appear to 'freeze' during execution of an operation. During these times, it is helpful to retrieve a thread dump — a log containing information about currently running threads and processes within the Java Virtual Machine. Taking thread-dumps is a non-destructive process that can be run on live systems. This document describes the … Continue reading Generating a Thread Dump of JIRA with Jstack

Is a regular JIRA restart important? TRICK TO SOLVE THE PERFORMANCE DEGRADATION IN JIRA 6.3

Do you restart JIRA e.g. once a week? Is it recomended in order to speed it up? Some users using JIRA very intensively are requesting this, realising that the system is slowing down after a certain time.... VERSION: JIRA 6.3 TRICK 1: The performance increases dramatically if you use Java8 instead of Java7!!  SEE MORE: https://confluence.atlassian.com/display/JIRAKB/Java+8+Improves+JIRA+Performance+Dramatically … Continue reading Is a regular JIRA restart important? TRICK TO SOLVE THE PERFORMANCE DEGRADATION IN JIRA 6.3

It’s time to Use NGINX as the Standard Proxy Server for Atlassian’s JIRA

With NGINX now serving over 37% of the top 1000 websites it's a great time to evaluate replacing Apache as the standard proxy server for Atlassian's JIRA issue tracker. Two reasons you should consider NGINX: Configuration is fast and simple, saving you tons of time NGINX handles highly concurrent, long-lived connections out of the box, … Continue reading It’s time to Use NGINX as the Standard Proxy Server for Atlassian’s JIRA

JIRA Performance Trick: JVM configured with compressed strings and more

Modify the file:  apache-tomcat/bin/setenv.sh Add this params to CATALINA_OPTS and then restart JIRA service -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseCompressedStrings -XX:+OptimizeStringConcat -XX:+OmitStackTraceInFastThrow -XX:+UseCompressedOops

Performance Trick: Minimize the BROWSE permission groups and members to speedup JIRA

"Replace jira-users with the 'Anyone' permission — Thanks to Jamie Echlin for this tip. Permission checks are expensive, especially for any JIRA issues with hundreds or thousands of links, such as GreenHopper epics."  Note that this tip is only possible with instances in which there is no anonymous access allowed or for which there is no … Continue reading Performance Trick: Minimize the BROWSE permission groups and members to speedup JIRA

Trick for better performance: “Setting up a cache filter in Tomcat for static files”

Download the Cache filter here: Cache Filter Jar Zip This cache filter is released under an open source Apache License 2.0. The JAR file comes packaged up with the source files. Additional documentation may be found at the cache-filter project. Deploying the Cache Filter To deploy the cache filter, download the JAR file, which you … Continue reading Trick for better performance: “Setting up a cache filter in Tomcat for static files”