Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix/Mac OSX/Windows)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) Gtk-Gnutella user section. Preview this popular software: Gtk-Gnutella (Linux / BSD / Darwin / Mac OS X / Windows)


Reply
 
LinkBack Thread Tools Display Modes
  #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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 01:51 AM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.