<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >>> Note that strictly speaking, the values in /etc/sysconfig are in general the<br>values that will be used at next restart</div>
<div dir="ltr" > </div>
<div dir="ltr" >Yes, that is correct. There should be a file /run/sysconfig/ganesha and that will have the currently used one. There are some plans to dump the config values using dbus, this way you get exact run time values.</div>
<div dir="ltr" > </div>
<div dir="ltr" >>> I see 512k open files while the logfile give 600k.</div>
<div dir="ltr" > </div>
<div dir="ltr" >There is one code path (accessing symlinks) where we are not decrementing the open_fd_count. This may explain why the actual open count is less! Usually, open_fd_count should be less than the actual count from /proc as the open_fd_count doesn't count sockets and some other opens. Thank you Bill, we will fix the symlink case as well.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Regards, Malahal.</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Valdis KlÄ“tnieks" <valdis.kletnieks@vt.edu><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: [EXTERNAL] Re: [gpfsug-discuss] Ganesha daemon has 400'000 open files - is this unusual?<br>Date: Wed, Sep 25, 2019 2:11 AM<br> 
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >On Tue, 24 Sep 2019 08:52:34 -0000, "Billich Heinrich Rainer (ID SD)" said:<br>> Just some addition, maybe its of interest to someone:  The number of max open<br>> files for Ganesha is based on maxFilesToCache. Its. 80%of maxFilesToCache up to<br>> an upper and lower limits of 2000/1M. The active setting is visible in<br>> /etc/sysconfig/ganesha.<br><br>Note that strictly speaking, the values in /etc/sysconfig are in general the<br>values that will be used at next restart - it's totally possible for the system<br>to boot, the then-current values be picked up from /etc/sysconfig, and then any<br>number of things, from configuration automation tools like Ansible, to a<br>cow-orker sysadmin armed with nothing but /usr/bin/vi, to have changed the<br>values without you knowing about it and the daemons not be restarted yet...<br><br>(Let's just say that in 4 decades of doing this stuff, I've been surprised by that<br>sort of thing a few times.  :)</font></div>
<p> </p>
<table border="1" cellpadding="4" cellspacing="2" >        <tbody>                <tr valign="middle" >                        <td><a href="https://mail.notes.na.collabserv.com/livemail/0/db1dd0702bd6a211667c7822d5e92a1a/Body/M1.2/atto10cb.dat?OpenElement" target="_blank" ><img align="middle" alt="Document Icon" border="0" hspace="4" src="/icons/medoc.gif" >atto10cb.dat</a></td>                        <td><b>Type: </b>application/pgp-signature<br>                        <b>Name: </b>atto10cb.dat</td>                </tr>        </tbody></table>
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank" >http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></font></div></blockquote>
<div dir="ltr" > </div></div>
<BR>