[freenet-support] is node functioning properly?

2005-04-13 Thread Maps
Just installed it and now I would like to know whether it is set up correctly. 
Is there a way to find out whether the node is functioning properly?

It takes a long time to have the initial pages completed in the browser. It 
seems that the current page does not have priority above other things the node 
does. Is that correct?


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] How to minimise memory/threads?

2005-04-13 Thread Duana Saskia STANLEY
I'm running a small network of freenet nodes on a university network and 
I'm getting in trouble for the amount of physical memory it's using.

A node runs around 54 threads each using 22M of resident memory.. around 
1232MB of physical memory in total.  Why does it use so much memory?  A 
lot of the time the nodes are doing nothing but still there are a lot of 
threads, also, not sure why they are all resident.

I read in the archives that one thing to do is decrease maxConnections 
setting.  I'll try this but don't see why that would work.  There was also 
something on freenethelp.org giving a whole host of commandline options to 
try to optimize memory usage but I tried this and it blew it out even 
more.

Are there any other ways I can reduce memory usage and/or number of 
spawned threads?

Thanks
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Crash but why

2005-04-13 Thread ajpearce
Freenet keeps crashing (or jvm?). I can't do `/etc/init.d/freenet
restart` because it can't find the process to kill and doesn't
continue though anyway (shouldn't continuing anyway be better design
in the init script?, or at least some help on getting the daemon going
again):

The OS is Gentoo - net-p2p/freenet is version 0.5.2.1-r8

[EMAIL PROTECTED]/var/freenet] # /etc/init.d/freenet restart
 * Stopping Freenet...
start-stop-daemon: warning: failed to kill 14896: No such process 
  [ !!
]

freenet.stdout.log:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.



Dynamic libraries:
08048000-08057000 r-xp  03:06 633717
/opt/blackdown-jdk-1.4.2.01/bin/java
08057000-08059000 rwxp e000 03:06 633717
/opt/blackdown-jdk-1.4.2.01/bin/java
9d99e000-9d9ad000 r-xp  03:06 930234 /lib/libresolv-2.3.4.so
9d9ad000-9d9ae000 rwxp f000 03:06 930234 /lib/libresolv-2.3.4.so
9d9b-9d9b4000 r-xp  03:06 930238 /lib/libnss_dns-2.3.4.so
9d9b4000-9d9b5000 rwxp 3000 03:06 930238 /lib/libnss_dns-2.3.4.so
9e576000-9e57c000 r-xp  03:06 649728
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnio.so
9e57c000-9e57d000 rwxp 6000 03:06 649728
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnio.so
9e9d-9e9d8000 r-xs  08:03 298731
/usr/share/systray4j/lib/systray4j.jar
9e9d8000-9ea2f000 r-xs  08:03 298710 /usr/share/log4j/lib/log4j.jar
9ea2f000-9ea5d000 r-xs  08:03 298706 /usr/share/junit/lib/junit.jar
9ea5d000-9ea7d000 r-xs  08:03 157939
/usr/lib/freenet/freenet-ext.jar
9ea7d000-9ea8c000 r-xp  03:06 649873
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnet.so
9ea8c000-9ea8d000 rwxp e000 03:06 649873
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnet.so
9ea8d000-9ecfa000 r-xs  08:03 156931 /usr/lib/freenet/freenet.jar
9ecfa000-9edb6000 r-xs  03:06 649796
/opt/blackdown-jdk-1.4.2.01/jre/lib/ext/localedata.jar
9edb6000-9edc4000 r-xs  03:06 649750
/opt/blackdown-jdk-1.4.2.01/jre/lib/ext/ldapsec.jar
9edc4000-9ede r-xs  03:06 649748
/opt/blackdown-jdk-1.4.2.01/jre/lib/ext/sunjce_provider.jar
9ede-9ede3000 r-xs  03:06 649747
/opt/blackdown-jdk-1.4.2.01/jre/lib/ext/dnsns.jar
b58cf000-b5e28000 r-xs  03:06 649799
/opt/blackdown-jdk-1.4.2.01/jre/lib/charsets.jar
b5e28000-b5e39000 r-xs  03:06 649745
/opt/blackdown-jdk-1.4.2.01/jre/lib/jce.jar
b5e39000-b5f16000 r-xs  03:06 649727
/opt/blackdown-jdk-1.4.2.01/jre/lib/jsse.jar
b5f16000-b5f2c000 r-xs  03:06 649820
/opt/blackdown-jdk-1.4.2.01/jre/lib/sunrsasign.jar
b5f76000-b7921000 r-xs  03:06 650012
/opt/blackdown-jdk-1.4.2.01/jre/lib/rt.jar
b7921000-b7932000 r-xp  03:06 649865
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libzip.so
b7932000-b7934000 rwxp 00011000 03:06 649865
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libzip.so
b7934000-b7953000 r-xp  03:06 649833
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjava.so
b7953000-b7954000 rwxp 0001f000 03:06 649833
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjava.so
b7954000-b795c000 r-xp  03:06 930242 /lib/libnss_files-2.3.4.so
b795c000-b795d000 rwxp 8000 03:06 930242 /lib/libnss_files-2.3.4.so
b795d000-b7965000 r-xp  03:06 930261 /lib/libnss_nis-2.3.4.so
b7965000-b7966000 rwxp 8000 03:06 930261 /lib/libnss_nis-2.3.4.so
b7966000-b796d000 r-xp  03:06 930267 /lib/libnss_compat-2.3.4.so
b796d000-b796e000 rwxp 6000 03:06 930267 /lib/libnss_compat-2.3.4.so
b7982000-b7993000 r-xp  03:06 649845
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libverify.so
b7993000-b7994000 rwxp 00011000 03:06 649845
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libverify.so
b7994000-b7998000 rwxs  03:06 64927  /tmp/hsperfdata_freenet/14896
b7998000-b79b9000 r-xp  03:06 929803 /lib/libm-2.3.4.so
b79b9000-b79ba000 rwxp 0002 03:06 929803 /lib/libm-2.3.4.so
b79ba000-b79cc000 r-xp  03:06 930260 /lib/libnsl-2.3.4.so
b79cc000-b79cd000 rwxp 00011000 03:06 930260 /lib/libnsl-2.3.4.so
b79f-b79f8000 r-xp  03:06 649876
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads/libhpi.so
b79f8000-b79f9000 rwxp 7000 03:06 649876
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads/libhpi.so
b79f9000-b7e29000 r-xp  03:06 649842
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/server/libjvm.so
b7e29000-b7e82000 rwxp 0042f000 03:06 649842
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/server/libjvm.so
b7e9b000-b7fa7000 r-xp  03:06 930394   

Re: [freenet-support] KSK question

2005-04-13 Thread Matthew Toseland
On Fri, Apr 01, 2005 at 05:37:30AM +0200, [Anon] MyTwoCents [EMAIL PROTECTED] 
wrote:
 This is a Type III anonymous message, sent to you by the Mixminion
 server at pbox-level-2.homelinux.net.  If you do not want to receive
 anonymous messages, please contact [EMAIL PROTECTED]
 
 -BEGIN TYPE III ANONYMOUS MESSAGE-
 Message-type: plaintext
 
 - -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 is it possible to get freenet to allow me to overwrite the
 contents of a KSK@ keyspace?

No. Well, maybe. You shouldn't be able to overwrite an existing KSK.
This lets messaging work tolerably well, and prevents a few semi-
social engineering attacks.
 
 Some idiot uploaded a *REALLY* offensive .jpg into one of my
 NiM slots and if it is at all possible, I'd like to replace
 it with some text.

That is of course rather annoying.

In future you can avoid such problems by having the NIM slots force the
MIME type:

a href=[EMAIL PROTECTED]/plain

Obviously you can't have HTML feedback if you do this.

Right now... well, I suggest you publish a new edition. :(
 
 Thanks for the help.
 
  M2C
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] is node functioning properly?

2005-04-13 Thread Matthew Toseland
On Sat, Apr 02, 2005 at 04:55:36PM +, Maps wrote:
 Just installed it and now I would like to know whether it is set up 
 correctly. 
 Is there a way to find out whether the node is functioning properly?

There are several things you can look for. Here are some of the most
obvious ones:

Go to the Web Interface page.
What is the build number? If it is less than 5102, then you have an old
version. If it is less than 5099 you have a really old version which
won't work at all with the modern network.

Click Advanced mode. Click on Open Connections. How many connections
are open? How many are incoming? If you have no incoming connections,
you may have firewall problems. If your total number of connections is
less than about 20, you may have problems, but it should build with
experience/uptime.
 
 It takes a long time to have the initial pages completed in the browser. It 
 seems that the current page does not have priority above other things the 
 node 
 does. Is that correct?

In a way, yes, since if it did that could be used to detect what was
being fetched by the user and thus ruining his anonymity. But the likely
problem is either:
a) Your node hasn't been up for long. It takes time for a node to learn
where stuff is and to get enough connections. Well established nodes are
much faster than new nodes. Or:
b) You haven't reconfigured your browser to use more connections, and
are fetching many pages at once, with the result that the browser
apparently hangs for a long time. This is because freenet requests can
take a long time. If you are using Mozilla or Firefox, type about:config
in the status bar and change the network.http settings to let it use
more connections. This is in the README, which you probably don't
have (our fault).
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] Crash but why

2005-04-13 Thread Matthew Toseland
Not good. Probably a JVM problem.

On Sat, Apr 09, 2005 at 10:18:21AM +0100, ajpearce wrote:
 Freenet keeps crashing (or jvm?). I can't do `/etc/init.d/freenet
 restart` because it can't find the process to kill and doesn't
 continue though anyway (shouldn't continuing anyway be better design
 in the init script?, or at least some help on getting the daemon going
 again):
 
 The OS is Gentoo - net-p2p/freenet is version 0.5.2.1-r8
 
 [EMAIL PROTECTED]/var/freenet] # /etc/init.d/freenet restart
  * Stopping Freenet...
 start-stop-daemon: warning: failed to kill 14896: No such process 
   [ !!
 ]
 
 freenet.stdout.log:
 
 An unexpected exception has been detected in native code outside the VM.
 Unexpected Signal : 11 occurred at PC=0x0
 Function=[Unknown.]
 Library=(N/A)
 
 NOTE: We are unable to locate the function name symbol for the error
   just occurred. Please refer to release documentation for possible
   reason and solutions.
 
 
 
 Dynamic libraries:
 08048000-08057000 r-xp  03:06 633717
 /opt/blackdown-jdk-1.4.2.01/bin/java
 08057000-08059000 rwxp e000 03:06 633717
 /opt/blackdown-jdk-1.4.2.01/bin/java
 9d99e000-9d9ad000 r-xp  03:06 930234 /lib/libresolv-2.3.4.so
 9d9ad000-9d9ae000 rwxp f000 03:06 930234 /lib/libresolv-2.3.4.so
 9d9b-9d9b4000 r-xp  03:06 930238 /lib/libnss_dns-2.3.4.so
 9d9b4000-9d9b5000 rwxp 3000 03:06 930238 /lib/libnss_dns-2.3.4.so
 9e576000-9e57c000 r-xp  03:06 649728
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnio.so
 9e57c000-9e57d000 rwxp 6000 03:06 649728
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnio.so
 9e9d-9e9d8000 r-xs  08:03 298731
 /usr/share/systray4j/lib/systray4j.jar
 9e9d8000-9ea2f000 r-xs  08:03 298710 
 /usr/share/log4j/lib/log4j.jar
 9ea2f000-9ea5d000 r-xs  08:03 298706 
 /usr/share/junit/lib/junit.jar
 9ea5d000-9ea7d000 r-xs  08:03 157939
 /usr/lib/freenet/freenet-ext.jar
 9ea7d000-9ea8c000 r-xp  03:06 649873
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnet.so
 9ea8c000-9ea8d000 rwxp e000 03:06 649873
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libnet.so
 9ea8d000-9ecfa000 r-xs  08:03 156931 /usr/lib/freenet/freenet.jar
 9ecfa000-9edb6000 r-xs  03:06 649796
 /opt/blackdown-jdk-1.4.2.01/jre/lib/ext/localedata.jar
 9edb6000-9edc4000 r-xs  03:06 649750
 /opt/blackdown-jdk-1.4.2.01/jre/lib/ext/ldapsec.jar
 9edc4000-9ede r-xs  03:06 649748
 /opt/blackdown-jdk-1.4.2.01/jre/lib/ext/sunjce_provider.jar
 9ede-9ede3000 r-xs  03:06 649747
 /opt/blackdown-jdk-1.4.2.01/jre/lib/ext/dnsns.jar
 b58cf000-b5e28000 r-xs  03:06 649799
 /opt/blackdown-jdk-1.4.2.01/jre/lib/charsets.jar
 b5e28000-b5e39000 r-xs  03:06 649745
 /opt/blackdown-jdk-1.4.2.01/jre/lib/jce.jar
 b5e39000-b5f16000 r-xs  03:06 649727
 /opt/blackdown-jdk-1.4.2.01/jre/lib/jsse.jar
 b5f16000-b5f2c000 r-xs  03:06 649820
 /opt/blackdown-jdk-1.4.2.01/jre/lib/sunrsasign.jar
 b5f76000-b7921000 r-xs  03:06 650012
 /opt/blackdown-jdk-1.4.2.01/jre/lib/rt.jar
 b7921000-b7932000 r-xp  03:06 649865
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libzip.so
 b7932000-b7934000 rwxp 00011000 03:06 649865
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libzip.so
 b7934000-b7953000 r-xp  03:06 649833
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjava.so
 b7953000-b7954000 rwxp 0001f000 03:06 649833
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjava.so
 b7954000-b795c000 r-xp  03:06 930242 /lib/libnss_files-2.3.4.so
 b795c000-b795d000 rwxp 8000 03:06 930242 /lib/libnss_files-2.3.4.so
 b795d000-b7965000 r-xp  03:06 930261 /lib/libnss_nis-2.3.4.so
 b7965000-b7966000 rwxp 8000 03:06 930261 /lib/libnss_nis-2.3.4.so
 b7966000-b796d000 r-xp  03:06 930267 /lib/libnss_compat-2.3.4.so
 b796d000-b796e000 rwxp 6000 03:06 930267 /lib/libnss_compat-2.3.4.so
 b7982000-b7993000 r-xp  03:06 649845
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libverify.so
 b7993000-b7994000 rwxp 00011000 03:06 649845
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libverify.so
 b7994000-b7998000 rwxs  03:06 64927  /tmp/hsperfdata_freenet/14896
 b7998000-b79b9000 r-xp  03:06 929803 /lib/libm-2.3.4.so
 b79b9000-b79ba000 rwxp 0002 03:06 929803 /lib/libm-2.3.4.so
 b79ba000-b79cc000 r-xp  03:06 930260 /lib/libnsl-2.3.4.so
 b79cc000-b79cd000 rwxp 00011000 03:06 930260 /lib/libnsl-2.3.4.so
 b79f-b79f8000 r-xp  03:06 649876
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads/libhpi.so
 b79f8000-b79f9000 rwxp 7000 03:06 649876
 /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads/libhpi.so
 b79f9000-b7e29000 r-xp  03:06 649842
 

Re: [freenet-support] How to minimise memory/threads?

2005-04-13 Thread Matthew Toseland
On Mon, Apr 04, 2005 at 01:57:48PM +1000, Duana Saskia STANLEY wrote:
 
 I'm running a small network of freenet nodes on a university network and 
 I'm getting in trouble for the amount of physical memory it's using.
 
 A node runs around 54 threads each using 22M of resident memory.. around 
 1232MB of physical memory in total. 

No, it doesn't. Read up on threads sometime. :). Seriously, they all
share the SAME 22M of resident memory. There is very little thread
local memory.

 Why does it use so much memory?  A 
 lot of the time the nodes are doing nothing but still there are a lot of 
 threads, also, not sure why they are all resident.

We pool them to avoid costly creation/deletion of threads.
 
 I read in the archives that one thing to do is decrease maxConnections 
 setting.  I'll try this but don't see why that would work.  There was also 
 something on freenethelp.org giving a whole host of commandline options to 
 try to optimize memory usage but I tried this and it blew it out even 
 more.
 
 Are there any other ways I can reduce memory usage and/or number of 
 spawned threads?

Umm, maybe the maximumThreads option? :)
 
 Thanks
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] Crash; jvm or freenet?

2005-04-13 Thread Matthew Toseland
On Sat, Apr 09, 2005 at 02:54:23AM -0700, Todd Walton wrote:
 On Apr 9, 2005 2:23 AM, Jago Pearce [EMAIL PROTECTED] wrote:
  Freenet keeps crashing (or jvm?). I can't do `/etc/init.d/freenet
  restart` because it can't find the process to kill
 
 1) Try /etc/init.d/freenet zap.  Also, /etc/init.d/anything,
 without arguments, will help you in the future.
 
 2) Toad may be able to help you further in figuring out what's wrong
 so you can get it fixed.  But even if he does, I'd suggest filing a
 bug report at bugs.gentoo.org.  They may be able to help, and this
 sounds like their kind of problem, anyway.

I don't know what the problem is.
 
  costs me 3p an hour to run my computer (1.5c)

Woah. You must have absurdly expensive electricity... even if your
computer uses 500W, which is insane, it'd cost less than that here.
 
 If you run Freenet non-stop for a whole month, then that's only 10
 dollars, if I read you right.
 
 -todd
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] Crash; jvm or freenet?

2005-04-13 Thread Matthew Toseland
On Sat, Apr 09, 2005 at 12:39:22PM +0200, [EMAIL PROTECTED] wrote:
 
 costs me 3p an hour
 
 3 pence? 3 pounds?
 yes, 3 pence would be great! :) *envy*
 
 to run my computer (1.5c)
 
 1.5c = worth 1.5 cent?? an 1.5GHz Celeron !??
 I suppose it wasn't that important...

He got the conversion the wrong way around. 3p ~= 6c.
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] How to minimise memory/threads?

2005-04-13 Thread Yanyan Wang
Hi, Duana,

Sorry I am not answering your question. Instead, I'd like to know how could you
make freenet nodes on the small network communicate to each other. What is your
configuration file for each node? I am doing experiments with freenet on
PlanetLab. My problem now is that client local to a node cannot retrieve from
or insert to other nodes in the private Freenet. Is it possible for you to show
me your changes to the configuration file and other possible configurations?
Thanks a lot!

Yours,
Yanyan :)

Quoting Duana Saskia STANLEY [EMAIL PROTECTED]:


 I'm running a small network of freenet nodes on a university network and
 I'm getting in trouble for the amount of physical memory it's using.

 A node runs around 54 threads each using 22M of resident memory.. around
 1232MB of physical memory in total.  Why does it use so much memory?  A
 lot of the time the nodes are doing nothing but still there are a lot of
 threads, also, not sure why they are all resident.

 I read in the archives that one thing to do is decrease maxConnections
 setting.  I'll try this but don't see why that would work.  There was also
 something on freenethelp.org giving a whole host of commandline options to
 try to optimize memory usage but I tried this and it blew it out even
 more.

 Are there any other ways I can reduce memory usage and/or number of
 spawned threads?

 Thanks

 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at
 http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]



Yanyan :)


=
Yanyan Wang
Department of Computer Science
University of Colorado at Boulder
Boulder, CO, 80302
=
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] problem to make nodes communicate

2005-04-13 Thread Yanyan Wang
Hello, all,

I am now working on experiments with Freenet on Planetlab. I have had the
problem to make Freenet nodes communicate on PlanetLab for a long time. I have
checked everywhere and it seems that the reason is the listen port of every
freenet node cannot accept connection requests from other freenet nodes. I have
the node start up command like:

ssh [EMAIL PROTECTED] /bin/sh
/home/colorado_weevil/weevil/freenet_4_4_4/FreenetNode/N0/freenet_4_4_4_N0_s\
tart.sh 

in which freenet_4_4_4_N0_start.sh is a script on planetlab-1.cs.princeton.edu
to call freenet's Java API.

I found that there's only one java process running on the remote machine after
the command is executed.

Instead, if I first ssh onto planetlab-1.cs.princeton.edu, then execute the
command on it locally,

/bin/sh
/home/colorado_weevil/weevil/freenet_4_4_4/FreenetNode/N0/freenet_4_4_4_N0_s\
tart.sh 

there will be a list of java processes running.

So I am thinking if the freenet node has not been fully started up on the remote
machine if I execute the start-up script remotely?

Now I am doing experiments with four machines. I created seednodes.ref file for
each node in which the content of myref.txt files of other nodes are included.
I also updated the port numbers in each node's configuration files. The client
commands are like:

java -cp freenet.jar freenet.client.cli.Main --FCPServerAddress $ClientPort put
[EMAIL PROTECTED] file1 --htl 1 --logLevel normal

Do any of you have any similar experiences? I am really anxious to get the
answer. Thanks a lot in advance!

Yours,
Yanyan :)


=
Yanyan Wang
Department of Computer Science
University of Colorado at Boulder
Boulder, CO, 80302
=
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] How to minimise memory/threads?

2005-04-13 Thread Matthew Toseland
Why not? Can't it connect to them?

On Wed, Apr 13, 2005 at 10:39:15AM -0600, Yanyan Wang wrote:
 Hi, Duana,
 
 Sorry I am not answering your question. Instead, I'd like to know how could 
 you
 make freenet nodes on the small network communicate to each other. What is 
 your
 configuration file for each node? I am doing experiments with freenet on
 PlanetLab. My problem now is that client local to a node cannot retrieve from
 or insert to other nodes in the private Freenet. Is it possible for you to 
 show
 me your changes to the configuration file and other possible configurations?
 Thanks a lot!
 
 Yours,
 Yanyan :)
 
 Quoting Duana Saskia STANLEY [EMAIL PROTECTED]:
 
 
  I'm running a small network of freenet nodes on a university network and
  I'm getting in trouble for the amount of physical memory it's using.
 
  A node runs around 54 threads each using 22M of resident memory.. around
  1232MB of physical memory in total.  Why does it use so much memory?  A
  lot of the time the nodes are doing nothing but still there are a lot of
  threads, also, not sure why they are all resident.
 
  I read in the archives that one thing to do is decrease maxConnections
  setting.  I'll try this but don't see why that would work.  There was also
  something on freenethelp.org giving a whole host of commandline options to
  try to optimize memory usage but I tried this and it blew it out even
  more.
 
  Are there any other ways I can reduce memory usage and/or number of
  spawned threads?
 
  Thanks
 
  ___
  Support mailing list
  Support@freenetproject.org
  http://news.gmane.org/gmane.network.freenet.support
  Unsubscribe at
  http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
  Or mailto:[EMAIL PROTECTED]
 
 
 
 Yanyan :)
 
 
 =
 Yanyan Wang
 Department of Computer Science
 University of Colorado at Boulder
 Boulder, CO, 80302
 =
 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

[freenet-support] Windows XP Home Edition

2005-04-13 Thread T. Vergeer








I cannot install Freenet on my computer with Windows XP Home
edition.

The installation stops every
time by createconfig.

Can I use Freenet with
Windows XP home edition?






___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] How to minimise memory/threads?

2005-04-13 Thread Matthew Toseland
Do you have connections between the nodes, or is it simply that you
don't know how to tell one node about all the other nodes?

You create a seednodes.ref - this contains node references of all the
nodes you want to connect to. You can get the node reference from the
Routing Table page, near the top (in advanced mode, under Node Status),
or you can run java -cp freenet.jar:freenet-ext.jar freenet.node.Main
--export and capture the output.

On Wed, Apr 13, 2005 at 10:39:15AM -0600, Yanyan Wang wrote:
 Hi, Duana,
 
 Sorry I am not answering your question. Instead, I'd like to know how could 
 you
 make freenet nodes on the small network communicate to each other. What is 
 your
 configuration file for each node? I am doing experiments with freenet on
 PlanetLab. My problem now is that client local to a node cannot retrieve from
 or insert to other nodes in the private Freenet. Is it possible for you to 
 show
 me your changes to the configuration file and other possible configurations?
 Thanks a lot!
 
 Yours,
 Yanyan :)
 
 Quoting Duana Saskia STANLEY [EMAIL PROTECTED]:
 
 
  I'm running a small network of freenet nodes on a university network and
  I'm getting in trouble for the amount of physical memory it's using.
 
  A node runs around 54 threads each using 22M of resident memory.. around
  1232MB of physical memory in total.  Why does it use so much memory?  A
  lot of the time the nodes are doing nothing but still there are a lot of
  threads, also, not sure why they are all resident.
 
  I read in the archives that one thing to do is decrease maxConnections
  setting.  I'll try this but don't see why that would work.  There was also
  something on freenethelp.org giving a whole host of commandline options to
  try to optimize memory usage but I tried this and it blew it out even
  more.
 
  Are there any other ways I can reduce memory usage and/or number of
  spawned threads?
 
  Thanks
 
  ___
  Support mailing list
  Support@freenetproject.org
  http://news.gmane.org/gmane.network.freenet.support
  Unsubscribe at
  http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
  Or mailto:[EMAIL PROTECTED]
 
 
 
 Yanyan :)
 
 
 =
 Yanyan Wang
 Department of Computer Science
 University of Colorado at Boulder
 Boulder, CO, 80302
 =
 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] How to minimise memory/threads?

2005-04-13 Thread Yanyan Wang
Thanks a lot for your reply. Yeah, I think it is the problem with my
seednodes.ref. I used the seednodes.ref created beforehand. I just found that
the references to nodes will change if I restart them. I guess the nodes cannot
communicate because their referneces are out of date. Am I right?

If that's the case, since I can only get the reference of a node after it has
started up, if I start nodes in the order of N0, N1, ..., N(m). How could N(i)
know the reference to N(i+1)..N(m) when it was started up? Or it doesn't need
to know the reference at all?

Thanks a lot!

Yours,
Yanyan :)

Quoting Matthew Toseland [EMAIL PROTECTED]:

 Do you have connections between the nodes, or is it simply that you
 don't know how to tell one node about all the other nodes?

 You create a seednodes.ref - this contains node references of all the
 nodes you want to connect to. You can get the node reference from the
 Routing Table page, near the top (in advanced mode, under Node Status),
 or you can run java -cp freenet.jar:freenet-ext.jar freenet.node.Main
 --export and capture the output.

 On Wed, Apr 13, 2005 at 10:39:15AM -0600, Yanyan Wang wrote:
  Hi, Duana,
 
  Sorry I am not answering your question. Instead, I'd like to know how could
 you
  make freenet nodes on the small network communicate to each other. What is
 your
  configuration file for each node? I am doing experiments with freenet on
  PlanetLab. My problem now is that client local to a node cannot retrieve
 from
  or insert to other nodes in the private Freenet. Is it possible for you to
 show
  me your changes to the configuration file and other possible
 configurations?
  Thanks a lot!
 
  Yours,
  Yanyan :)
 
  Quoting Duana Saskia STANLEY [EMAIL PROTECTED]:
 
  
   I'm running a small network of freenet nodes on a university network and
   I'm getting in trouble for the amount of physical memory it's using.
  
   A node runs around 54 threads each using 22M of resident memory.. around
   1232MB of physical memory in total.  Why does it use so much memory?  A
   lot of the time the nodes are doing nothing but still there are a lot of
   threads, also, not sure why they are all resident.
  
   I read in the archives that one thing to do is decrease maxConnections
   setting.  I'll try this but don't see why that would work.  There was
 also
   something on freenethelp.org giving a whole host of commandline options
 to
   try to optimize memory usage but I tried this and it blew it out even
   more.
  
   Are there any other ways I can reduce memory usage and/or number of
   spawned threads?
  
   Thanks
  
   ___
   Support mailing list
   Support@freenetproject.org
   http://news.gmane.org/gmane.network.freenet.support
   Unsubscribe at
   http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
   Or mailto:[EMAIL PROTECTED]
  
 
 
  Yanyan :)
 
 
  =
  Yanyan Wang
  Department of Computer Science
  University of Colorado at Boulder
  Boulder, CO, 80302
  =
  ___
  Support mailing list
  Support@freenetproject.org
  http://news.gmane.org/gmane.network.freenet.support
  Unsubscribe at
 http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
  Or mailto:[EMAIL PROTECTED]

 --
 Matthew J Toseland - [EMAIL PROTECTED]
 Freenet Project Official Codemonkey - http://freenetproject.org/
 ICTHUS - Nothing is impossible. Our Boss says so.



Yanyan :)


=
Yanyan Wang
Department of Computer Science
University of Colorado at Boulder
Boulder, CO, 80302
=
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] How to minimise memory/threads?

2005-04-13 Thread Yanyan Wang
Oh, I just found out that I can execute java -cp freenet.jar:freenet-ext.jar
freenet.node.Main --export before actually running the node. Will the
reference  outputted from this command the same as the actual reference when
the node is started up? Thanks a lot!

Yours,
Yanyan :)

Quoting Yanyan Wang [EMAIL PROTECTED]:

 Thanks a lot for your reply. Yeah, I think it is the problem with my
 seednodes.ref. I used the seednodes.ref created beforehand. I just found that
 the references to nodes will change if I restart them. I guess the nodes
 cannot
 communicate because their referneces are out of date. Am I right?

 If that's the case, since I can only get the reference of a node after it has
 started up, if I start nodes in the order of N0, N1, ..., N(m). How could
 N(i)
 know the reference to N(i+1)..N(m) when it was started up? Or it doesn't need
 to know the reference at all?

 Thanks a lot!

 Yours,
 Yanyan :)

 Quoting Matthew Toseland [EMAIL PROTECTED]:

  Do you have connections between the nodes, or is it simply that you
  don't know how to tell one node about all the other nodes?
 
  You create a seednodes.ref - this contains node references of all the
  nodes you want to connect to. You can get the node reference from the
  Routing Table page, near the top (in advanced mode, under Node Status),
  or you can run java -cp freenet.jar:freenet-ext.jar freenet.node.Main
  --export and capture the output.
 
  On Wed, Apr 13, 2005 at 10:39:15AM -0600, Yanyan Wang wrote:
   Hi, Duana,
  
   Sorry I am not answering your question. Instead, I'd like to know how
 could
  you
   make freenet nodes on the small network communicate to each other. What
 is
  your
   configuration file for each node? I am doing experiments with freenet on
   PlanetLab. My problem now is that client local to a node cannot retrieve
  from
   or insert to other nodes in the private Freenet. Is it possible for you
 to
  show
   me your changes to the configuration file and other possible
  configurations?
   Thanks a lot!
  
   Yours,
   Yanyan :)
  
   Quoting Duana Saskia STANLEY [EMAIL PROTECTED]:
  
   
I'm running a small network of freenet nodes on a university network
 and
I'm getting in trouble for the amount of physical memory it's using.
   
A node runs around 54 threads each using 22M of resident memory..
 around
1232MB of physical memory in total.  Why does it use so much memory?  A
lot of the time the nodes are doing nothing but still there are a lot
 of
threads, also, not sure why they are all resident.
   
I read in the archives that one thing to do is decrease maxConnections
setting.  I'll try this but don't see why that would work.  There was
  also
something on freenethelp.org giving a whole host of commandline options
  to
try to optimize memory usage but I tried this and it blew it out even
more.
   
Are there any other ways I can reduce memory usage and/or number of
spawned threads?
   
Thanks
   
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]
   
  
  
   Yanyan :)
  
  
   =
   Yanyan Wang
   Department of Computer Science
   University of Colorado at Boulder
   Boulder, CO, 80302
   =
   ___
   Support mailing list
   Support@freenetproject.org
   http://news.gmane.org/gmane.network.freenet.support
   Unsubscribe at
  http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
   Or mailto:[EMAIL PROTECTED]
 
  --
  Matthew J Toseland - [EMAIL PROTECTED]
  Freenet Project Official Codemonkey - http://freenetproject.org/
  ICTHUS - Nothing is impossible. Our Boss says so.
 


 Yanyan :)


 =
 Yanyan Wang
 Department of Computer Science
 University of Colorado at Boulder
 Boulder, CO, 80302
 =
 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at
 http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]



Yanyan :)


=
Yanyan Wang
Department of Computer Science
University of Colorado at Boulder
Boulder, CO, 80302
=
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]