This repository was archived by the owner on Feb 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 492
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
bosun becomes unresponsive #1753
Copy link
Copy link
Closed
Description
dieter@ziggurat:~$ /usr/sbin/bosun --version
bosun version 0.5.0-rc3 (e69b9e71ad635705370b74000730d3e1a09e6e1d) built 2016-05-16T16:35:48Z
so we have nginx in between, which just has localhost:8070 as an upstream:
2016/05/25 05:34:57 [error] 11207#0: *792732 connect() failed (111: Connection refused) while connecting to upstream, client: 162.243.158.119, server: bosun.raintank.io, request: "GET /api/alerts?filter= HTTP/1.1", upstream: "http://[::1]:8070/api/alerts?filter=", host: "bosun.raintank.io"
2016/05/25 05:34:57 [error] 11216#0: *792727 connect() failed (111: Connection refused) while connecting to upstream, client: 52.63.29.76, server: bosun.raintank.io, request: "GET /api/alerts?filter= HTTP/1.1", upstream: "http://[::1]:8070/api/alerts?filter=", host: "bosun.raintank.io"
it's running:
root@ziggurat:/var/log/nginx# netstat -nlp | grep 8070
tcp 0 0 127.0.0.1:8070 0.0.0.0:* LISTEN 24887/bosun
... but this gets "stuck"
root@ziggurat:/var/log/nginx# curl 'http://localhost:8070/api/alerts?filter='
i was able to get a stackdump without a hitch (while the above curl was running):
curl 'http://localhost:8070/debug/pprof/goroutine?debug=1' > goroutines.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19782 0 19782 0 0 865k 0 --:--:-- --:--:-- --:--:-- 878k
i uploaded it to https://gist.github.com/Dieterbe/a86e6907418accf8ec7ef5b2c46732dc
krish7919
Metadata
Metadata
Assignees
Labels
No labels