GithubHelp home page GithubHelp logo

Comments (5)

benweint avatar benweint commented on July 20, 2024

Hi @PetrKaleta - thanks for reporting this!

The backtrace in sidekiq/sidekiq#1823 doesn't make much sense, and there are multiple calls to methods called duration, none of which immediately seems like the obvious culprit here, so a bit more information from you would be helpful in tracking this down:

  1. How consistently does this happen (as a percentage of all of your jobs, what number appear to be affected?)
  2. If this only affects a subset of jobs, do you notice anything about that subset that separates it from the rest of your jobs (for example, jobs only jobs that make HTTP requests appear to be affected)?
  3. If it happens frequently enough, are you able to grab your Heroku logs around an occurrence? If there's an upstream error in the agent that's being masked, it should show up in your Heroku logs.

We'll keep digging as well and let you know if we find anything.

Thanks again, and sorry for the trouble!
Ben

from newrelic-ruby-agent.

benweint avatar benweint commented on July 20, 2024

Hmm, I also notice that honeybadger's gem has a Sidekiq middleware that will end up calling a method called duration.

Given the backtrace, I lean towards agreeing with Mike's comment that it looks like it might be something after New Relic in the middleware chain.

Given this, could you maybe try disabling or removing newrelic_rpm in order to confirm whether the problem goes away without us? If it persists, then honeybadger might be the next place to investigate.

from newrelic-ruby-agent.

benweint avatar benweint commented on July 20, 2024

Hi @PetrKaleta - have you had a chance to look into this any more?

We're still not able to reproduce this issue, and any additional info you can provide would be helpful - either answers to any of the questions above, or the results of an experiment where you disable the Ruby agent in your Sidekiq workers (you can easily do this for just your Sidekiq workers by setting the NEW_RELIC_AGENT_ENABLED environment variable to false).

Thanks!

from newrelic-ruby-agent.

PetrKaleta avatar PetrKaleta commented on July 20, 2024

Hey guys, sorry for delayed response. This crash happened just once, was caught by Honeybadger, I sent you whole stack trace that I was able to grab from it.

Job that crashed was doing HTTP call to 3rd party service and parsing its response using nokogiri.

from newrelic-ruby-agent.

justinfoote avatar justinfoote commented on July 20, 2024

We are closing this issue due to age. If this issue is still a problem, please open a new issue, reach out on the New Relic Explorers Hub or contact Support.

Thank you!

from newrelic-ruby-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.