Coder Social home page Coder Social logo

Comments (7)

chrisstaite avatar chrisstaite commented on August 15, 2024

After these changes the CPU usage has dropped to around 20%. However there are copious errors in the syslog:
Apr 11 23:10:17 router DoTe[23298]: Error reading from forwarder
Apr 11 23:10:17 router DoTe[23298]: Error handshaking with forwarder
Apr 11 23:10:18 router DoTe[23298]: Error handshaking with forwarder
Apr 11 23:10:18 router DoTe[23298]: Error reading from forwarder
Apr 11 23:10:18 router DoTe[23298]: Error handshaking with forwarder

I wonder if making multiple connections to the forwarder at the same time is banned?

from dote.

chrisstaite avatar chrisstaite commented on August 15, 2024

I found a memory leak, so perhaps that solves the issue?

from dote.

chrisstaite avatar chrisstaite commented on August 15, 2024

Works better, but when using something like Chrome it still outputs the errors:

Apr 12 21:19:19 router DoTe[27242]: Error reading from forwarder
Apr 12 21:19:19 router DoTe[27242]: Error reading from forwarder
Apr 12 21:19:19 router DoTe[27242]: Error handshaking with forwarder
Apr 12 21:19:19 router DoTe[27242]: Error reading from forwarder
Apr 12 21:19:20 router DoTe[27242]: Error handshaking with forwarder

This is still probably a problem with having multiple connections open at the same time. Perhaps it should queue them? How many is a reasonable number to have simultaneously?

from dote.

chrisstaite avatar chrisstaite commented on August 15, 2024

Running using the following command seems to work with roughly 300ms per query on an EdgeRouter Lite 3:
/config/dote -s [::1]:5353 -m 1 -c ECDHE-ECDSA-AES128-SHA256

from dote.

chrisstaite avatar chrisstaite commented on August 15, 2024

The new caching manages around 250ms per query now.

from dote.

chrisstaite avatar chrisstaite commented on August 15, 2024

Using the 9.9.9.9 forwarder results in around 50ms response times rather than the 250ms response time of 1.1.1.1.

from dote.

chrisstaite avatar chrisstaite commented on August 15, 2024

With the new error handling for OpenSSL this seems to have resolved the issue, however the ciphers for 1.1.1.1 are way too slow for the ERLite-3. This command line seems to allow it to function nicely without too much delay.

dote -s '[::1]:5354' -f '[2620:fe::fe]' -h dns.quad9.net -p 'tiHzyeqdIvOButLP6if2s7R7dEaE/0V7grju+KJjCsQ=' -f '[2620:fe::9]' -h dns.quad9.net -p 'tiHzyeqdIvOButLP6if2s7R7dEaE/0V7grju+KJjCsQ=' -f '9.9.9.9' -h dns.quad9.net -p 'tiHzyeqdIvOButLP6if2s7R7dEaE/0V7grju+KJjCsQ=' -m 2

from dote.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.