<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>also running version 4.2.2.2.<br>
</p>
<br>
<div class="moz-cite-prefix">On 3/24/17 2:57 PM, Matt Weil wrote:<br>
</div>
<blockquote cite="mid:5a3aeddb-3e09-4003-8e57-299e999fe62d@wustl.edu" type="cite">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 3/24/17 1:13 PM, Bryan Banister wrote:<br>
</div>
<blockquote cite="mid:a8b3e36785854ead802279e63ef3dd81@jumptrading.com" type="cite">
<meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Vipul,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hmm… interesting.  We have dedicated systems running CES and nothing else, so the only  thing opening files on GPFS is ganesha.  IBM Support recommended we massively
 increase the maxFilesToCache to fix the performance issues we were having.  I could try to reproduce the problem to investigate further, but the impact to users would not be appreciated. 
</span></p>
</div>
</blockquote>
Same with us the system only runs CES and NFS.  All open files 5.4 million where tied to it.  This excluded anything the system had open.<br>
<blockquote cite="mid:a8b3e36785854ead802279e63ef3dd81@jumptrading.com" type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Setting such a high value for maxFilesToCache has direct impact on the token manager so fixing this would be very good.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Perhaps IBM could take a closer look at this without our involvement?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-Bryan<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Vipul Paul [<a moz-do-not-send="true" class="moz-txt-link-freetext" href="mailto:vpaul@us.ibm.com">mailto:vpaul@us.ibm.com</a>]
<b>On Behalf Of </b>IBM Spectrum Scale<br>
<b>Sent:</b> Friday, March 24, 2017 12:18 PM<br>
<b>To:</b> gpfsug main discussion list <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:gpfsug-discuss@spectrumscale.org">
<gpfsug-discuss@spectrumscale.org></a>; Bryan Banister <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:bbanister@jumptrading.com">
<bbanister@jumptrading.com></a><br>
<b>Subject:</b> Re: CES node slow to respond<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi Bryan,</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Making sure Malahal's reply was received by the user group.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">>> Then we noticed that the CES host had 5.4 million files open<br>
<br>
This is technically not possible with ganesha alone. A process can only open 1 million files on RHEL distro. Either we have leaks in kernel or some other processes contributing to this.<br>
<br>
Ganesha does keep NFSv3 files open and keep open for performance. It doesn't have a good logic to close them after some inactivity. It does close them if the number is close to max open files which is configurable.<br>
<br>
PS: kNFS does open, read/write, and then close.  No caching in older versions. They did have a feature in a recent code to cache open files in NFSv3 as well.<br>
</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Regards, The Spectrum Scale (GPFS) team<br>
<br>
------------------------------------------------------------------------------------------------------------------<br>
If you feel that your question can benefit other users of  Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at
</span><a moz-do-not-send="true" href="https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif">.
<br>
<br>
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact  1-800-237-5511 in the United States or your local IBM Service Center in other countries.
<br>
<br>
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.</span><br>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">From:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Bryan Banister <<a moz-do-not-send="true" href="mailto:bbanister@jumptrading.com">bbanister@jumptrading.com</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">To:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">gpfsug main discussion list <<a moz-do-not-send="true" href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Date:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">03/23/2017 08:27 AM</span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Subject:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Re: [gpfsug-discuss] CES node slow to respond</span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Sent by:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif"><a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a></span><o:p></o:p></p>
<div class="MsoNormal" style="text-align:center" align="center">
<hr style="color:#A0A0A0" align="center" noshade="noshade" size="2" width="100%">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<tt><span style="font-size:10.0pt">Anybody from IBM willing/able to give us some explanation of why ganesha is holding open so many files?  Is this expected/needed/etc?</span></tt><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<br>
<tt>Or do we have to open a PMR to get some kind of explanation?</tt><br>
<tt>-B</tt><br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: <a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">
gpfsug-discuss-bounces@spectrumscale.org</a> [</tt></span><a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><tt><span style="font-size:10.0pt">mailto:gpfsug-discuss-bounces@spectrumscale.org</span></tt></a><tt><span style="font-size:10.0pt">]
 On Behalf Of Matt Weil</span></tt><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<tt>Sent: Thursday, March 23, 2017 10:24 AM</tt><br>
<tt>To: <a moz-do-not-send="true" href="mailto:gpfsug-discuss@spectrumscale.org">
gpfsug-discuss@spectrumscale.org</a></tt><br>
<tt>Subject: Re: [gpfsug-discuss] CES node slow to respond</tt><br>
<br>
<tt>FYI all</tt><br>
<br>
<tt>We also ran into this after bumping maxFilesToCache.</tt><br>
<br>
<tt>Mar 22 13:02:37 ces1 ntpd[1191]: ./../lib/isc/unix/ifiter_ioctl.c:348:</tt><br>
<tt>unexpected error:</tt><br>
<tt>Mar 22 13:02:37 ces1 ntpd[1191]: making interface scan socket: Too many</tt><br>
<tt>open files in system</tt><br>
<br>
<tt>fix</tt><br>
<br>
<tt>sysctl -w fs.file-max=1000000</tt><br>
<br>
<br>
<tt>On 3/22/17 12:01 PM, Bryan Banister wrote:</tt><br>
<tt>> We had a similar issue and also were instructed by IBM Support to increase the maxFilesToCache to an insane value... Basically when the file cache gets full then the host will spend all of its cycles looking for a file to evict every time a new file is
 opened...  baaaah.</tt><br>
<tt>></tt><br>
<tt>> Not sure why Ganesha has to keep so many files open... I can't believe our NFS clients actually keep that many open.  cNFS never needed this.</tt><br>
<tt>> -Bryan</tt><br>
<tt>></tt><br>
<tt>> -----Original Message-----</tt><br>
<tt>> From: <a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">
gpfsug-discuss-bounces@spectrumscale.org</a> [</tt></span><a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><tt><span style="font-size:10.0pt">mailto:gpfsug-discuss-bounces@spectrumscale.org</span></tt></a><tt><span style="font-size:10.0pt">]
 On Behalf Of Matt Weil</span></tt><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<tt>> Sent: Wednesday, March 22, 2017 11:43 AM</tt><br>
<tt>> To: gpfsug main discussion list <<a moz-do-not-send="true" href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>></tt><br>
<tt>> Subject: [gpfsug-discuss] CES node slow to respond</tt><br>
<tt>></tt><br>
<tt>> All,</tt><br>
<tt>></tt><br>
<tt>> We had an indecent yesterday where one of our CES nodes slowed to a</tt><br>
<tt>> crawl.  GPFS waiters showed pre fetch threads going after inodes.</tt><br>
<tt>> iohist also showed lots of inode fetching.  Then we noticed that the CES</tt><br>
<tt>> host had 5.4 million files open.</tt><br>
<tt>></tt><br>
<tt>> The change I made was to set maxStatCache=DEFAULT because it is linux.</tt><br>
<tt>> And set maxFilesToCache=10000000 it was set to 500000.  Then restarted GPFS.</tt><br>
<tt>></tt><br>
<tt>> Is there something else we should change as well.</tt><br>
<tt>></tt><br>
<tt>> Thanks</tt><br>
<tt>></tt><br>
<tt>> Matt</tt><br>
<tt>></tt><br>
<tt>></tt><br>
<tt>> ________________________________</tt><br>
<tt>> The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any
 action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.</tt><br>
<tt>> _______________________________________________</tt><br>
<tt>> gpfsug-discuss mailing list</tt><br>
<tt>> gpfsug-discuss at spectrumscale.org</tt><br>
<tt>> </tt></span><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style="font-size:10.0pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<tt>></tt><br>
<tt>> ________________________________</tt><br>
<tt>></tt><br>
<tt>> Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of
 this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.</tt><br>
<tt>> _______________________________________________</tt><br>
<tt>> gpfsug-discuss mailing list</tt><br>
<tt>> gpfsug-discuss at spectrumscale.org</tt><br>
<tt>> </tt></span><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style="font-size:10.0pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<br>
<br>
<tt>________________________________</tt><br>
<tt>The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any
 action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.</tt><br>
<tt>_______________________________________________</tt><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at spectrumscale.org</tt><br>
</span><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style="font-size:10.0pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<br>
<tt>________________________________</tt><br>
<br>
<tt>Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of
 this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.</tt><br>
<tt>_______________________________________________</tt><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at spectrumscale.org</tt><br>
</span><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style="font-size:10.0pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><span style="font-size:10.0pt;font-family:"Courier
              New""><br>
<br>
<br>
</span><o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this
 email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.<br>
</font><br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>
</pre>
</blockquote>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p></o:p></span>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal" style="text-align:center" align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended
 recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone
 or return mail.</span></p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
<a class="moz-txt-link-freetext" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>
</pre>
</blockquote>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p></o:p></span>
<p></p>
<div></div>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended
 recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone
 or return mail.</span></p>
</body>
</html>