Thanks,

I did see those additional setting and set the time to max, and did see good 
improvement ☺

Thanks for update.

S

From: Arnaud Héritier [via Jenkins CI] 
[mailto:[email protected]]
Sent: Thursday, September 17, 2015 2:57 PM
To: LIGADE, SHAILESH
Subject: Re: Crowd2 1.8 plugin

With the patched version you have some additional cache settings. They are 
deactivated by default for backward compatibility.

Like Kanstantsin said a huge work was started to fix SSO issues and the cache 
will have to be backported in its current form or using its native ehcache 
integration if it is possible and allow end users to configure it.

My patched version was developed in few hours when I met the same performance 
issue with 'recent' Jenkins versions which are providing a more dynamic UI but 
which in counter part test the user permissions more often. As far as I 
remember I used the same authorization strategy.

Best regards

Le jeudi 17 septembre 2015, Kanstantsin Shautsou <[hidden 
email]</user/SendEmail.jtp?type=node&node=4770875&i=0>> a écrit :
Crowd2 plugin code is trash, initial author mapped SSO into remember me. I 
fully refactored it to work right and it works fine with username/password. I'm 
waiting @aheritier's help to fix SSO part. His PR with custom caching may be 
redundant because crowd-client provides built-in ehcache and i will prefer 
shift any problem to crowd-client authors.
If you want help, then feel free to help trace SSO auth routines in refactored 
code.

On Thursday, September 17, 2015 at 6:59:24 PM UTC+3, marathiboy wrote:
Thanks BR,

I did install that patch as well as restarted, but didn’t see any noticeable 
performance difference. Without SSO, response is under 2 sec, with SSO, it is 
more like 25 sec ☹

I am using Jenkins 1.594, crowd 2.8, plugin 1.8 + patch

We do use ‘Project-based Matrix Authorization Strategy’ not sure that is 
causing the problem…

Thanks

S


From: Arnaud Héritier [via Jenkins CI] [mailto:[hidden 
email]</user/SendEmail.jtp?type=node&node=4770875&i=1>]
Sent: Wednesday, September 16, 2015 4:54 PM
To: LIGADE, SHAILESH
Subject: Re: Crowd2 1.8 plugin

Hi,

  For https://issues.jenkins-ci.org/browse/JENKINS-16703 there is a pull 
request with a fix implementing a cache mechanism
  We hope to integrate it correctly in the master branch soon
  There is a patch jar attached to the issue that various people are using in 
production.

BR

On Wed, Sep 16, 2015 at 10:02 PM, marathiboy <[hidden 
email]</user/SendEmail.jtp?type=node&node=4770617&i=0>> wrote:
Hello,

I am using crowd2 plugin, the SSO part is working as well, however, the
server is very slow. Each page take about 30 seconds to load. I can see that
Jenkins is making way too many requests to crowd server.

Is there any setting that I am missing?

I also saw similar issue
http://jenkins-ci.361315.n4.nabble.com/JIRA-JENKINS-16703-Too-many-periodic-requests-to-Crowd-server-td4654843.html

and not sure how it was resolved. The ticket states that as of April 15,
there was new update to plugin but plugin page states that the latest plugin
is 1.8 from Aug 2014

Thanks

S



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Crowd2-1-8-plugin-tp4770598.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [hidden email]</user/SendEmail.jtp?type=node&node=4770617&i=1>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/1442433770093-4770598.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.



--
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [hidden email]</user/SendEmail.jtp?type=node&node=4770617&i=2>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-_jDxvkTHXS38dfkd2WJ1svO8JdP9CwdFcCTUJ%2Bt5muQQ%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-_jDxvkTHXS38dfkd2WJ1svO8JdP9CwdFcCTUJ%2Bt5muQQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

________________________________
If you reply to this email, your message will be added to the discussion below:
http://jenkins-ci.361315.n4.nabble.com/Crowd2-1-8-plugin-tp4770598p4770617.html
To unsubscribe from Crowd2 1.8 plugin, click here<
NAML<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Crowd2-1-8-plugin-tp4770598p4770827.html
Sent from the Jenkins dev mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to <a 
href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;jenkinsci-dev%[email protected]&#39;);"
 target="_blank">jenkinsci-dev+unsubscribe@....
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/528d96c7-8519-4b4d-a780-87adb250552e%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-dev/528d96c7-8519-4b4d-a780-87adb250552e%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [hidden email]</user/SendEmail.jtp?type=node&node=4770875&i=2>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-_9y5wK3Z1dNvepnvRGUrvihmxPeWFq8W912h2Zf-_2Rg%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-_9y5wK3Z1dNvepnvRGUrvihmxPeWFq8W912h2Zf-_2Rg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

________________________________
If you reply to this email, your message will be added to the discussion below:
http://jenkins-ci.361315.n4.nabble.com/Crowd2-1-8-plugin-tp4770598p4770875.html
To unsubscribe from Crowd2 1.8 plugin, click 
here<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4770598&code=c2hhaWxlc2gubGlnYWRlQGNicC5kaHMuZ292fDQ3NzA1OTh8LTU4MDAxMjMz>.
NAML<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Crowd2-1-8-plugin-tp4770598p4770881.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/5A769F6683025E41B0C2C8DF4141AF3707F42E5E%40D2ASEPREA008.
For more options, visit https://groups.google.com/d/optout.

Reply via email to