Crash after running for several days
See original GitHub issueIssue Description
vaping version: 1.4.2 pypy version: 7.3.5 (python 3.7.10) fping version: 3.10
vaping config:
probes:
- name: latency
type: std_fping
output:
- prometheus
testing_hosts:
hosts:
- host: 1.1.1.1
name: Cloudflare DNS
# few internal hosts omitted
plugins:
- name: std_fping
type: fping
count: 10
interval: 3s
output:
- prometheus
- name: prometheus
type: prometheus
port: 9090
After running fine for several days, crashes and outputs the following exception:
vaping.daemon 'NoneType' object has no attribute 'get' daemon.py:214
PidFile <pid.posix.PidFile object at 0x00007fe8501e2560> closing pidfile: /root/vaping.pid base.py:220
vaping.daemon stopping prometheus daemon.py:254
vaping.daemon stopping latency daemon.py:254
PidFile <pid.posix.PidFile object at 0x00007fe8501e2560> closing pidfile: /root/vaping.pid base.py:220
Has currently happened twice now, but since I normally redirect all the debug output (due to #88) I was not able to get the exception output for the prior crash. Restarted it again and will continue logging the debug output for now.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
How do I stop crashing after running? - Reddit
It's normal to feel tired after a good session imo, but just keep busy. Go for a bit of a walk to stretch...
Read more >Runner's High to a Mood Crash: How to Smooth out the Fall
You need recovery to stabilize, so instead fill your days with things that make you feel good to help offset any lingering negative...
Read more >Adrenal Fatigue Crash and Recovery Cycle
A crash can take one day to a few months, so instead of trying to will it to end, it's better to focus...
Read more >7 Possible Causes of Crashing Fatigue (and How to Fix It)
Dehydration may be the leading cause of crashing fatigue. Many people suffer from dehydration because they only drink when they are thirsty.
Read more >Does your body crash after running - MyFitnessPal Community
I think you need to add lean protein to your after run meal (no more than 30 minutes later). Try it for a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just as an update… so far so good after patching the prometheus plugin.
No, the implementation
emit
in init.py also extracts each element of the"data"
list just asprometheus.py
. The problem here is that the third party plugin that you are using is reimplementingemit
and is thereby totally ignoring my patch.