Giter Site home page Giter Site logo

Comments (2)

lemon2015 avatar lemon2015 commented on May 18, 2024

在使用RabbitMQ作为消息队列的时候,队列中有大量的消息。相关进程在消费队列中的消息一段时间后,staticWorker与dynamicWorker进程都一直存在,但却不在继续消费消息,导致队列中的任务大量的积攒。请问这个是什么原因呢?

有尝试过try catch 异常么? 有时候下游消费异常,无法处理的话,有可能导致这样,可以在消费入口处,接一下下游的异常,然后exit。

from swoole-jobs.

kcloze avatar kcloze commented on May 18, 2024

重启是否有效?多半是因为业务代码有异常

from swoole-jobs.

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.