[ircd-ratbox] DNS timeouts with kqueue on FreeBSD 5.4 + ULE scheduler

Aaron Sethman androsyn at ratbox.org
Sun Jun 12 02:35:24 EDT 2005

The way you'd need to do it is this. Look for adns_qf_owner in src/adns.c
and where you see that change it to adns_qf_owner|adns_qf_usevc.  There 
might be some other flags already ORed together keep those other flags 
there too.  Mind you tcp isn't going to be real efficient, but it'll work.


On Sat, 11 Jun 2005, Rachel Llorenna wrote:

> How exactly do we force adns to do that? What files do we need to
> edit? (I'm assuming only the adns stuff will need to be tweaked as
> it's abstracted from the ratbox source.) Could you perhaps submit a
> patch to add a ./configure option or config.h #define or something? If
> not, I'm sure everyone would greatly appreciate it if you specified
> what files need to be edited and what changes we need to make.
> Do you think that your proposed fix would correct the 4.11 issue I've
> been having, or is this strictly for 5.4? I can't find any reference
> in FreeBSD's RELNOTES to indicate that SCHED_ULE has been backported
> to 4.11, but unfortunately my issue still remains unresolved.
> I would appreciate any comments you might have regarding this matter.
> On 6/11/05, Aaron Sethman <androsyn at ratbox.org> wrote:
>> On Sat, 11 Jun 2005, Diane Bruce wrote:
>>> On Sat, Jun 11, 2005 at 04:26:52PM -0400, Aaron Sethman wrote:
>>>> On Fri, 10 Jun 2005, Jeremy Chadwick wrote:
>>>>> I'll be giving Aaron and account on my 5.4-STABLE box for testing
>>> 5.4 is fine. Don't waste your time.
>> 5.4 + ULE does in fact have the UDP kqueue issues.  The other option is to
>> force the resolve to do TCP only requests, but I'm not sure how adns
>> performs in a tcp only mode, but I can't imagine it would be too painful.
>> Aaron
>> _______________________________________________
>> ircd-ratbox mailing list
>> ircd-ratbox at lists.ratbox.org
>> http://lists.ratbox.org/cgi-bin/mailman/listinfo/ircd-ratbox
> --
> Regards,
> Rachel Llorenna (frequency)

More information about the hybrid mailing list