View Single Post
  #1 (permalink)  
Old November 13th, 2021
wdc wdc is offline
Disciple
 
Join Date: July 13th, 2021
Posts: 11
wdc is a great assister to others; your light through the dark tunnel
Default 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





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


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

Last edited by wdc; November 13th, 2021 at 02:27 PM.
Reply With Quote