Comments (7)
Hi, thank you for reporting, however I've just tried on linux/amd64
with go 1.21.5 and the default
example and i can't reproduce.
Are you running on a container?
What platform?
Since the process is killed by the OS, you should be able to find more information in the system log.
from statsviz.
Sorry, I forgot to write the details.
I encountered this issue on Linux Ubuntu 20.04
linux/amd64
simply running go run .
in the terminal, however if I build the project the process is not killed. (with go 1.20.7 go run works fine all the time)
I found nothing in the logs so far, still looking for some clues.
edit:
After multiple restarts, now the basic example runs ok, but in a real project its still flaky.
edit 2:
If I run my project with go run -race .
the process is not killed.
from statsviz.
If with go build nothing happens but with go run it gets killed it looks like go run is killed
.
It does seem that what's happening is caused by something on your computer.
I'd like to help but without being able to reproduce I'm not sure what I could do
when a process gets killed by the os it's either an out of memory or it did something forbidden
from statsviz.
Never seen this before.
If I leave out the statsviz.Register()
call, the issue goes away...
Thank you, feel free to close the issue, just tough I share this with you.
from statsviz.
Thank you, feel free to close the issue, just tough I share this with you.
You did good. Thank you.
I'd really like to find ways to investigate as that's not good.
Did you check for dmesg
just after that happened? The reason for a process killed should be logged somewhere.
Do you have specific ulimit settings?
Are you running inside a container?
from statsviz.
It's not running in a container, the system has default ulimit.
I tailed the dmesg
while running the program and there was no new record when it was killed, checked the file afterwards as well, nothing... That is what frustrates me, there is no sign of any error in the logs.
I tried the same project on an other machine Linux Ubuntu 23.10
with go version go1.21.6 linux/amd64
and it runs without any issue.
(Updated go on the previous machine too to this version, before I left work. The issue still persisted.)
Tomorrow I'll try to figure out more, if I have time.
from statsviz.
I found the problem...
On our office computers we run Cortex Traps agents, for some reason this agent flags and kills the go run process when the project is using statviz.
I'm sorry for raising a false issue and thank you for your help.
from statsviz.
Related Issues (20)
- Why do not support go1.19 HOT 1
- Nothing more than just JS errors HOT 5
- [feature] allow to hide plots or plot groups HOT 2
- [research] Investigate if we can get faster heatmap rendering
- Maybe it can be compatible with non-websocket mode? Some CDNs do not allow websocket connections. HOT 11
- Dynamic graphs registration HOT 2
- statsviz.TimeSeries.GetValue is called multiple times per second HOT 3
- Behaviour when stats value is NaN or infinite
- [ui] improve colorscale of the sizeClasses heatmap HOT 1
- Time incoming stats server side, rather than client side. HOT 1
- On firefox, all graphs are in-line HOT 3
- [Question] Custom metrics implementation questions HOT 6
- [Question] import/export metrics from/to external tsdb ? HOT 3
- [Bug] /debug/statsviz/tippy-bundle.umd.min.js.map 404 HOT 3
- [doc] add beego example? HOT 1
- [bug] beego run statsviz has a javascript error HOT 5
- js error HOT 3
- ui not show HOT 4
- [doc] add issues and pull-request templates
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 statsviz.