[RTFACT-16977] CLONE - Permission creation very slow with 5.6.2 Created: 19/Jun/18  Updated: 30/Aug/19

Status: Open
Project: Artifactory Binary Repository
Component/s: Performance
Affects Version/s: 5.6.2
Fix Version/s: 5.9.0

Type: Bug Priority: Normal
Reporter: Mirko Friedenhagen Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Environment:
java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)

Debian Jessie

Output from systemd

/usr/bin/java -Djava.util.logging.config.file=/opt/jfrog/artifactory/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -server -Xms1g -Xmx8g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=kill -9 %p -Djruby.compile.invokedynamic=false -Dfile.encoding=UTF8 -Dartdist=deb -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Dartifactory.home=/var/opt/jfrog/artifactory -classpath /opt/jfrog/artifactory/tomcat/bin/bootstrap.jar:/opt/jfrog/artifactory/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/jfrog/artifactory/tomcat -Dcatalina.home=/opt/jfrog/artifactory/tomcat -Djava.io.tmpdir=/opt/jfrog/artifactory/tomcat/temp org.apache.catalina.startup.Bootstrap start

Machine has 16 cores and 32GB RAM


Regression:
Yes

 Description   

We update a long list of permissions from data gathered externally, currently this results in ~700 permissions.
With 5.5.2 updating these took about 30 seconds. Since we updated to 5.6.2 this takes 30 minutes and artifactory seems much slower anayway.



 Comments   
Comment by Erik Spiegel [ 19/Jun/18 ]

The new RTFACT-16977 is now open to investigate same behaviour in version 5.10.3.

 

Mirko Friedenhagen kommentierte RTFACT-15437 - Permission creation very slow with 5.6.2

We currently use 5.10.3 as well and the runtime of the permission creation is still about 2 minutes when creating 906 permissions.

!/jira/secure/viewavatar?size=xsmall&avatarId=11773&avatarType=issuetype|width=16,height=16!18/May/18 4:11 PM
 

Elias Borngaesser kommentierte RTFACT-15437 - Permission creation very slow with 5.6.2

Same issue now with version 5.10.3. Also get permissions via rest api takes way to long. 

Comment by Erik Spiegel [ 19/Jun/18 ]

I don't know, how to rename the topic. May one of Jfrog-team can switch it to 5.10.3 issue

Comment by Mirko Friedenhagen [ 30/Aug/19 ]

Just for the record: creating 2615 permissions now takes about 4 minutes

Generated at Sun Jan 19 11:39:31 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.