On Mon, Oct 28, 2002 at 06:25:22PM -0500, Derek Glidden wrote: > On Mon, 2002-10-28 at 17:53, Oskar Sandberg wrote: > > > > Try switching to using FastThreadFactory (setting your maxThreads to > > -120 (or whatever value you want time -1)). I think it may be caused by > > some by threadfactory issue - if it is that should provide a quick fix. > > > > Tell me if that helps. > > > > My box has been sitting at loadavg of 15-20 all day. I changed > maxThreads to -120 (from) 120 and, while the node is still overloaded, > the system itself is barely breaking a sweat after half an hour. > Restarting without the change hits a very high loadavg/cpu usage within > a few minutes.
Yeah, it seems that QThreadFactory doesn't behave well uder very heavy load - the thread usage swings to heavily and the process that tries to keep a reasonable amount of available threads does more harm then good. However, I don't think there is a real bug here. My test node has basically stopped responding to requests, but it has had almost 15000 dispatched connections per hour all day. I guess this is God mocking me for writing that nodes being so overloaded they couldn't incoming connections was a thing of the past... -- Oskar Sandberg oskar at freenetproject.org _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
