In message <20021026194948.GH18541 at freenetproject.org>, Ian Clarke 
<ian at freenetproject.org> writes
>How much RAM is in your machine?
>
>Have you modified any of the defaults in freenet.conf (threadpool size
>etc)?
>
>Ian.
>

72MB, 144MB swap.  I hadn't modified any relevant defaults, but I have 
now reduced max threads to 120 from 170.  Unfortunately, the bit of the 
error saying how many threads were running appeared on console but not 
in the log.  I fancy it was a bit more than 170 though.  Apparently this 
is using native threads, should I be doing this?  I will try and get 
more info if it happens again (but I haven't got room for big logs on 
the relevant machine).




>On Sat, Oct 26, 2002 at 08:24:18PM +0100, Roger Hayter wrote:
>> In message <3DBAE534.8010706 at teitel.net>, Jeff Teitel <jeff at teitel.net>
>> writes
>> >
>> >Running build 525 I get the following error (a LOT) and things stop
>> >working.
>> >
>> >Oct 26, 2002 2:50:51 PM (freenet.thread.QThreadFactory, Thread creation
>> >thread.): Exception in QThreadFactory. 36 thread available ,171
>> >running. Top: Thread[QThread-372,5,Freenet Node:
>> >9a7378aed15a6679fb4097cdfe1e1ba968b775c3]
>> >java.lang.OutOfMemoryError: unable to create new native thread
>> >      at java.lang.Thread.start(Native Method)
>> >      at
>> >      freenet.thread.QThreadFactory$QThread.<init>(QThreadFactory.java:178)
>> >      at
>> >      freenet.thread.QThreadFactory.createThread(QThreadFactory.java:131)
>> >      at freenet.thread.QThreadFactory.run(QThreadFactory.java:56)
>> >      at java.lang.Thread.run(Thread.java:536)
>> >
>>
>> I got the same thing for the first time ever with build 525, Sun Java
>> 1.4.1_01, otherwise quite similar setup.
>>
>>
>>
>>
>> >My environment is as follows (I have 384M of real memory, the only
>> >other process of significance is Mozilla):
>> >
>> >Available processors 1
>> >
>> >Maximum memory the JVM will allocate 128 MB
>> >Memory currently allocated by the JVM 8,468 KB
>> >Unused allocated memory 1,133,552 Bytes
>> >Memory in use 7,538,608 Bytes
>> >
>> >JVM Vendor Sun Microsystems Inc.
>> >JVM Name Java HotSpot(TM) Server VM
>> >JVM Version 1.4.1-b21
>> >
>> >Operating System Linux
>> >OS Version 2.4.18
>> >
>> >Total size of the data store 3,200 MB
>> >Free space in the data store 2,551,408 KB
>> >Used space in the data store 725,392 KB
>> >
>> >Total pooled threads 79
>> >Available pooled threads 20
>> >Pooled threads in use 59
>> >
>> >Pooled thread consumers
>> >Class Threads used
>> >freenet.interfaces.PublicInterface$ConnectionShell 22
>> >freenet.interfaces.LocalInterface$ConnectionShell 1
>> >freenet.OpenConnectionManager$ConnectionJob 34
>> >freenet.Message: QueryRejected 2
>> >
>> >
>> >_______________________________________________
>> >devl mailing list
>> >devl at freenetproject.org
>> >http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>> --
>> Roger Hayter
>>
>> _______________________________________________
>> devl mailing list
>> devl at freenetproject.org
>> http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
>

-- 
Roger Hayter

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to