Jay Guerette <[email protected]> wrote: > I've experienced, and seen a few references to similar experiences on the > web, saned consuming all available CPU when in use. > > After running a strace while it was doing this, and examining the source > to saned, it appears that it is locked in a tight select loop with no > timeout.
Could you give some more details ? select() is only used once in the code (not counting the poll() in main(), or the select() that's used instead on platforms where poll() doesn't exist -- that's for 1.0.12). A testcase would be nice. To answer your question, patches are always welcome :) JB. -- Julien BLACHE <http://www.jblache.org> <[email protected]>
