Comments (7)
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.
I found a memory leak, so perhaps that solves the issue?
from dote.
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.
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.
The new caching manages around 250ms per query now.
from dote.
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.
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)
- Add syslog HOT 1
- Add a daemon flag
- Make the maximum number of connections configurable
- Optimise certificate verification HOT 1
- USG version HOT 4
- Build error: 'time_t' has not been declared HOT 1
- /opt/dote not present after container startup HOT 7
- No connection when running HOT 29
- Create configuration HOT 1
- Handle DNS errors HOT 1
- Write tests
- Close connections
- Handle partial results HOT 1
- Remove EDNS0 padding HOT 1
- Drop root permissions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dote.