[database]
poolMaxIdle = 16
poolLimit = 64
[core]
deltaBaseCacheLimit = 50m
packedGitOpenFiles = 1024
[cache "accounts"]
maxAge = 1d
[cache "changes"]
memoryLimit = 200
maxAge = 1d
[cache "diff"]
maxAge = 1d
memoryLimit = 20m
[cache "diff_intraline"]
maxAge = 1d
memoryLimit = 20m
[cache "git_tags"]
maxAge = 1d
[cache "plugin_resources"]
maxAge = 1d
[cache "projects"]
maxAge = 1d
[gerrit]
basePath = /opt/gitrepo
canonicalWebUrl = http://gerrit.oksystem.local/r/
[database]
type = h2
database = db/ReviewDB
[auth]
type = LDAP
[ldap]
server = ldaps://adc01.oksystem.local
accountBase = dc=oksystem,dc=local
accountPattern = (&(objectClass=user)(sAMAccountName=${username}))
accountFullName = displayName
accountEmailAddress = mail
username = CN=specialGerrit,OU=Foo,OU=Bar,DC=oksystem,DC=local
password = ****
groupBase = dc=oksystem,dc=local
referral = follow
sslVerify = false
localUsernameToLowerCase = true
[sendemail]
smtpServer = localhost
smtpUser = gerrit
[container]
user = gerrit2
javaHome = /usr/lib/jvm/jdk1.7.0_67
heapLimit = 3096m
[core]
packedGitLimit = 60m
packedGitWindowSize = 16k
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-http://127.0.0.1:8080/r/
[cache]
directory = cache
[cache "web_sessions"]
maxAge = 1 y
[mimetype "image/*"]
safe = true
[index]
type = LUCENE
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<02-gerrit.har><03-gerrit.har><04-gerrit.har><05-gerrit.har><02-gerrit.HAR.png><03-gerrit.HAR.png><04-gerrit.HAR.png><05-gerrit.HAR.png>
Hi,
Considering your set-up, usage and current settings I don't think you have any issue with DB, neither with Java. Keeping an eye on these though is still a good idea. Full java garbage collection can take long enough time to give you same symptom you described. Since you have performance issues with WebUI I don't think this is related to core settings mentioned by Alex, could be but I don't think this is your case.
I think your issue comes from the fact that you set memoryLimit on changes to 200.
[cache "changes"]
memoryLimit = 200
I suggest you comment this part and leave it default which is higher anyway and see if this brings any improvement.
Hope this helps,
Vladimir Cantiru
[gerrit]
basePath = /opt/gitrepo
canonicalWebUrl = http://gerrit.oksystem.local/r/
[database]
type = h2
database = db/ReviewDB
poolMaxIdle = 16
poolLimit = 64
[auth]
type = LDAP
[ldap]
server = ldaps://pdc.oksystem.local
accountBase = dc=FFFF,dc=HHHH
accountPattern = (&(objectClass=user)(sAMAccountName=${username}))
accountFullName = displayName
accountEmailAddress =
mail
username = CN=XXXX,OU=DDDD,OU=EEEE,DC=FFFF,DC=HHHH
password = XXXX
groupBase = dc=oksystem,dc=local
referral = follow
sslVerify = false
localUsernameToLowerCase = true
[sendemail]
smtpServer = localhost
smtpUser = gerrit
[container]
user = gerrit2
javaHome = /usr/lib/jvm/jdk1.7.0
_67
heapLimit = 3g
[core]
packedGitLimit = 1536m
packedGitWindowSize = 16k
deltaBaseCacheLimit = 50m
[sshd]
listenAddress = *:29418
threads=24
batchThreads = 2
[cache "accounts"]
maxAge = 1d
[cache "changes"]
maxAge = 1d
[cache "diff"]
maxAge = 1d
memoryLimit = 20m
[cache "diff_intraline"]
maxAge = 1d
memoryLimit = 20m
[cache "git_tags"]
maxAge = 1d
[cache "permission_sort"]
maxAge = 1d
[cache "plugin_resources"]
maxAge = 1d
[cache "projects"]
maxAge = 1d
[cache "sshkeys"]
maxAge = 1d
[cache "web_sessions"]
maxAge = 1 y
[mimetype "image/*"]
safe = true
[index]
type = LUCENE
[gc]
startTime = 0:00
interval = 6 hours
--
netstat | grep http | wc -l
0 3 * * * /usr/bin/ssh -p 29418 username@gerrit.mycompany.local gerrit gc --all
Mistake in my English, I'm sorry.
Should be "... a few units more than ..."
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/repo-discuss/KCcpWroImEY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to repo-discuss...@googlegroups.com.
[database]
type = h2
database = db/ReviewDB
poolMaxIdle = 16
poolLimit = 310
[container]
user = gerrit2
javaHome = /usr/lib/jvm/jdk1.7.0
_67
heapLimit = 3g
[core]
packedGitLimit = 1536m
packedGitWindowSize = 16k
deltaBaseCacheLimit = 50m
Task State StartTime Command
------------------------------------------------------------------------------
0c38d57d 10:31:24.848 Jan-13 21:46 Reload Submit Queue
ac2c2940 22:46:07.428 Jan-13 21:46 Log File Compressor
------------------------------------------------------------------------------
Gerrit Code Review 2.9 now 10:40:12 CET
uptime 2 days 12 hrs
Name |Entries | AvgGet |Hit Ratio|
| Mem Disk Space| |Mem Disk|
--------------------------------+---------------------+---------+---------+
accounts | 37 | 1.3ms | 99% |
accounts_byemail | 54 | 1.3ms | 98% |
accounts_byname | 72 | 520.2us | 99% |
adv_bases | | | |
change_kind | | 15.1ms | 0% |
changes | | | |
groups | 15 | 1.2ms | 95% |
groups_byinclude | 3 | 345.7us | 66% |
groups_byname | | | |
groups_byuuid | 52 | 288.7us | 94% |
groups_external | 1 | 560.3us | 80% |
groups_members | 13 | 6.6ms | 99% |
ldap_group_existence | | | |
ldap_groups | 15 | 3.2s | 99% |
ldap_groups_byinclude | | | |
ldap_usernames | 12 | 329.9us | 52% |
permission_sort | 1024 | | 95% |
plugin_resources | 1 | | 92% |
project_list | 1 | 27.9ms | 99% |
projects | 56 | 307.5us | 96% |
sshkeys | 14 | 2.1ms | 99% |
D conflicts | 9 9 8.47k| | 78% |
D diff | 241 431 804.27k| 22.0ms | 95% 100%|
D diff_intraline | 91 194 160.29k| 14.8ms | 44% 100%|
D git_tags | 0.00k| | 0% |
D web_sessions | 21 2548 904.34k| | 99% 100%|
SSH: 4 users, oldest session started 2 days 12 hrs ago
Tasks: 3 total = 1 running + 0 ready + 2 sleeping
Mem: 804.25m total = 594.94m used + 179.12m free + 30.19m buffers
2.90g max
28 open files, 1 cpus available, 90 threads
ID | USER_NAME | SESSION_START | STATEMENT | STATEMENT_START | CONTAINS_UNCOMMITTED ---+-----------+-------------------------+--------------------------------------------+-------------------------+--------------------- 10 | | 2015-01-14 09:12:34.8 | NULL | 2015-01-14 09:34:51.374 | false 11 | | 2015-01-14 09:12:40.352 | NULL | 2015-01-14 10:45:47.474 | false 8 | | 2015-01-14 08:05:55.839 | select * from information_schema.sessions; | 2015-01-14 08:33:10.629 | false 9 | | 2015-01-14 08:35:49.17 | NULL | 2015-01-14 09:16:38.752 | false 12 | | 2015-01-14 10:45:23.585 | NULL | 2015-01-16 11:02:20.869 | false 13 | | 2015-01-14 10:45:26.127 | NULL | 2015-01-16 11:02:20.869 | false 3 | | 2015-01-13 21:45:54.52 | NULL | 2015-01-13 22:01:47.579 | false 4 | | 2015-01-13 21:45:54.521 | NULL | 2015-01-13 22:01:47.606 | false 5 | | 2015-01-13 21:45:54.521 | NULL | 2015-01-13 22:01:46.632 | false 6 | | 2015-01-13 21:45:54.521 | NULL | 2015-01-13 22:01:47.591 | false 7 | | 2015-01-13 21:50:22.495 | NULL | 2015-01-13 22:01:47.617 | false(11 rows; 4 ms) ID | USER_NAME | SESSION_START | STATEMENT | STATEMENT_START | CONTAINS_UNCOMMITTED ---+-----------+-------------------------+--------------------------------------------+-------------------------+--------------------- 10 | | 2015-01-14 09:12:34.8 | NULL | 2015-01-14 09:34:51.374 | false 11 | | 2015-01-14 09:12:40.352 | NULL | 2015-01-14 10:45:47.474 | false 8 | | 2015-01-14 08:05:55.839 | select * from information_schema.sessions; | 2015-01-14 08:33:10.629 | false 9 | | 2015-01-14 08:35:49.17 | NULL | 2015-01-14 09:16:38.752 | false 12 | | 2015-01-14 10:45:23.585 | NULL | 2015-01-16 11:02:20.869 | false 13 | | 2015-01-14 10:45:26.127 | NULL | 2015-01-16 11:02:20.869 | false 3 | | 2015-01-13 21:45:54.52 | NULL | 2015-01-13 22:01:47.579 | false 4 | | 2015-01-13 21:45:54.521 | NULL | 2015-01-13 22:01:47.606 | false 5 | | 2015-01-13 21:45:54.521 | NULL | 2015-01-13 22:01:46.632 | false 6 | | 2015-01-13 21:45:54.521 | NULL | 2015-01-13 22:01:47.591 | false 7 | | 2015-01-13 21:50:22.495 | NULL | 2015-01-13 22:01:47.617 | false(11 rows; 4 ms)
Hi Sasa,I am debugging performance issue of gerrit 2.9.1 web interface. I came across this post. I see that we are affected by this bug. Are there instructions to fix it in current installation?
Hi Sasa,I am debugging performance issue of gerrit 2.9.1 web interface. I came across this post. I see that we are affected by this bug. Are there instructions to fix it in current installation?
To unsubscribe, email repo-discuss+unsub...@googlegroups.com