Youtrack Hosted Peformance

Hi, we host our implementation of Youtrack ourselves. Here is the server specs:
8 cores @ 2.0GHz (Intel Xeon e5-2650)
10GB ram

Java settings:
  • Xmx8192m
  • XX:MaxPermSize=2048m


Currently we have version 5.2.2 set up.

With these parameters Youtrack performance at times gets really slow. Pages (serch, blank dashboard or an issue) pull up in 10, 15, 20 seconds, sometimes more. At other times we have better performance when there are fewer users trying to access it.

What can we do to improve performance?

yt-slow.jpg
9 comments
Comment actions Permalink
Hi Michael,

Could you please provide us with your Administration> Statistics page ?

Thank you.
0
Comment actions Permalink
Here you go:
Available processors 8
Available memory 7281.8 MB
Allocated memory 7071.5 MB
Used memory 4140.8 MB
Uptime 701 hours, 17 minutes, 30 seconds and 811 milliseconds (started at Monday, July 28, 2014 11:08:03 AM -04:00)
Online users    Users: 22 (max is 31, 5 hours and 42 minutes ago (10:42))
Sessions: 29
Windows: 88
Database size (without blobs) 7.4 GB
Text index size 1.1 GB
Database background threads 2
Pending asynchronous jobs 0
Number of cached results in the database queries cache 6550
Database queries cache hit rate 93.49%
Blob strings cache hit rate 95.31%
Total transactions 1253001
Transactions per second 0.50
Requests per second 9.17
Notification Analyzer Queue Size 0
Notification Sender Queue Size 0
User Action Job Processor Queue Size 0
There is no job being executed
0
Comment actions Permalink
Any update on this? The site is really slow again, here are the stats at the moment:

Available processors 8
Available memory 8086.3 MB
Allocated memory 8086.3 MB
Used memory 4935.2 MB
Uptime 770 hours, 13 minutes, 37 seconds and 856 milliseconds (started at Monday, July 28, 2014 11:08:03 AM -04:00)
Online users    Users: 23 (max is 35, 2 days and 1 hour ago (27 Aug 2014 12:04))
Sessions: 28
Windows: 100
Database size (without blobs) 7.3 GB
Text index size 1.1 GB
Database background threads 2
Pending asynchronous jobs 0
Number of cached results in the database queries cache 6217
Database queries cache hit rate 93.31%
Blob strings cache hit rate 95.14%
Total transactions 1379271
Transactions per second 0.50
Requests per second 4.80
Notification Analyzer Queue Size 0
Notification Sender Queue Size 0
User Action Job Processor Queue Size 0, There is no job being executed

A few seconds ago used memory was almost 7GB.
0
Comment actions Permalink
Hello Michael,

Sorry for a short delay!
How many issues and projects are there?
Could you please try to restart YouTrack with
-Dexodus.gc.utilization.fromScratch=true
prettyPrint();
parameter?
Please note, this parameter should be used only once. It should optimize and collect the database.
Don't forget to backup the database!

Thank you.
0
Comment actions Permalink
Hi Andrey. Thanks for the reply.

We have a total of 34 projects, 11 of which are archived.
Total issue count is 71,918
0
Comment actions Permalink
We will give that parameter a try in the next couple of days.
0
Comment actions Permalink
Hello Andrey,

Will it be alright for us to pass both of these suggested parameters (Dexodus.entityStore.entityIterableCache.maxKeySize=2000 and Dexodus.gc.utilization.fromScratch=true) at the same time like so:

/usr/lib/jvm/default-java/bin/java -Xmx4096m -XX:MaxPermSize=2048m -Dexodus.entityStore.entityIterableCache.maxKeySize=2000 -Dexodus.gc.utilization.fromScratch=true  -jar /usr/local/youtrack/youtrack-modified.jar 8112


Or should they be performed one after the other restarting Youtrack each time?
0
Comment actions Permalink
Sorry it took us a while to test this. However, unfortunately this parameter didn't seem to help much. It's not all the time, I click one issue, it opens in a second or under, another issue takes couple of seconds, another - 5-6. Very often however I get numbers in 10+ seconds just for opening an issue in the browser. Something like 13 seconds or more.

Can you please suggest something else?

Here are the stats at the moment
Available processors 8
Available memory 7423.0 MB
Allocated memory 7423.0 MB
Used memory 6130.9 MB
Uptime 15 hours, 13 minutes, 50 seconds and 19 milliseconds (started at Tuesday, September 30, 2014 7:58:13 PM -04:00)
Online users Users: 23 (max is 23, moments ago (11:11)) Sessions: 33 Windows: 70
Database size (without blobs) 7.5 GB
Text index size 1.0 GB
Database background threads 2
Pending asynchronous jobs 0
Number of cached results in the database queries cache 7201
Database queries cache hit rate 95.23%
Blob strings cache hit rate 94.20%
Total transactions 29002
Transactions per second 0.53
Requests per second 8.00
Notification Analyzer Queue Size 0
Notification Sender Queue Size 0
User Action Job Processor Queue Size 0, There is no job being executed
0
Comment actions Permalink
One other thing, we have update to 5.2.5 and the latest stats are with that version.
0

Please sign in to leave a comment.