Re: [freenet-support] Caught a java.io.IOException: Too many open files

2004-09-23 Thread Jay Oliveri
On Thursday 23 September 2004 10:36 am, [EMAIL PROTECTED] 
wrote:
> java version "1.4.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> Blackdown-1.4.1-01) Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, 
> mixed mode)

You can try updating the VM to the latest blackdown version, or if that 
doesn't work try Sun's latest 1.4.2 VM. It seems that Freenet only works 
reliably with Sun's VM, although others have gotten the third party VM's to 
work for them.

-- 
Jay Oliveri
GnuPG ID: 0x5AA5DD54
Freenet Project Developer
http://sf.net/users/joliveri
___
Support mailing list
[EMAIL PROTECTED]
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] Caught a java.io.IOException: Too many open files

2004-09-23 Thread freenetproject
My Java version
java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)
I'm running SuSE 8.2 and I have 1.3GB of memory and I'm not running out 
of memory.
uname -a
Linux X 2.4.20-4GB-athlon #1 Tue Aug 10 11:17:52 UTC 2004 i686 
unknown unknown GNU/Linux

I'm using 384MB of memory for Freenet
nice -n 10 -- java -server -Xmx384m $JAVA_ARGS freenet.node.Main "$@" &
This is what the connections page show before the failure
Connections open (Inbound/Outbound/Limit)   117 (64/53/200)
Transfers active (Transmitting/Receiving)   71 (44/27)
Data waiting to be transferred  2,242 Bytes
Total amount of data transferred6,658 MiB
I'm getting this error after a few days of running.
Caught a java.io.IOException: Too many open files, 
LSL.processConnections failin
g
java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at 
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.jav
a:134)
at 
freenet.transport.ListenSelectorLoop.processConnections(ListenSelecto
rLoop.java:107)
at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java
:846)
at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
at java.lang.Thread.run(Thread.java:536)
java.lang.Exception
at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java
:847)
at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
at java.lang.Thread.run(Thread.java:536)
Caught a java.io.IOException: Too many open files, 
LSL.processConnections failin
g
java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at 
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.jav
a:134)
at 
freenet.transport.ListenSelectorLoop.processConnections(ListenSelecto
rLoop.java:107)
at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java
:846)
at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
at java.lang.Thread.run(Thread.java:536)
java.lang.Exception
at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java
:847)
at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
at java.lang.Thread.run(Thread.java:536)

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