Comments (11)
I have the memory profile, cpu profile, and stack dump from a recent out of memory panic, if you want to look at that for any debugging stuff.
from utp.
Please send that along. There's a status function that you can use to determine what the state of the utp package is, https://godoc.org/github.com/anacrolix/utp#WriteStatus. If you have a running instance that has strange memory use, get the output of that (I chain it up to a status HTTP server that runs on on demand on localhost using github.com/anacrolix/envpprof), and send that too.
Assuming everything is working correctly, a spike in uTP activity will cause memory use to jump, and then Go's default GC collection strategy of waiting until memory doubles will mean you won't see a collection from sync.Pool allocations.
from utp.
all the pprof files are here: http://mars.i.ipfs.io:8080/ipfs/QmVdkYjq2P9j7Ubr6DGP1Bt3bHFc3Mto84Lkkrwu7rmP4e
I'll work on getting the WriteStatus output soon.
from utp.
I didn't grab those files while they were available. What's required to obtain them now?
from utp.
@anacrolix try again, maybe hosting the files on the machine that was having the issues i filed this issue for wasnt the best idea >.>
from utp.
Okay, got them, thanks.
from utp.
I've since disabled, and just recently reenabled sendBufferPool. Did you notice anything in the interim(s)?
from utp.
@anacrolix i havent paid super close attention lately. I'll update and try it out again soon and let you know how it goes.
from utp.
Is there any update on this?
from utp.
Take a look at https://github.com/anacrolix/go-libutp.
from utp.
Reopen if there's fresh information.
from utp.
Related Issues (19)
- Needs a license HOT 1
- Setting deadlines on a connection panics HOT 1
- Conn `Addr` methods return udp HOT 3
- Starts stalling under load HOT 43
- Setting deadlines on sockets does not work
- panic: listen udp :50007: bind: address already in use HOT 22
- spec question
- net.Listener interface HOT 6
- Reasoning behind this panic HOT 6
- Lots of duplicate packets are being send HOT 16
- Socket does not implement utpSocket (missing DialContext) HOT 2
- Deprecated
- Does utp implements congestion control ? HOT 1
- throughput is 5 MB/s on loopback HOT 13
- listener sockets closed when accepted connections close HOT 3
- Ability to pass in a net.UDPConn HOT 6
- panic in jitter HOT 4
- Dial leaks file descriptors HOT 5
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 utp.