<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:692801059;
        mso-list-type:hybrid;
        mso-list-template-ids:-1037024860 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7 ;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7 ;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7 ;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1705907765;
        mso-list-template-ids:1633980138;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level3
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level4
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level6
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level7
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level9
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7 ;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I suggest switching to use MDQ (metadata query service) instead of downloading the entire metadata file. See https://spaces.at.internet2.edu/display/MDQ/production-metadata<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">On 4/13/22, 1:18 PM, "users" <users-bounces@shibboleth.net> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div id="demo">
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;margin-left:.5in;background:yellow;border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="100%" style="width:100.0%;border:double windowtext 1.0pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-family:"Calibri",sans-serif;color:red">Caution</span></strong><span style="color:red">: This message did not originate from within ITHAKA's email system. Please use caution when opening attachments and following
 links within this message. <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-left:.5in">Hello All,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">When we are restarting our Shibd.service during regular maintainance, we are facing a issue with the parsing of the Incommons-metadata.xml file. While checking of signature after downloading of the xml file, taking
 a very long peroid of time while applying metadata filter for signature i.e. close to 20 mins downtime
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">……………………………………………………………………………………………………………………………………………………………….<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">……………………………………………………………………………………………………………………………………………………………….<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">……………………………………………………………………………………………………………………………………………………………….<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO Shibboleth.Application : auto-configuring Logout initiation for protocol (Local)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO Shibboleth.Application : adding LogoutInitiator of type (Local) to chain (/Logout)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO Shibboleth.Handler.DiscoveryFeed : feed files will be cached in /var/cache/shibboleth/<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO Shibboleth.Application : building MetadataProvider of type XML...<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO OpenSAML.MetadataProvider : building MetadataFilter of type RequireValidUntil<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO OpenSAML.MetadataProvider : building MetadataFilter of type Signature<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO XMLTooling.SecurityHelper : loading certificate(s) from file (/etc/shibboleth/inc-md-cert.pem)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:27:49 INFO XMLTooling.CredentialResolver.File : no private key resolved, usable for verification/trust only<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:28:00 INFO OpenSAML.MetadataProvider.XML : loaded XML resource (<a href="https://md.incommon.org/InCommon/InCommon-metadata.xml">https://md.incommon.org/InCommon/InCommon-metadata.xml</a>)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:28:06 INFO OpenSAML.MetadataProvider : applying metadata filter (RequireValidUntil)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2022-04-11 16:28:06 INFO OpenSAML.MetadataProvider : applying metadata filter (Signature)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">In January last month itself we had to increase the timeout for starting of the service from 5 to 10mins and now it has increased to 20 mins in such a short time.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Moreover when we checked the CPU usage at this time of outage we saw that the shibd service was consuming 100% of the single thread CPU core consistently.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">As we cannot have such a long downtime, and also at a such a constant sharp increase in the downtime. We wanted for some inputs in questions:<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>Is this issue standard, faced by everyone??<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>Is there any parameter in the shibboleth2.xml; altering which could enable the shibd.service to use more numner of CPU nodes if this issue is due to the lack of CPU resouces??<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>If not will shibd.service support the use of hyper-threading; i.e. multiple threads on a single core where the service is being started to illiminate the chance that this parsing delay is due to the CPU resouce shortage??<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>Will increase in the clock rate i.e. Mhz of the CPU help in this case??<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>Is there a way to skip this and us to choose when to parse the newly downloaded xml, so as to reduce downtime??<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>And are there any other solutions that anyone has implemented that has worked around this issue??<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Thank you for any inputs, relating to the same.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Yours Sincerely,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Siddharth Satyakam<o:p></o:p></p>
</div>
</div>
</body>
</html>