>> Note that strictly speaking, the values in /etc/sysconfig are in general the
values that will be used at next restart
 
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.
 
>> I see 512k open files while the logfile give 600k.
 
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.
 
Regards, Malahal.
 
 
----- Original message -----
From: "Valdis KlÄ“tnieks" <[email protected]>
Sent by: [email protected]
To: gpfsug main discussion list <[email protected]>
Cc:
Subject: [EXTERNAL] Re: [gpfsug-discuss] Ganesha daemon has 400'000 open files - is this unusual?
Date: Wed, Sep 25, 2019 2:11 AM
 
On Tue, 24 Sep 2019 08:52:34 -0000, "Billich Heinrich Rainer (ID SD)" said:
> Just some addition, maybe its of interest to someone:  The number of max open
> files for Ganesha is based on maxFilesToCache. Its. 80%of maxFilesToCache up to
> an upper and lower limits of 2000/1M. The active setting is visible in
> /etc/sysconfig/ganesha.

Note that strictly speaking, the values in /etc/sysconfig are in general the
values that will be used at next restart - it's totally possible for the system
to boot, the then-current values be picked up from /etc/sysconfig, and then any
number of things, from configuration automation tools like Ansible, to a
cow-orker sysadmin armed with nothing but /usr/bin/vi, to have changed the
values without you knowing about it and the daemons not be restarted yet...

(Let's just say that in 4 decades of doing this stuff, I've been surprised by that
sort of thing a few times.  :)

 

Document Iconatto10cb.dat Type: application/pgp-signature
Name: atto10cb.dat
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
 

Attachment: att6j9ca.dat
Description: Binary data

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to