>On some win32 systems, freenet is adjusting the priority of almost every >thread it spawns to "Time Critical" - the equivalkent of nice = -20 on unix, >which java on win32 maps to Thread.MAX_PRIORITY (I am led to believe that >it tries this on unix as well, but of course can't raise priority of a non-root >user's threads that high :). >A hundred of these threads, and your system becomes useless. :)
True >The suspects: >(your tree may vary from the one shown below) >src/freenet/Core.java:459: >ticker.setPriority(Thread.MAX_PRIORITY); >I think it's obvious to everyone what this does :). The ticker never gets >it's priority reduced. Is it spawning threads at all? Because, if it is, >they will most likely be spawned at this priority :(. It can.. if you are using the QThreadFactory.. I don't think that YThreadFactory is succeptible to this. /N _______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
