zorkian / distributor Goto Github PK
View Code? Open in Web Editor NEWFile distribution.
License: BSD 3-Clause "New" or "Revised" License
File distribution.
License: BSD 3-Clause "New" or "Revised" License
It returns a response with content "file not found" and status 200 OK. It would be better to return a 404.
We are periodically seeing large bunches of
2016/11/28 20:04:05 [ERROR] Failed to bencode: write tcp X.X.X.X:6390->Y.Y.Y.Y:18014: write: broken pipe
errors.
We'll see a lot of them over a period of a minute or two, and then no more. During this, there are also many open sockets in CLOSE_WAIT
state. In some cases it recovers, but sometimes it runs out of fds and then crashes. It appears that this is somewhat load related, as it only shows up under heavy use. Over-aggressive retrying from ctorrent could definitely compound this (e.g.: if we fall behind and ctorrent retries timed out announces).
This seems to have started showing up after #17, so it might be due to the decreased Interval
. It could also be due to the inefficient method of removing old peers. If we have a large peer list, we need to iterate over it on each announce. Previously, we only did so on new peers.
Possible solutions:
can you upgrade fsnotify? the project now lives in https://github.com/fsnotify/fsnotify
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.