Re: [freenet-support] number of connections + question about node refs

2003-12-11 Thread Kendy Kutzner
On 2003-12-11T01:48:26-0800, Steven wrote:
 $  netstat | grep -c tcp
 370

As you wrote, the above also counts non-freenet connections. It
also counts connections already closed by freenet (by your node
or the other one), but TCP still keeps them just in case there is
still a packet flying arround in the Internet.

try something like 
$ netstat -pn | grep -c 'tcp.*ESTABLISHED.*java'

This assumes you are the owner of the freenet process. It counts
only connections made by a process called 'java' which are not
half closed or waiting.

 I assume that these are OUTGOING connections, and this is 
 normal, but I just wanted to be sure.

You are right.

 As my node learns more about the network, it meets a lot of other nodes.  
 Does Fred automatically change seednodes.ref as time goes by?

No.

 do I need to manually save all of these new refs?

No. The only time you need this is when somebody else doesn't
want to download seednodes.ref from the web and has more trust in
your file.

 How can I do this?

go to
http://127.0.0.1:/servlet/nodestatus/noderefs.txt?minConnections=1
and save the result. Note that the seednodes.ref file is only
used at startup and only if it is newer than the rtprops_? files
in the startup directory.

$ touch seednodes.ref
$ ./start-freenet.sh

 Is NGR really working?

I would say: not yet. Currently you can chose between stable (w/o
NGR) and unstable (w/ NGR).

Kendy

-- 



pgp0.pgp
Description: PGP signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support

RE: [freenet-support] number of connections + question about node refs

2003-12-11 Thread Niklas Bergh
 I've limited the amount of connections my node can make to 
 50.  I don't know 
 how this effects the network, how it effects my node's 
 ability find files or 
 anything, all I know is this keeps freenet from eating all of 
 my system's 
 resources.  Please tell me if their is a better way.

What kind of resources? Memory, CPU or bandwidth?

The main argument for allowing more connections to be open is that it is
very expensive (CPU-wise) to open a new connection.. If you allow for
more connections to stay open then less connections will need to be
opened.

Also.. You should never allow less than 2*50 connections if you are
running with the default routing table size since the node needs to be
able to keep two connections open per entry in the rt.

/N

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support