[freenet-support] fproxy won't start: bad reference

2002-08-26 Thread Graham Stoney

Hi gang,

Can anyone please help point a freenet newbie to what might be causing this:

26-Aug-02 9:18:55 AM (freenet.node.Main, main): loading routing table
26-Aug-02 9:18:55 AM (freenet.node.rt.DataObjectRoutingStore, main): bad referen
ce while resolving: 0x101 : 0203484800bb95a023c7c9a6b13db698d6c1f2c7
freenet.node.BadReferenceException: NodeReference self signature check failed.
at java.lang.Throwable.init(Throwable.java:38)
at java.lang.Exception.init(Exception.java:24)
at freenet.node.BadReferenceException.init(BadReferenceException.java:
12)
at freenet.node.NodeReference.init(NodeReference.java:204)
at freenet.node.NodeReference.init(NodeReference.java:69)
at freenet.node.rt.DataObjectRoutingMemory.init(DataObjectRoutingMemor
y.java:40)
at freenet.node.rt.DataObjectRoutingStore.getNode(DataObjectRoutingStore
.java:132)
at freenet.node.rt.DataObjectRoutingStore.access$0(DataObjectRoutingStor
e.java:line unknown, pc 0x85d4416)
at freenet.node.rt.DataObjectRoutingStore$RoutingMemoryEnumeration.step(
DataObjectRoutingStore.java:102)
at freenet.node.rt.DataObjectRoutingStore$RoutingMemoryEnumeration.init
(DataObjectRoutingStore.java:96)
at freenet.node.rt.DataObjectRoutingStore.elements(DataObjectRoutingStor
e.java:86)
at freenet.node.rt.TreeRoutingTable.init(TreeRoutingTable.java:37)
at freenet.node.rt.CPAlgoRoutingTable.init(CPAlgoRoutingTable.java:33)
at freenet.node.Main.main(Main.java:373)

Everything from there on in the log file looks broken.
This is with kaffe 1.0.5 and freenet 0.4.3, from Debian testing release.

Thanks,
Graham

___
support mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support



[freenet-support] must replace store on upgrade?

2002-08-26 Thread Michael West


 Twice now when I upgrade freenet I cannot use the old store, but
 have to replace it with a new one.  

 I get IO exceptions in main.   Is this supposed to happen?  Does
 the store format change often?  

 ~Michael

___
support mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support



Re: [freenet-support] must replace store on upgrade?

2002-08-26 Thread Greg Wooledge

Michael West ([EMAIL PROTECTED]) wrote:

  Twice now when I upgrade freenet I cannot use the old store, but
  have to replace it with a new one.  
 
  I get IO exceptions in main.   Is this supposed to happen?  Does
  the store format change often?  

The data store format has not changed in a VERY long time.  What
you're encountering is probably the infamous data store corruption
bug, which is the worst outstanding bug in Freenet (IMHO).  Personally,
I've only seen it once, but it seems to be far more common for other
people, especially Windows users.  (By the way, it would be helpful if
you actually showed what the errors say, so we can be more definite in
diagnosing the problem.)

It's not *supposed* to work this way, but for now, whenever you see
corruption errors, you'll just have to wipe your data store and try
again.

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01034/pgp0.pgp
Description: PGP signature


[freenet-support] OpenBSD 3.1 open files

2002-08-26 Thread Greg Wooledge

One more note for OpenBSD users:

By default, it seems that normal (non-root) users in OpenBSD 3.1
get a soft limit of 64 open files.  This is not enough for a busy
Freenet node with the default number of threads.  The hard limit
on open files is 128, though, so if you raise your open file
descriptor limit to 128 and then decrease the number of threads
(not sure what the optimal number is yet), then it works MUCH better.

(You can raise the number of open files permitted by running
ulimit -n 128 in bash.  For other shells, consult the Fine Manual.)

The symptom, before I raised the limit, was Document contains no data
intermittently when accessing services via a web browser, together
with java.io.FileNotFoundException: Too many open files errors in
the freenet log file.  (The last was a dead giveaway as to where the
problem lay. ;-) )

Developers: how many open file descriptors does a running Freenet
node use?  (Does the Java VM make a difference?)  Is it 1 per thread
plus a constant?

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01035/pgp0.pgp
Description: PGP signature