Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/)
-   -   Gtl-gnutella file descriptors - which number to set? (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/104551-gtl-gnutella-file-descriptors-number-set.html)

wdc November 13th, 2021 02:08 PM

Gtl-gnutella file descriptors - which number to set?
 
gtk-gnutella/1.2.1 (2021-07-11; GTK2; Linux x86_64)

Preferences / Network / Banning

Max. file descriptors reserved: 100 - reserved for banning
Max. percentage of file descriptors: 25 - maximum ratio of file descriptors reserved for banning. For instance, if your OS gives you 350 file descriptors, a ratio of 10 will reserve at most 35 file descriptors. You should ensure you have around 100 file descriptors for efficient banning.
Hard limit of file descriptors used: 100 (Currently used 100) - number of file descriptors we'll actually be using for banning

I have tried to change first value from 100 to 200 and it automatically sets 3rd value to 200 and in 2 minutes count of Currently used descriptors reached 200.
Please how to understand the combination of these rules? Apparently i have reached the limit and i do not know which number is safe to use for these three figures, how to evaluate what is good number/combination?


https://courses.cs.washington.edu/co...otocol_0.4.pdf talks about descriptors


:sos:


Quote:

$ sysctl fs.file-nr
fs.file-nr = 35904


$sudo ls -l /proc/*/fd|sort -h|grep -v total|wc -l
17851


All times are GMT -7. The time now is 02:09 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.