Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash after running for several days

See original GitHub issue

Issue Description

vaping version: 1.4.2 pypy version: 7.3.5 (python 3.7.10) fping version: 3.10

vaping config:

  - name: latency
    type: std_fping
      - prometheus
        - host:
          name: Cloudflare DNS
        # few internal hosts omitted
  - name: std_fping
    type: fping
    count: 10
    interval: 3s
      - 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'
PidFile <pid.posix.PidFile object at 0x00007fe8501e2560> closing pidfile: /root/
vaping.daemon stopping prometheus
vaping.daemon stopping latency
PidFile <pid.posix.PidFile object at 0x00007fe8501e2560> closing pidfile: /root/

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:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

mattlancommented, Oct 20, 2021

Just as an update… so far so good after patching the prometheus plugin.

simonlindbergcommented, Oct 13, 2021

No, the implementation emit in also extracts each element of the "data" list just as The problem here is that the third party plugin that you are using is reimplementing emit and is thereby totally ignoring my patch.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found