<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 3/24/17 12:17 PM, IBM Spectrum Scale wrote:<br>
</div>
<blockquote cite="mid:OF85BA4BA1.D93AA28A-ON882580ED.005E9AA0-882580ED.005EFDAB@notes.na.collabserv.com" type="cite">
<font face="sans-serif" size="2">Hi Bryan,</font><br>
<br>
<font face="sans-serif" size="2">Making sure Malahal's reply was received by the user group.</font><br>
<br>
<font face="Arial" size="2">>> 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>
</font></blockquote>
<font size="2"><font face="Arial">how do you set the max open files for </font></font><font face="Arial" size="2">Ganesha?</font>
<blockquote cite="mid:OF85BA4BA1.D93AA28A-ON882580ED.005E9AA0-882580ED.005EFDAB@notes.na.collabserv.com" type="cite">
<font face="Arial" size="2"><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>
</font><br>
<font face="sans-serif" size="2">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
</font><a moz-do-not-send="true" href="https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479"><font face="sans-serif" size="2">https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479</font></a><font face="sans-serif" size="2">.
<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.</font><br>
<br>
<br>
<br>
<font face="sans-serif" color="#5f5f5f" size="1">From:        </font><font face="sans-serif" size="1">Bryan Banister
<a class="moz-txt-link-rfc2396E" href="mailto:bbanister@jumptrading.com"><bbanister@jumptrading.com></a></font><br>
<font face="sans-serif" color="#5f5f5f" size="1">To:        </font><font face="sans-serif" size="1">gpfsug main discussion list
<a class="moz-txt-link-rfc2396E" href="mailto:gpfsug-discuss@spectrumscale.org"><gpfsug-discuss@spectrumscale.org></a></font><br>
<font face="sans-serif" color="#5f5f5f" size="1">Date:        </font><font face="sans-serif" size="1">03/23/2017 08:27 AM</font><br>
<font face="sans-serif" color="#5f5f5f" size="1">Subject:        </font><font face="sans-serif" size="1">Re: [gpfsug-discuss] CES node slow to respond</font><br>
<font face="sans-serif" color="#5f5f5f" size="1">Sent by:        </font><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a></font><br>
<hr noshade="noshade">
<br>
<br>
<br>
<tt><font size="2">Anybody from IBM willing/able to give us some explanation of why ganesha is holding open so many files?  Is this expected/needed/etc?<br>
<br>
Or do we have to open a PMR to get some kind of explanation?<br>
-B<br>
<br>
-----Original Message-----<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">
gpfsug-discuss-bounces@spectrumscale.org</a> [</font></tt><a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><tt><font size="2">mailto:gpfsug-discuss-bounces@spectrumscale.org</font></tt></a><tt><font size="2">] On Behalf Of Matt
 Weil<br>
Sent: Thursday, March 23, 2017 10:24 AM<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss@spectrumscale.org">
gpfsug-discuss@spectrumscale.org</a><br>
Subject: Re: [gpfsug-discuss] CES node slow to respond<br>
<br>
FYI all<br>
<br>
We also ran into this after bumping maxFilesToCache.<br>
<br>
Mar 22 13:02:37 ces1 ntpd[1191]: ./../lib/isc/unix/ifiter_ioctl.c:348:<br>
unexpected error:<br>
Mar 22 13:02:37 ces1 ntpd[1191]: making interface scan socket: Too many<br>
open files in system<br>
<br>
fix<br>
<br>
sysctl -w fs.file-max=1000000<br>
<br>
<br>
On 3/22/17 12:01 PM, Bryan Banister wrote:<br>
> 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.<br>
><br>
> 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.<br>
> -Bryan<br>
><br>
> -----Original Message-----<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:gpfsug-discuss-bounces@spectrumscale.org">
gpfsug-discuss-bounces@spectrumscale.org</a> [</font></tt><a moz-do-not-send="true" href="mailto:gpfsug-discuss-bounces@spectrumscale.org"><tt><font size="2">mailto:gpfsug-discuss-bounces@spectrumscale.org</font></tt></a><tt><font size="2">] On Behalf Of Matt
 Weil<br>
> Sent: Wednesday, March 22, 2017 11:43 AM<br>
> To: gpfsug main discussion list <a class="moz-txt-link-rfc2396E" href="mailto:gpfsug-discuss@spectrumscale.org">
<gpfsug-discuss@spectrumscale.org></a><br>
> Subject: [gpfsug-discuss] CES node slow to respond<br>
><br>
> All,<br>
><br>
> We had an indecent yesterday where one of our CES nodes slowed to a<br>
> crawl.  GPFS waiters showed pre fetch threads going after inodes.<br>
> iohist also showed lots of inode fetching.  Then we noticed that the CES<br>
> host had 5.4 million files open.<br>
><br>
> The change I made was to set maxStatCache=DEFAULT because it is linux.<br>
> And set maxFilesToCache=10000000 it was set to 500000.  Then restarted GPFS.<br>
><br>
> Is there something else we should change as well.<br>
><br>
> Thanks<br>
><br>
> Matt<br>
><br>
><br>
> ________________________________<br>
> 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.<br>
> _______________________________________________<br>
> gpfsug-discuss mailing list<br>
> gpfsug-discuss at spectrumscale.org<br>
> </font></tt><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size="2">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size="2"><br>
><br>
> ________________________________<br>
><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>
> _______________________________________________<br>
> gpfsug-discuss mailing list<br>
> gpfsug-discuss at spectrumscale.org<br>
> </font></tt><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size="2">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size="2"><br>
<br>
<br>
________________________________<br>
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.<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at spectrumscale.org<br>
</font></tt><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size="2">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size="2"><br>
<br>
________________________________<br>
<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>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at spectrumscale.org<br>
</font></tt><a moz-do-not-send="true" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size="2">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size="2"><br>
<br>
</font></tt><br>
<br>
<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>