My fred deadlocked last night. I did a kill -QUIT on the process in freenet.pid (which exists) and nothing happened. No stack trace on the console. Nothing. Last few log entries:
Feb 10, 2003 2:09:46 AM (freenet.node.rt.CPAlgoRoutingTable$CPAlgoData$LookupARK, QThread-12566): RouteNotFound Fetching ARK freenet:SSK@zT5HdhVr7W5kebklkwbSLIUrUZIPAgM,aFVb99NBoHWO5wRvdc4-H6ucZj5V5zGE3fDgFFzqspk/2 Feb 10, 2003 2:10:16 AM (freenet.thread.QThreadFactory, Thread creation thread.): Exception in QThreadFactory. 279 thread available ,1029 running. Top: Thread[QThread-13126,5,Freenet Node: d9e786cc5f4806cc1d0056aecd6ca6e28da31f3a] java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at freenet.thread.QThreadFactory$QThread.<init>(QThreadFactory.java:187) at freenet.thread.QThreadFactory.createThread(QThreadFactory.java:140) at freenet.thread.QThreadFactory.run(QThreadFactory.java:59) at java.lang.Thread.run(Thread.java:536) bash-2.05b$ /usr/local/java/bin/java -version java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode) bash-2.05b$ uname -a Linux home 2.4.19 #6 SMP Fri Dec 20 01:17:35 PST 2002 i686 unknown unknown GNU/Linux An strace on the pid shows no activity at all. Note that I am running fred with: freenet 26497 0.0 26.8 1117380 138280 pts/4 S 02:10 0:00 java -server -Xmx256MB freenet.node.Main So if it ran out of memory it must have filled up 256M of it before it hung. Wish I could tell you more but I have no choice but to kill -9 now. -- Tracy Reed http://www.ultraviolet.org
msg00930/pgp00000.pgp
Description: PGP signature